Aio Fluid
Async utilities for backend python services developed by Quantmind.
Documentation: fluid.quantmind.com
Source Code: github.com/quantmind/aio-fluid
- Async workers: workers with start/stop capabilities.
- Async tasks scheduler and consumer: A task scheduler and consumer for async and CPU bound tasks.
- Async CRUD database operations: An async CRUD interface for postgres databases.
This is a python package you can install via pip:
pip install aio-fluid
To install all the dependencies:
pip install aio-fluid[cli, db, http, log]
this includes the following extra dependencies:
cli
for the command line interface using click and richdb
for database support with asyncpg and sqlalchemyhttp
for http client support with httpx and aiohttplog
for JSON logging support with python-json-loggerk8s
for Kubernetes support for CPU bound tasks
You can run the examples via
poetry run python -m examples.main