dj-stripe
Django + Stripe made easy
Decision gist · record as of 2026-08-14
Yes, if you're building a Django application that integrates Stripe payments and you want local, queryable access to Stripe data. The low install friction, active maintenance, permissive license, and no known vulnerabilities make it a solid choice. Requires Django 5.0+ and Python 3.11+, so only viable for projects on current versions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django >=5.0, Python >=3.11, and a supported database (PostgreSQL recommended; MySQL >=8.0 or MariaDB >=10.5; SQLite >=3.26 but not recommended for production).
- Low friction install with just two runtime dependencies (django and stripe).
- Actively maintained with a release 49 days ago.
License · maintenance · safety
MIT (permissive) — MIT license is permissive and places no restrictions on commercial use, modification, or redistribution.
last release 2026-06-26 (49 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 487,489 downloads/mo, #6,384 on PyPI
Alternatives
Verify before relying
pip install dj-stripe
import dj_stripe
from dj_stripe.models import Customer
# Access synced Stripe Customer records
customer = Customer.objects.get(id='cus_...')- Whether webhook setup and configuration are straightforward or require significant boilerplate.
- Performance characteristics when syncing large volumes of Stripe events.
- Extent of Stripe Connect support beyond 'partial'.
What it is and what it does
dj-stripe is a Django package that mirrors Stripe's payment infrastructure into your database as Django models. Instead of querying Stripe's API every time you need payment data, you set up a webhook endpoint and dj-stripe automatically creates and updates local Django model instances whenever Stripe events occur. This gives you queryable, relational access to Stripe objects like Customers, Charges, Subscriptions, and Payment Intents.
The package covers Stripe's core payment features, billing, cards, payment methods with SCA support, and partial Stripe Connect support. It's designed for Django applications that need to work with Stripe data in their own database—useful for reporting, filtering, joining with local data, or avoiding repeated API calls. It requires Django >=5.0, Python >=3.11, and a supported database backend.
Use it for
- Store Stripe customer and subscription data locally so you can query and filter it without hitting Stripe's API repeatedly.
- Build Django admin interfaces to view and manage Stripe objects (customers, charges, invoices) alongside your own models.
- Generate reports or analytics on payment history by joining Stripe data with your own application data.
- Implement webhook handlers that react to Stripe events and update your application state in a single transaction.
- Support multi-account or multi-API-key scenarios where you manage Stripe data for multiple organizations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you're building a Django application that integrates Stripe payments and you want local, queryable access to Stripe data.
The low install friction, active maintenance, permissive license, and no known vulnerabilities make it a solid choice. Requires Django 5.0+ and Python 3.11+, so only viable for projects on current versions.
Install
dj-stripe on PyPI
Before you install
Low friction install with just two runtime dependencies (django and stripe). Actively maintained with a release 49 days ago. Requires Django >=5.0 and Python >=3.11, so only works with current versions.
Requires Django >=5.0, Python >=3.11, and a supported database (PostgreSQL recommended; MySQL >=8.0 or MariaDB >=10.5; SQLite >=3.26 but not recommended for production).
License in practice
MIT license is permissive and places no restrictions on commercial use, modification, or redistribution.
Quickstart
pip install dj-stripe
import dj_stripe
from dj_stripe.models import Customer
# Access synced Stripe Customer records
customer = Customer.objects.get(id='cus_...')
Verify before relying
- Whether webhook setup and configuration are straightforward or require significant boilerplate.
- Performance characteristics when syncing large volumes of Stripe events.
- Extent of Stripe Connect support beyond 'partial'.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdjangostripe |
| Maintenance | Actively maintained 49 days since the last release |
| First released | |
| Downloads | 487,489 / month, #6,384 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersTopic :: Office/Business :: FinancialTopic :: Software Development :: Libraries :: Python Modules |
Evidence: dj_stripe-2.11.0-py3-none-any.whl
Tags
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 › “django stripe integration”
- dj-stripedj-stripe syncs Stripe payment objects into Django models via…
- stripeProvides Python bindings to the Stripe API, enabling applications to…
- async-stripeProvides an asynchronous wrapper around the Stripe Python library,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also stripe · async-stripe · django-dirtyfields · mollie-api-python · paddle-python-sdk · django-signal-webhooks · django-postgres-copy · django-waffle · django-health-check · beanstream