Vercel Python Queues SDK is now available in beta
The Python SDK for Vercel Queues is now available in beta, bringing first-class Python support for running background workloads on Vercel.
You publish messages to topics, and independent consumer groups process them in parallel with automatic retries, sharding, and delivery guarantees. Messages can be enqueued or consumed from either JavaScript or Python, meaning a Next.js producer can fan out to both Next.js and Python queue consumers.
Publish a message from your Python API:
Publish a message from a frontend route handler:
Create a subscriber:
Opt project into receiving queue message deliveries:
Configure cross-runtime consumers: The following configuration allows you to compose a frontend and a backend within a single Vercel project, allowing you to enqueue messages from one service and consume them from another or fan out to multiple.
Get started with pip install vercel or visit the Python SDK reference documentation.