{"categories":[{"label":"Monitoring","url":"https://skillfed.io/packages/category/system-monitoring/4"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/3"},{"label":"Debuggers","url":"https://skillfed.io/packages/category/software-development-debuggers"}],"enrichment":{"capability":"Detects and logs blocking I/O and CPU calls in asyncio code using Python's sys.audit hooks, helping you identify where your event loop is being frozen.","skillfed_tags":["asyncio-debugging","event-loop-profiling","production-monitoring"],"use_cases":["Detect blocking file I/O (open, read, write) in async handlers before they reach production.","Monitor long-running async tasks in web services to find where event loop delays originate.","Enforce async best practices in CI/CD by raising exceptions on blocking calls during test runs.","Debug performance issues in uvloop-based applications by pinpointing blocking calls with stack traces.","Integrate with monitoring systems (Datadog, Prometheus) to track blocking events and severity over time."],"what_it_does":"aiocop is a non-intrusive monitoring tool for asyncio and uvloop that catches blocking I/O and CPU calls that freeze your event loop. It wraps the event loop's scheduling methods and uses Python's sys.audit hooks to detect when blocking functions like open(), network calls, or subprocess operations run in async code, then captures the full stack trace to show you exactly where the problem is.\n\nThe tool is designed for production use with minimal overhead (approximately 13 microseconds per task). You register callbacks to handle detected blocking events, can enable or disable monitoring at runtime, and optionally raise exceptions on high-severity violations during development or testing. It works with both standard asyncio and uvloop, and integrates into ASGI frameworks like FastAPI.","worth_installing":"Yes. It solves a real problem (finding blocking calls in asyncio code) with low overhead, no runtime dependencies, and a permissive license. Active maintenance, Production/Stable status, and zero known vulnerabilities. Suitable for both development debugging and production monitoring. Install if you run asyncio or uvloop and want to catch event loop freezes early."},"id":"aiocop","links":{"html":"https://skillfed.io/packages/aiocop","md":"https://skillfed.io/packages/aiocop.md","pypi":"https://pypi.org/project/aiocop/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-20","license_spdx":null,"license_treatment":"permissive","name":"aiocop","python_support":"supports_current","summary":"Non-intrusive monitoring for Python asyncio and uvloop. Detects, pinpoints, and logs blocking IO and CPU calls that freeze your event loop."},"popularity":{"monthly_downloads":145017,"position":11138,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.1.5"}
