{"repo":"jason810496/pgmq-sqlalchemy","free":true,"listed":false,"github":"https://github.com/jason810496/pgmq-sqlalchemy","clone":"git clone https://github.com/jason810496/pgmq-sqlalchemy.git","description":"More flexible PGMQ Postgres extension Python client that using SQLAlchemy ORM, supporting both async and sync engines, sessionmakers or built from dsn.","language":"Python","stars":29,"topics":["message-queue","pgmq","python-package","python-postgresql","sqlalchemy","postgresql"],"license":"MIT","category":"databases-storage","readme_excerpt":"pgmq-sqlalchemy More flexible PGMQ Postgres extension Python client that using sqlalchemy ORM , supporting both async and sync engines , sessionmakers or built from dsn . Table of Contents pgmq-sqlalchemy Features Installation Getting Started Postgres Setup Usage Transaction Usage FastAPI Pub/Sub Example with tests Issue/ Contributing / Development TODO Features - Supports async and sync engines and sessionmakers , or built from dsn . - Supports all postgres DBAPIs supported by sqlalchemy . e.g. psycopg , psycopg2 , asyncpg .. See SQLAlchemy Postgresql Dialects - Transaction-friendly operations via the op module for combining PGMQ with your business logic in the same transaction. - Fully tested across all supported DBAPIs in both async and sync modes. - Battle-tested with real-world FastAPI Pub/Sub examples and corresponding tests . Installation Install with pip: Install with additional DBAPIs packages: Getting Started Postgres Setup Prerequisites: Postgres with PGMQ extension installed. For quick setup: For more information, see PGMQ Usage [!NOTE] Check pgmq-sqlalchemy Document for more examples and detailed usage. For dispatcher.py : For consumer.py : For monitor.py : Transaction Usage Use the op module to combine PGMQ operations with your business logic in a single transaction: See Transaction Usage Documentation for more examples. FastAPI Pub/Sub Example with tests See the FastAPI Pub/Sub Example for a complete example of using pgmq-sqlalchemy in a FastAPI application wit","default_branch":null,"files":null,"tree":[],"storefront":"/r/jason810496","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jason810496/pgmq-sqlalchemy/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."}