
I wrote a Python library at 16. Here are 5 things I'd fix in the async rewrite
My first Python library has nearly 500 GitHub stars. To get a track's name out of it, you wrote...
Tag archive

My first Python library has nearly 500 GitHub stars. To get a track's name out of it, you wrote...
A WebSocket feed that needs no API key, an asyncio.Queue as the callback sink, timeouts and clean shutdown. Runnable against a public network.
🧵 Concurrency Patterns & Async Primitives in Python: Let's Learn from ZERO! If you're...
Picture a small shop dashboard on a Monday morning. Before the first order ships, someone has to...
A sequential loop adds up every request's waiting time. asyncio.gather runs them concurrently, and Semaphore keeps you from overwhelming the partner API.
This article provides practical guidance on building reliable background jobs in Python, including examples and common pitfalls to avoid.

Every call that ended in silence was vanishing. No transcript. No recording. And the session sat in...
AI disclosure: this article, the code it corrects, and the fix described in it were all written and...
You wrapped five calls in asyncio.gather(), expecting them to finish in about the time of the slowest...
aiokafka is the asyncio Kafka client for Python, maintained by the aio-libs community. It implements...
A buyer pays 100 Stars, Telegram takes them, and the bot replies to the payment message with "Sorry,...

Calling a model 100 times one by one is painfully slow. This post explains I/O-bound versus CPU-bound work, the GIL, threads, processes, and asyncio in plain language, then builds an async batch caller with limits, timeouts, and retries.