Python Async Patterns
ListedHelps with Python, patterns as part of developing backend services and APIs workflows.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add clostaunau/holiday-card --skill python-async-patterns -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
clostaunau
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: jsonplaceholder.typicode.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
jsonplaceholder.typicode.comundeclaredWhat it found
- .claude/skills/python-async-patterns/examples/fastapi-async-example.py:321contacts jsonplaceholder.typicode.com
url = f"https://jsonplaceholder.typicode.com/posts/{post_id}" - .claude/skills/python-async-patterns/examples/fastapi-async-example.py:349contacts jsonplaceholder.typicode.com
external_task1 = session.get("https://jsonplaceholder.typicode.com/posts/1") - .claude/skills/python-async-patterns/examples/fastapi-async-example.py:350contacts jsonplaceholder.typicode.com
external_task2 = session.get("https://jsonplaceholder.typicode.com/posts/2")
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned clostaunau/holiday-card at d7c92b29e8.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- d7c92b29e8
- Scanned
- 6 files, 2,721 lines
About this skill
What it does
This skill provides Python code snippets demonstrating asynchronous programming patterns. It allows for concurrent execution of tasks, improving performance in I/O bound applications. The skill focuses on practical examples and best practices for writing efficient and readable asynchronous code.
When to use it
- Building a web server: Implement non-blocking request handling to serve multiple clients concurrently.
- Data processing pipelines: Parallelize data fetching and transformation steps for faster overall execution.
- Real-time applications: Handle numerous concurrent connections in chat servers or game backends.
- I/O intensive tasks: Speed up operations involving network requests, file reads/writes, or database queries.
Key capabilities
- Asynchronous function definitions using
asyncandawait. - Event loop management for scheduling and running coroutines.
- Concurrency primitives like
asyncio.Semaphorefor resource control. - Example code demonstrating common asynchronous patterns.
Example prompts
- "Show me an example of how to use asyncio.gather to run multiple tasks concurrently."
- "Generate a Python function that uses async/await to fetch data from two URLs in parallel."
- “How can I implement rate limiting using
asyncio.Semaphore?”
Tips & gotchas
- Requires a basic understanding of Python and asynchronous programming concepts.
- The skill provides code snippets; you may need to adapt them to your specific project's context.