Installation¶
Requirements¶
- Python 3.9+
- pip
Install from PyPI¶
Install from Source¶
Verify Installation¶
Fast Event Loop (Automatic)¶
AntFlow automatically installs the fastest available event loop on import:
No configuration needed. Just import antflow and the fast loop is active. If for some reason neither package is importable, AntFlow falls back to the standard asyncio loop without error.
Optional Dependencies¶
Development Tools¶
Install development dependencies for testing and linting:
This includes: - pytest and pytest-asyncio for testing - mypy for type checking - ruff for linting
Documentation Tools¶
Install documentation dependencies to build the docs locally:
This includes: - MkDocs and Material theme - mkdocstrings for API documentation generation