{"repo":"danfimov/taskiq-postgres","free":true,"listed":false,"github":"https://github.com/danfimov/taskiq-postgres","clone":"git clone https://github.com/danfimov/taskiq-postgres.git","description":"PostgreSQL integration for Taskiq with support for asyncpg, psycopg, psqlpy and aiopg drivers.","language":"Python","stars":25,"topics":["postgresql","taskiq","taskiq-broker","taskiq-result-backend"],"license":"MIT","category":"databases-storage","readme_excerpt":"&style=for-the-badge) 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: Quick start Basic task processing 1. Define your broker with asyncpg: 2. Start a worker to process tasks (by default taskiq runs two instances of worker): 3. Run broker example.py file to send a task to the worker: Your experience with other drivers will be pretty similar. Just change the import statement and that's it. Task scheduling 1. Define your broker and schedule source: 2. Start worker processes: 3. Run scheduler process: Motivation There are too many libraries for PostgreSQL and Taskiq integration. Although they have different view on interface and different functionality. To address this issue I created this library with a common interface for most popular PostgreSQL d","default_branch":null,"files":null,"tree":[],"storefront":"/r/danfimov","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/danfimov/taskiq-postgres/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}