pgmq-sqlalchemy¶
PGMQ Postgres extension Python client supporting SQLAlchemy ORM .
Features¶
Supports async and sync
engines,sessionmakers, or directly constructed fromdsn.- Supports all Postgres DBAPIs supported by
SQLAlchemy. Examples:
psycopg,psycopg2,asyncpg
- Supports all Postgres DBAPIs supported by
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.