Skip to main content

vercel-dramatiq-bundle

This is a version of vercel-dramatiq with third-party dependencies bundled. For normal use, install the unbundled vercel-dramatiq package instead: https://pypi.org/project/vercel-dramatiq/

vercel-dramatiq

Dramatiq broker backed by Vercel Queue Service.

import dramatiq

from vercel.integrations.dramatiq import install_vercel_dramatiq_integration

install_vercel_dramatiq_integration()


@dramatiq.actor
def send_email(user_id: str) -> None: ...

The installer sets Dramatiq's global broker to VercelQueueBroker when no broker has been configured yet. Pass set_default_broker=False to opt out, or call dramatiq.set_broker(VercelQueueBroker(...)) directly when you need to construct the broker yourself.

The broker uses push delivery when VERCEL is truthy in the environment and poll delivery otherwise. Pass poll=False or poll=True to install_vercel_dramatiq_integration(...) to force a mode, or pass the same option to VercelQueueBroker(...) when constructing the broker yourself.

For Vercel push delivery, configure queue triggers for each declared queue and its Dramatiq delay queue. For example, the default Dramatiq queue maps to both the default topic and the sanitized default_DDQ delay topic. Retries and delayed messages are delivered through the delay queue topic.

Set VERCEL_DRAMATIQ_DEBUG=1 to enable debug logging for the integration and Dramatiq worker loggers.

The package is standalone and depends on vercel-queue and Dramatiq.

Release files for vercel-dramatiq-bundle 0.7.1

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

Source distribution (sdist)

Source distribution for vercel-dramatiq-bundle 0.7.1
File Size Uploaded
vercel_dramatiq_bundle-0.7.1.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vercel-dramatiq-bundle 0.7.1
File Interpreter ABI Platform
vercel_dramatiq_bundle-0.7.1-py3-none-any.whl Python 3 none any Details

Total release size: 18.2 kB

Release files / vercel_dramatiq_bundle-0.7.1.tar.gz

Download URL vercel_dramatiq_bundle-0.7.1.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a98f0ba7fa788ebc762f1af70083048019906dcdbe33f5742d14a8b3e8d3b078
BLAKE2b-256 checksum
How to use checksums
b1e3df37ca91c258c87a560dd71b3ca2f719e4b1d9a212a5d6940cca75c27c95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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_dramatiq_bundle-0.7.1-py3-none-any.whl

Download URL vercel_dramatiq_bundle-0.7.1-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0530ce07317dbae70a2725e92669a651b4b472717b2b13d186b3bbb3f348743d
BLAKE2b-256 checksum
How to use checksums
b80ac21a297447e152dd4045664cb179dc6252a4241ad88c58a47e898a0f0708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.1 {"installer":{"name":"uv","version":"0.12.1","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 history Release notifications | RSS feed

0.7.6

2 release files

0.7.3

2 release files

0.7.2

2 release files

This release

0.7.1 This release

2 release files

0.7.0

2 release 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