vercel-workers
Python SDK for Vercel Workers
What it is and what it does
vercel-workers is a Python SDK that bridges your application to Vercel's queue and worker service infrastructure. It provides primitives for publishing messages to Vercel Queues and subscribing to them via decorators, plus drop-in adapters for existing task systems like Celery, Dramatiq, and Django. The package depends on httpx, anyio, pydantic, python-dotenv, and the vercel client library.
Typical usage involves defining a producer (e.g., a FastAPI endpoint) that publishes messages, and a worker service that consumes them. The SDK handles authentication via VERCEL_QUEUE_TOKEN and can be deployed as a Vercel Worker Service alongside your main application. It supports both direct message handling and integration with established task queue frameworks.
Use it for:
- Publish background tasks from a FastAPI or web service to Vercel Queues for asynchronous processing.
- Migrate existing Celery or Dramatiq task systems to Vercel infrastructure with minimal code changes.
- Implement Django task callbacks routed through Vercel's queue infrastructure.
- Build event-driven microservices that consume messages from Vercel Queues in dedicated worker services.
- Decouple request handling from long-running operations using the @subscribe decorator pattern.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Python SDK for publishing and consuming messages on Vercel Queues, with built-in adapters for Celery, Dramatiq, and Django task systems.
Yes, if you are building on Vercel and need a lightweight queue integration. The low install friction, recent maintenance, MIT license, and native support for popular task frameworks make it a practical choice. No, if you are not using Vercel or require a self-hosted queue solution—this SDK is tightly coupled to Vercel's infrastructure.
Install
vercel-workers on PyPI
pip
pip install vercel-workersuv
uv add vercel-workerspoetry
poetry add vercel-workersInstalling vercel-workers
Before you install
Low install friction with a pure Python wheel distribution. Marked as active with a recent release cycle (55 days since last update). Requires Python 3.12 or later.
License in practice
MIT license permits commercial and private use with minimal restrictions; suitable for most projects.
Quickstart
pip install vercel-workers
from vercel_workers import subscribe
@subscribe(topic="default")
def handle_message(body: dict):
print(body)
Requires Python 3.12 or later. Running outside Vercel requires VERCEL_QUEUE_TOKEN environment variable.
Verify before relying
- Whether the package is actively maintained by Vercel or community-driven (repo metadata unavailable).
- Performance characteristics and throughput limits for queue operations.
- Whether optional adapter extras (celery, dramatiq, django) are automatically installed or must be specified.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.12) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 5 — httpx, anyio, pydantic, python-dotenv, vercel |
| Maintenance | actively maintained — 55 days since the last release |
| First released | |
| Downloads | 1,332,680/month — #4,042 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: vercel_workers-0.0.25-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
dramatiqDramatiq is a distributed task processing…
copyleft · top 5,000 on PyPI
taskiqTaskiq is an asynchronous distributed task…
permissive · top 5,000 on PyPI
celeryCelery is a distributed task queue that lets…
permissive · top 1,000 on PyPI
django-dramatiqIntegrates Dramatiq, a distributed task queue,…
unclear · top 15,000 on PyPI
dvc-taskdvc-task queues and runs background jobs from…
permissive · top 5,000 on PyPI
vercel_blobA Python client for uploading, downloading,…
unclear · top 15,000 on PyPI
judoscaleJudoscale is a Python adapter that integrates…
permissive · top 15,000 on PyPI
vercelPython SDK for Vercel that provides modules for…
permissive · top 5,000 on PyPI
kafkaA pure-Python client library for Apache Kafka…
permissive · top 15,000 on PyPI
apache-airflow-providers-celeryIntegrates Celery distributed task execution…
permissive · top 5,000 on PyPI