janbjorge/pgqueuer
PostgreSQL-backed background job and task queue for Python. observed · 2026-08-28
Health v2 · maintenance only
86/100
- Activity 99
- Release rhythm 83
- Longevity 61
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 5.0
- age_days: 866
- days_rel: 37
- days_push: 10
- n_releases_24m: 69
Adoption not part of the score
1519 stars · 35 forks observed · 2026-08-28
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-08-28 · 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 | 86 |
For agents
markdown · JSON · MCP: product_card(name="janbjorge/pgqueuer")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem