django-spec-tasks
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.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| django_spec_tasks-0.3.0.tar.gz | 223.5 kB | With provenance | Details for django_spec_tasks-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| django_spec_tasks-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for django_spec_tasks-0.3.0-py3-none-any.whl |
Total release size: 260.1 kB
Release files / django_spec_tasks-0.3.0.tar.gz
| Download URL | django_spec_tasks-0.3.0.tar.gz |
|---|---|
| Size | 223.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8b0a636f318b21382dcfa2c844b4d97efa6ee9dcf13d5eedaa12c1baa2973ce3
|
|
BLAKE2b-256 checksum How to use checksums |
020c0e5dcd0c424101daa13c0e0e8686e765e7dc57db794372123d4f01761cb6
|
| 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 Dec 2, 2026.
Transparency logRelease files / django_spec_tasks-0.3.0-py3-none-any.whl
| Download URL | django_spec_tasks-0.3.0-py3-none-any.whl |
|---|---|
| Size | 36.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ca9d05e2638e77d3f8228792ac2d9d51a2b1f97f8a13e562472f6bf52fa37e0f
|
|
BLAKE2b-256 checksum How to use checksums |
81419e9b23ab7e00f4153d904140f71d847fd6caa806fd7ae4d6b194ea5513b8
|
| 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 Dec 2, 2026.
Transparency logSecurity for django-spec-tasks 0.3.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.
Attestation for django_spec_tasks-0.3.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 Dec 2, 2026.
Transparency logA 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.