·python-async-patterns
</>

python-async-patterns

clostaunau/holiday-card

Python 异步/等待模式、最佳实践和反模式的综合指南。涵盖 asyncio 基础知识、协程、异步上下文管理器、任务管理、公共库(aiohttp、aiofiles、asyncpg)、框架集成(FastAPI、Django)、性能注意事项和正确的异常处理。在查看或编写异步 Python 代码时使用。

5安装·0热度·@clostaunau

安装

$npx skills add https://github.com/clostaunau/holiday-card --skill python-async-patterns

SKILL.md

This skill provides comprehensive guidance on Python asynchronous programming patterns for reviewing and writing async code. It covers async/await syntax, best practices, common patterns, anti-patterns, and framework-specific considerations.

Asynchronous programming in Python enables efficient I/O-bound operations by allowing the event loop to switch between tasks while waiting for I/O operations to complete. However, async code introduces complexity and has specific patterns and pitfalls that must be understood for correct implementation.

Python 异步/等待模式、最佳实践和反模式的综合指南。涵盖 asyncio 基础知识、协程、异步上下文管理器、任务管理、公共库(aiohttp、aiofiles、asyncpg)、框架集成(FastAPI、Django)、性能注意事项和正确的异常处理。在查看或编写异步 Python 代码时使用。 来源:clostaunau/holiday-card。

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/clostaunau/holiday-card --skill python-async-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

查看原文

可引用信息

为搜索与 AI 引用准备的稳定字段与命令。

安装命令
npx skills add https://github.com/clostaunau/holiday-card --skill python-async-patterns
分类
</>开发工具
认证
收录时间
2026-02-01
更新时间
2026-02-18

快速解答

什么是 python-async-patterns?

Python 异步/等待模式、最佳实践和反模式的综合指南。涵盖 asyncio 基础知识、协程、异步上下文管理器、任务管理、公共库(aiohttp、aiofiles、asyncpg)、框架集成(FastAPI、Django)、性能注意事项和正确的异常处理。在查看或编写异步 Python 代码时使用。 来源:clostaunau/holiday-card。

如何安装 python-async-patterns?

打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/clostaunau/holiday-card --skill python-async-patterns 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用

这个 Skill 的源码在哪?

https://github.com/clostaunau/holiday-card