Skip to main content

nexus-queue

Portable worker runtime for the Nexus-Queue standard: taskiq + Redis Streams, domain-agnostic, ports-and-adapters. One project builds queues the same way as the next, and a worker's handlers move between projects unchanged.

What this package owns (the parts that are the same across projects):

  • Namespaced streamsnq:{project}:{queue} (+ :cg, :dlq) and nq:{project}:status, so multiple projects/queues coexist on one Redis (the default global "taskiq" stream is never used).
  • Versioned envelope — standard labels (nq_v, nq_task, nq_tenant, nq_idem, nq_trace, nq_enqueued_at, nq_priority) on top of taskiq's message, plus typed pydantic payloads.
  • PortsJobStatePort, BlobStorePort, IndexPort, StatusEventPort. Handlers depend only on these; each project supplies the adapters (e.g. Payload vs Postgres/MinIO).
  • Middleware stack (broker-level): idempotency (dedup on nq_idem), DLQ (dead-letter on retry-exhaustion instead of silent drop), retries with exponential backoff + jitter, OTel tracing (nq_trace propagation), and Prometheus metrics.
  • Producer + kicker — a Python Publisher and a generic HTTP kicker for non-Python producers. The TypeScript producer client ships as @zetesis/nexus-queue.

Spec: nexus-queue-spec.md.

Released via release-please on every conventional commit to main (scope nexus-queue).

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nexus_queue-0.1.5.tar.gz (42.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nexus_queue-0.1.5-py3-none-any.whl (23.1 kB view details)

Uploaded Python 3

File details

Details for the file nexus_queue-0.1.5.tar.gz.

File metadata

  • Download URL: nexus_queue-0.1.5.tar.gz
  • Upload date:
  • Size: 42.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nexus_queue-0.1.5.tar.gz
Algorithm Hash digest
SHA256 ceee2e0775e420b02076943e3f16df03b016b733e4845417bde009d2d4425666
MD5 a8b2a1a4b5357a5c6c8640117987f04c
BLAKE2b-256 64bef7b376cb6ca80df6ed48c7be6faf01695612b2bee51d13c99a492f970e5a

See more details on using hashes here.

Provenance

The following attestation bundles were made for nexus_queue-0.1.5.tar.gz:

Publisher: release-please.yml on Zetesis-Labs/PayloadAgents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nexus_queue-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: nexus_queue-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 23.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for nexus_queue-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 52b1444e4a650dcf24f1a4a5ec637781cccbd36b34c671da55ae3f7b2f5fabe8
MD5 2408c567f1ab7331156dfdd3c47cb173
BLAKE2b-256 7cfaf9d085410e9a9cac442a923d10a9a26b25b3e54e559f5b27992790bbfef9

See more details on using hashes here.

Provenance

The following attestation bundles were made for nexus_queue-0.1.5-py3-none-any.whl:

Publisher: release-please.yml on Zetesis-Labs/PayloadAgents

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.5 This release

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page