PostgreSQL integration for taskiq
Maintained. Last release 3 days ago, commits in 3 of the last 26 weeks. Weaker on commit activity and contributor spread.
pip install taskiq-postgresREADME as published on PyPI with version 0.11.0.
PostgreSQL integration for Taskiq with support for asyncpg, psqlpy, psycopg and aiopg drivers.
Features
- PostgreSQL Broker - high-performance message broker using PostgreSQL LISTEN/NOTIFY;
- Result Backend - persistent task result storage with configurable retention;
- Scheduler Source - cron-like task scheduling with PostgreSQL persistence;
- Multiple Drivers - support for asyncpg, psycopg3, psqlpy and aiopg;
- Flexible Configuration - customizable table names, field types, and connection options;
- Multiple Serializers - support for different serialization methods (Pickle, JSON, etc.).
See usage guide in documentation or explore examples in separate directory.
Installation
Depending on your preferred PostgreSQL driver, you can install this library with the corresponding extra:
# with asyncpg
pip install taskiq-postgres[asyncpg]
# with psqlpy
pip install taskiq-postgres[psqlpy]
# with psycopg3
pip install taskiq-postgres[psycopg]
# with aiopg
pip install taskiq-postgres[aiopg]
