skillfed

async-stripe

An asynchronous wrapper around Stripe's official python library.

async-stripe v6.1.0 434.4K downloads/30d#6,690 on PyPI37
Permissive license BSD 3-Clause DORMANT released

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-stripe

uv

uv add async-stripe

poetry

poetry add async-stripe

Installing 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

License :: Other/Proprietary LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

async stripe paymentsasynchronous stripe wrapperstripe async coroutinesnon-blocking stripe clientstripe tornado asyncasync payment processingstripe asyncio integration
async-payment-processingstripe-integrationtornado-http

More WWW/HTTP packages