$npx skillfedfor your agent

qstash

Python SDK for Upstash QStash

With conditionsPyPI LibrariesReleased Mar 2026281.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — qstash-3.4.0-py3-none-any.whl
v3.4.0 · released 2026-03-18 · Python <4.0,>=3.8 · 2 runtime deps: httpx, pyjwt

Yes, if you are building on Upstash's infrastructure or need a managed message queue for serverless workloads. The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known vulnerabilities. It is production-ready (GA status) and suitable for applications that rely on QStash for messaging and scheduling.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires a valid QStash token from the Upstash Console (https://console.upstash.com/qstash) to authenticate API calls.
  • Low install friction with only two runtime dependencies (httpx and pyjwt).
  • Actively maintained with recent releases; marked as GA and covered by Upstash Professional Support.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.

last release 2026-03-18 (149 days) · last repo commit 2026-03-18 · 27 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 281,149 downloads/mo, #8,105 on PyPI

Verify before relying

pip install qstash

from qstash import QStash

client = QStash("<QSTASH_TOKEN>")
res = client.message.publish_json(
    url="https://example.com",
    body={"hello": "world"},
)
print(res.message_id)
  • Whether the package handles automatic retries for failed message deliveries to endpoints
  • Whether LLM provider integrations beyond OpenAI are supported
  • Performance characteristics under high message volume
Same gist for agents: .md · .json

What it is and what it does

QStash is a Python client for Upstash's HTTP-based message queue and scheduling service. It lets you publish messages to HTTP endpoints, schedule recurring or delayed tasks using cron expressions, and verify incoming webhook signatures from QStash. The SDK wraps HTTP calls to the QStash API and provides convenience methods for common operations like publishing JSON payloads, creating schedules, and receiving authenticated messages.

Typically used in serverless environments (AWS Lambda, Vercel Functions, etc.) where you need to queue work, schedule background jobs, or coordinate between services without managing your own message broker. It depends on httpx for HTTP requests and pyjwt for signature verification, and supports Python 3.8 through 3.13.

Use it for

  • Queue HTTP requests to be delivered with retry logic and scheduling in serverless functions
  • Schedule recurring tasks using cron expressions without a persistent scheduler
  • Verify and process webhook callbacks from QStash in your application handlers
  • Publish messages to LLM APIs (e.g., OpenAI) with callback handling for results
  • Implement delayed task execution with configurable backoff and retry strategies

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you are building on Upstash's infrastructure or need a managed message queue for serverless workloads.

The package is actively maintained, has low install friction, carries a permissive MIT license, and has no known vulnerabilities. It is production-ready (GA status) and suitable for applications that rely on QStash for messaging and scheduling.

Install

qstash on PyPI

Before you install

Low install friction with only two runtime dependencies (httpx and pyjwt). Actively maintained with recent releases; marked as GA and covered by Upstash Professional Support.

Requires a valid QStash token from the Upstash Console (https://console.upstash.com/qstash) to authenticate API calls.

License in practice

MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute this package freely provided you include the license notice.

Quickstart

pip install qstash

from qstash import QStash

client = QStash("<QSTASH_TOKEN>")
res = client.message.publish_json(
    url="https://example.com",
    body={"hello": "world"},
)
print(res.message_id)

Verify before relying

  • Whether the package handles automatic retries for failed message deliveries to endpoints
  • Whether LLM provider integrations beyond OpenAI are supported
  • Performance characteristics under high message volume

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0,>=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
httpxpyjwt
MaintenanceActively maintained 149 days since the last release
Last repo commit
First released
Downloads281,149 / month, #8,105 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonTopic :: DatabaseTopic :: Database :: Front-EndsTopic :: Software Development :: Libraries

Evidence: qstash-3.4.0-py3-none-any.whl

Tags

Capabilities
serverless message queuehttp messaging sdkscheduled task deliveryupstash qstash pythonedge runtime messagingasync job schedulingwebhook delivery service
Topics
serverlessmessage-queuescheduling
PyPI keywords
QStashUpstash QStashServerless Queue

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “serverless message queue”

  • qstashPython SDK for publishing and receiving messages through Upstash…
  • aws-cdk.aws-sqsProvides AWS CDK constructs for defining Amazon SQS queues and…
  • redis-simple-mqA lightweight message queue built on Redis that provides a…

Give your agent the search over MCP, or paste the wish link into any chat.

More Libraries packages

urllib3 Worth it
PyPI · Libraries · released May 2026

urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.

MITpure Python · 3.10+
1.8Bdownloads / mo
requests Worth it
PyPI · Libraries · released May 2026

Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.

Apache-2.0pure Python · 3.10+
1.8Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
python-dateutil Worth it
PyPI · Libraries · released Mar 2024

Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.

Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.

Apache-2.0pure Python
1.2Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo
pytest Worth it
PyPI · Libraries · released Jun 2026

pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.

MITpure Python · 3.10+
1.1Bdownloads / mo

See also upstash-redis · upstash-vector · upstash-ratelimit · hatchet-sdk · rq-scheduler · slixmpp · clx-sdk-xms · azure-servicebus · saq · celery