Installation¶
Requirements¶
- Python 3.10 or higher
- No additional dependencies required
- uvloop (optional): aiocop works with both standard asyncio and uvloop out of the box
Install from PyPI¶
The recommended way to install aiocop is from PyPI:
Using uv (recommended)¶
Using pip¶
Using poetry¶
Install from Source¶
For development or to get the latest changes:
Clone and install¶
Install with test dependencies¶
Download tarball¶
curl -OJL https://github.com/Feverup/aiocop/tarball/master
tar -xzf aiocop-master.tar.gz
cd aiocop-master
uv pip install .
Verify Installation¶
After installation, verify aiocop is working:
import aiocop
print(f"aiocop version: {aiocop.__version__}")
print(f"Available functions: {len(aiocop.get_blocking_events_dict())} blocking events monitored")
Next Steps¶
- Quick Start - Get started in 5 minutes
- User Guide - Learn all features