Master Python asyncio, concurrent programming, and async/await patterns for high-performance applications. Use when building async APIs, concurrent systems, or I/O-bound applications requiring non-blocking operations.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Async Python Patterns
Comprehensive guidance for implementing asynchronous Python applications using asyncio, concurrent programming patterns, and async/await for building high-performance, non-blocking systems.
## When to Use This Skill
- Building async web APIs (FastAPI, aiohttp, Sanic)
- Implementing concurrent I/O operations (database, file, network)
- Creating web scrapers with concurrent requests
- Developing real-time applications (WebSocket servers, chat systems)
- Processing multiple independent tasks simultaneously
- Building microservices with async communication
- Optimizing I/O-bound workloads
- Implementing async background tasks and queues
## Core Concepts
### 1. Event Loop
The event loop is the heart of asyncio, managing and scheduling asynchronous tasks.
**Key characteristics:**
- Single-threaded cooperative multitasking
- Schedules coroutines for execution
- Handles I/O operations without blocking
- Manages callbacks and futures
### 2. Coroutines
Functions defined with `async def` that can be paused and resumed.
**Syntax:**
```python
async def my_coroutine():
result = await some_async_operation()
return result
```
### 3. Tasks
…
The line at the top of this page pins the label git:20251120.50bf83d, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_i2ux6mnxhruooa7d
GET https://markdownregistry.com/api/v1/resolve?ref=hermeticormus/claude-code-game-development/async-python-patterns
GET https://markdownregistry.com/api/v1/blob/7384a4ef4be9a0cbcee5090ec6580e7d436c638adf1daa9cefaafb3cb67eca70
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
hermeticormus/claude-code-game-development · .grok/skills/verify-claude-code-game-development/SKILL.md · Install the claude-code-game-development plugin pack the way a user does, into a clean Claude Code config and a clean…
hermeticormus/claude-code-game-development · plugins/audio-systems/skills/audio-patterns/SKILL.md · Game audio code patterns: a Godot bus layout, an audio player pool, randomized one-shot playback, vertical-remix…
hermeticormus/claude-code-game-development · plugins/backend-development/skills/api-design-principles/SKILL.md · Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight…
hermeticormus/claude-code-game-development · plugins/backend-development/skills/temporal-python-testing/SKILL.md · Test Temporal workflows with pytest, time-skipping, and mocking strategies. Covers unit testing, integration testing…
hermeticormus/claude-code-game-development · plugins/blockchain-web3/skills/defi-protocol-templates/SKILL.md · Implement DeFi protocols with production-ready templates for staking, AMMs, governance, and lending systems. Use when…