vercel-django-tasks
Django task backend backed by Vercel Queue Service. The installer uses
VercelQueuesBackend as Django's default task backend when no TASKS
backends are configured and registers generated queue subscribers.
Register push subscribers during application startup:
from vercel.integrations.django import install_vercel_django_task_integration
install_vercel_django_task_integration()
No TASKS setting is required. Configure one explicitly to customize the
backend or to use a different backend:
TASKS = {
"default": {
"BACKEND": "vercel.integrations.django.VercelQueuesBackend",
"QUEUES": ["default"],
"OPTIONS": {
"result_namespace": "django-task-results",
"result_ttl_seconds": 86400,
},
},
}
Declare the module that loads your Django application in pyproject.toml so
Vercel generates a queue subscriber function:
[[tool.vercel.subscribers]]
entrypoint = "my_project.wsgi"
No manual queue endpoint is required.
Task result state is stored in Vercel Runtime Cache. Results are cache-backed
and expire according to result_ttl_seconds; they are not durable storage.
This package depends on Django, vercel-queue, and vercel-cache.
Metadata
Release files for vercel-django-tasks 0.7.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| vercel_django_tasks-0.7.3.tar.gz | 8.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vercel_django_tasks-0.7.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.2 kB
Release files / vercel_django_tasks-0.7.3.tar.gz
| Download URL | vercel_django_tasks-0.7.3.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5fa7bc2a5a122057d5097a04a56ca19ecca3f41a813f37d79a1a2560b465f336
|
|
BLAKE2b-256 checksum How to use checksums |
bc6dc5a15c9467ad0d1696d6b668a1c58631b8833adc9df73512e7bf6346f1aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / vercel_django_tasks-0.7.3-py3-none-any.whl
| Download URL | vercel_django_tasks-0.7.3-py3-none-any.whl |
|---|---|
| Size | 8.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a2cf9ded6869c1273aee62f0fca6adf295c52e929f9d0bd30f56f64454d2562
|
|
BLAKE2b-256 checksum How to use checksums |
5465c492567c9796eb408c0fc1981801d29cbb12d9db0431c849d96926257e2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|