async-stripe
An asynchronous wrapper around Stripe's official python library.
What it is and what it does
async-stripe is an asynchronous wrapper around Stripe's official Python library that uses monkey-patching to replace synchronous HTTP methods with async coroutines. It leverages Tornado's non-blocking AsyncHTTPClient and actual async/await rather than threading, aiming to provide better performance for concurrent payment operations. The API surface mirrors the official Stripe library, so developers familiar with that library can use async-stripe with minimal changes.
The package is designed as a drop-in async replacement, but with important caveats: once imported, it patches the official stripe library globally, making the synchronous API unavailable in that process. Custom HTTP clients and proxy configuration are not yet supported, and the library relies on Tornado as its HTTP transport layer.
Use it for:
- Handling multiple concurrent Stripe API calls in async web frameworks like Tornado or FastAPI without blocking.
- Building payment processing pipelines that need to scale to many simultaneous requests without thread overhead.
- Integrating Stripe payments into async-first Python applications where synchronous calls would create bottlenecks.
- Testing async payment workflows that require non-blocking Stripe API interactions.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides an asynchronous wrapper around the Stripe Python library, replacing synchronous HTTP methods with async coroutines via monkey-patching to enable non-blocking API calls.
Yes, if you need async Stripe integration in a Tornado or async-first application and can accept dormant maintenance. The low install friction and permissive license are favorable, but the 1000+ days since last release and lack of active development mean you should audit compatibility with your Stripe API version and be prepared to maintain patches yourself if needed. No known security vulnerabilities.
Install
async-stripe on PyPI
pip
pip install async-stripeuv
uv add async-stripepoetry
poetry add async-stripeInstalling async-stripe
Before you install
Low friction install with a pure-Python wheel. Maintenance is dormant—last commit was 2023-12-03, over 1000 days ago—so expect no active bug fixes or feature updates, though the repository remains unarchived.
License in practice
Dual-licensed under BSD 3-Clause for original code and MIT for copied Stripe library code. Both are permissive, so commercial and private use are allowed with minimal restrictions.
Quickstart
pip install async-stripe
from async_stripe import stripe
stripe.api_key = '<stripe-secret-key>'
payment_intent = await stripe.PaymentIntent.create(amount=1000, currency='usd')
Monkey-patches the official stripe library; avoid importing both in the same process. Requires Python 3.6 or newer. Uses Tornado's AsyncHTTPClient and does not support custom HTTP clients or proxies.
Verify before relying
- Whether the monkey-patching approach remains compatible with recent versions of the official stripe library.
- Current test coverage and whether all Stripe API resources are fully supported.
- Performance characteristics compared to the official library in production workloads.
Package facts
| License | BSD 3-Clause (permissive) |
| Python support | supports the current Python release (>=3.6,<4.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — stripe, tornado |
| Maintenance | dormant — 1,000 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 434,436/month — #6,690 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: async_stripe-6.1.0-py3-none-any.whl
Keywords: stripe, async, asynchronous, wrapper
Tags
More WWW/HTTP packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
h11h11 is a pure-Python HTTP/1.1 protocol…
permissive · top 100 on PyPI
httpxHTTPX is a fully featured HTTP client library…
permissive · top 100 on PyPI
httpcoreA minimal low-level HTTP client library that…
permissive · top 100 on PyPI
aiohttpaiohttp is an async HTTP client and server…
permissive · top 100 on PyPI
stripeProvides Python bindings to the Stripe API,…
permissive · top 1,000 on PyPI
dj-stripedj-stripe syncs Stripe payment objects into…
permissive · top 15,000 on PyPI
threadloopRuns Tornado coroutines from synchronous Python…
permissive · top 15,000 on PyPI
syncerSyncer converts async functions to synchronous…
permissive · top 15,000 on PyPI
tornadoTornado is a Python web framework and…
permissive · top 1,000 on PyPI
unasyncTransforms asynchronous Python code into…
permissive · top 15,000 on PyPI
asgirefProvides ASGI base libraries including…
permissive · top 1,000 on PyPI
py-memoizeCaching library for async Python applications…
permissive · top 15,000 on PyPI
synchronicityWraps async functions, generators, and classes…
permissive · top 1,000 on PyPI
aiobreakerImplements the Circuit Breaker pattern for…
permissive · top 15,000 on PyPI