Package-level reference for anyio on PyPI — install, version policy, task groups, cancel scopes, and the API that runs identically on asyncio and trio.
Package-level reference for FastAPI on PyPI — install variants, version policy, the `[all]` extra, ecosystem companions, and alternatives.
Package-level reference for httpx on PyPI — install variants, version policy, extras, transport options, and alternatives.
Package-level reference for Litestar on PyPI — install variants, version policy, the `[full]` extra, ecosystem companions, and alternatives.
Package-level reference for semantic-kernel on PyPI — install variants, the Python vs .NET split, provider extras, and alternative frameworks.
Package-level reference for tqdm on PyPI — install variants, notebook extra, version policy, and alternatives.
The Anthropic Message Batches API — create, poll, retrieve, and stream results at 50% off list price for asynchronous bulk processing of thousands of Claude requests.
Streaming responses from the Anthropic API — server-sent events, event types, async iteration in Python and TypeScript, partial tool input, error handling, and retry strategies.
Build high-performance async REST APIs with FastAPI. Covers path params, request bodies, Pydantic models, dependency injection, and auto-generated OpenAPI docs.
Make sync and async HTTP requests with httpx. Covers GET/POST, async usage, HTTP/2, streaming, and how it compares to requests.
Add auto-updating progress bars to any Python loop or CLI pipeline with tqdm. Covers iterables, manual updates, pandas integration, nested bars, async, Jupyter, and byte-piping.
async/await syntax, error handling, parallel execution with Promise.all, sequential vs parallel loops, top-level await, AbortController, and common mistakes.
JavaScript Promises represent the eventual completion or failure of an async operation. Covers states, chaining, combinators, callback conversion, AbortController, and common anti-patterns.
Write concurrent Python code with asyncio. Covers coroutines, asyncio.run, gather, create_task, timeouts, queues, and avoiding the blocking-call pitfall.
navigation
actions
cheat sheet pages