Skip to main content

django-spec-tasks

CI PyPI Python versions Django versions Docs Coverage Ruff License

Run a django-service-specs spec as a background task: a durable run record, and a worker that re-checks through dispatch.

pip install "django-spec-tasks[celery]"        # or
pip install "django-spec-tasks[django-tasks]"  # the backport, below Django 6.0
from django_spec_tasks import TaskBinding, enqueue, read_run
from django_spec_tasks.backends.celery_backend import CeleryBackend

orders = TaskBinding(name="orders", registry=order_specs, backend=CeleryBackend())

run_id = enqueue(orders, "refund_order", {"order": "7"}, actor=request.user)
status = read_run(orders, run_id, request.user)

The queue decides where the code runs; the row decides whether it ran. A backend may lose a message or deliver it twice without consequence, which is what lets one protocol hold Celery and Django Tasks.

Read the documentation.

Metadata

Release files for django-spec-tasks 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-spec-tasks 0.1.0
File Size Uploaded Provenance Actions
django_spec_tasks-0.1.0.tar.gz 211.6 kB With provenance Details for django_spec_tasks-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-spec-tasks 0.1.0
File Interpreter ABI Platform Actions
django_spec_tasks-0.1.0-py3-none-any.whl Python 3 none any Details for django_spec_tasks-0.1.0-py3-none-any.whl

Total release size: 250.5 kB

Release files / django_spec_tasks-0.1.0.tar.gz

Download URL django_spec_tasks-0.1.0.tar.gz
Size 211.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c330a73829d11ee52a3b9f90a95e0a43648bc71c57301a2030e74b5b3fcaa42b
BLAKE2b-256 checksum
How to use checksums
e62e65e8bce7e855fe71a1354ff8aab5bb8d8a773572c4c165ed7daaddd20f8f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Release files / django_spec_tasks-0.1.0-py3-none-any.whl

Download URL django_spec_tasks-0.1.0-py3-none-any.whl
Size 38.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7d179299d00c20646bfb749c09aa21a3c14d9c3c47ed893379778a4a8b83fa18
BLAKE2b-256 checksum
How to use checksums
a9c83511df11a15ec26657ebc2d2008031f8bc007da5e5547dd14d9e38bc82cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

Security for django-spec-tasks 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for django_spec_tasks-0.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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