{"library":"blockbuster","type":"library","category":null,"description":"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.","language":"python","status":"active","version":"1.5.26","tags":["async","block","detect","event loop","asyncio","testing","performance"],"last_verified":"Wed May 20","install":[{"cmd":"pip install blockbuster","imports":["from blockbuster import blockbuster_ctx","from blockbuster import BlockingError"]}],"homepage":null,"github":"https://github.com/cbornet/blockbuster","docs":null,"changelog":null,"pypi":"https://pypi.org/project/blockbuster/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.5,"avg_import_s":0.25,"wheel_type":"sdist"},"url":"https://checklist.day/v1/registry/blockbuster/compatibility"}}