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.2.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.2.0
File Size Uploaded Provenance Actions
django_spec_tasks-0.2.0.tar.gz 217.8 kB With provenance Details for django_spec_tasks-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 252.9 kB

Release files / django_spec_tasks-0.2.0.tar.gz

Download URL django_spec_tasks-0.2.0.tar.gz
Size 217.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fb7dd449ab8d8af57ea2544a801af1a3e933e94b20bf3ce16e1a6236c140fb6e
BLAKE2b-256 checksum
How to use checksums
386c5adcb512f095664417c032fa4090c8b24a6a272bf150c4415289919e3f76
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 14, 2026.

Transparency log

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

Download URL django_spec_tasks-0.2.0-py3-none-any.whl
Size 35.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db25e8f6fcbfcf1257bfa1dbfd6b41dedad21d3589c82dadd1f8d5430d223814
BLAKE2b-256 checksum
How to use checksums
0961bb204022a8a41d52149909059c35a02e2b6f5f5c75b54682fe5d7327d14b
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 14, 2026.

Transparency log

Security for django-spec-tasks 0.2.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.2.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 14, 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