Utility to detect blocking calls in the async event loop

JSON →
library 1.5.26 ·python
verified May 20, 2026

Blockbuster is a Python package designed to detect and prevent blocking calls within an asynchronous event loop. It's particularly useful during testing to ensure asynchronous code doesn't inadvertently perform blocking operations, which can cause performance bottlenecks. It works by monkey-patching common blocking functions and raising a `BlockingError` if called within an `asyncio` event loop. It currently only detects `asyncio` event loops and is tested with CPython.

total hits 23
actors 8 distinct systems
last hit 1d ago AhrefsBot
Script
3
ByteDance
3
GPTBot
2
PerplexityBot
1
Search engines
1
Humans
2

top countries 🇩🇪 Germany · 🇸🇬 Singapore · 🇺🇸 United States · 🇫🇷 France · 🇨🇦 Canada