--- id: async-stripe version: "6.1.0" license: BSD 3-Clause license_treatment: permissive maintenance: dormant --- # async-stripe — An asynchronous wrapper around Stripe's official python library. License: permissive · Maintenance: dormant · Downloads: 434.4K/mo ## 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 above — 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 pip install async-stripe uv add async-stripe 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 = '' 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_current - Install friction: low - Maintenance: dormant - Downloads: 434.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags async stripe payments, asynchronous stripe wrapper, stripe async coroutines, non-blocking stripe client, stripe tornado async, async payment processing, stripe asyncio integration, async-payment-processing, stripe-integration, tornado-http [View on SkillFed](https://skillfed.io/packages/async-stripe) · [View on PyPI](https://pypi.org/project/async-stripe/)