janbjorge/pgqueuer
PostgreSQL-backed background job and task queue for Python. observed · 2026-10-18
Health v2 · maintenance only
88/100
- Activity 99
- Release rhythm 87
- Longevity 65
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-21. Adoption (stars, forks) is never an input.
- gap_med: 6.0
- age_days: 914
- days_rel: 9
- days_push: 6
- n_releases_24m: 63
Adoption not part of the score
1540 stars · 39 forks observed · 2026-10-18
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PgQueuer is a Python library that turns an existing PostgreSQL database into a background job and task queue using FOR UPDATE SKIP LOCKED and LISTEN/NOTIFY. It supports transactional enqueueing, cron-style recurring tasks, observability via Prometheus metrics and tracing, and an in-memory mode for testing.
Use cases
- run background jobs from a Python app without a separate message broker
- enqueue tasks in the same transaction as database writes
- schedule recurring cron-style jobs in PostgreSQL
- process emails or notifications asynchronously with asyncio workers
- add a job queue to an existing PostgreSQL stack with minimal infrastructure
- test job processing logic without a real database
When to choose
- you already run PostgreSQL and want a queue with no extra infrastructure
- you need transactional consistency between your data and enqueued jobs
- your workload fits a single PostgreSQL database and asyncio workers
- you want instant job dispatch via LISTEN/NOTIFY with a polling fallback
When to avoid
- you need very high throughput beyond what a single PostgreSQL instance can handle
- you require multi-broker features like complex routing or cross-region replication
- your stack does not use PostgreSQL or Python 3.10+
Facets
library · maturity active
message-queue scheduling workflow-automation monitoring databases backend developer-tools python windows postgresql asyncio job-queue task-queue background-jobs listen-notify skip-locked cron-scheduling prometheus-metrics automation linux macos docker
3 sources
- readme: https://github.com/janbjorge/pgqueuer · fetched 2026-10-18 · 3f9f16a2e65b
- homepage: https://janbjorge.github.io/pgqueuer/ · fetched 2026-08-29 · aa8ea5c0e2bc
- registry_pypi: https://pypi.org/pypi/pgqueuer/json · fetched 2026-08-29 · ffe636142e75
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| janbjorge/pgqueuer | main | 88 |
For agents
markdown · JSON · MCP: product_card(name="janbjorge/pgqueuer")
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem