Skip to main content

stapel-billing

CI coverage pypi downloads python license llms.txt

Payments and billing: per-user credit wallets with an immutable transaction ledger, one-off credit packages and recurring subscription plans, Stripe-backed checkout and self-service customer portal, idempotent webhooks and a service-to-service debit endpoint.

Part of the Stapel framework — composable Django apps that deploy as a monolith or as microservices without changing module code.

Install

pip install stapel-billing

At a glance

Fact Value
Version 0.7.1
Python >=3.11 (3.11, 3.12, 3.13, 3.14)
HTTP operations 10
Config axes 1
Usage surface 15
Extension points 5
Error codes 54
Fleet dependencies stapel-auth (optional) · stapel-core

Documentation

Errors: English · Español · Русский · OpenAPI · capabilities.json · llms.txt (for agents)

Quick start

# settings.py
INSTALLED_APPS = [
    ...
    'stapel_billing',
]

Bus events

Emits

| payment.completed | schema | A payment transaction completed successfully. | | subscription.changed | schema | User subscription plan or status changed. |

Consumes

| user.deleted | schema | | user.deletion_initiated | schema |

License

MIT — see LICENSE.


This page is assembled by stapel-readme from docs/readme.md plus the contract artifacts in docs/. Edit the prose in docs/readme.md; the badges, facts and links above and below it are generated — do not hand-edit README.md.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stapel_billing-0.7.1.tar.gz (95.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stapel_billing-0.7.1-py3-none-any.whl (74.7 kB view details)

Uploaded Python 3

File details

Details for the file stapel_billing-0.7.1.tar.gz.

File metadata

  • Download URL: stapel_billing-0.7.1.tar.gz
  • Upload date:
  • Size: 95.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for stapel_billing-0.7.1.tar.gz
Algorithm Hash digest
SHA256 1e02f3a5bb8a21062b38454750d4ba4fa38577de234758315858959a04e95aa9
MD5 f0cb2e94bba1bcfed9117a1d7f9807a5
BLAKE2b-256 15e5b2a1cca566b130c3b7f461afa9aae876a6335f162e7e433886a2cdf6462d

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_billing-0.7.1.tar.gz:

Publisher: publish.yml on usestapel/stapel-billing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file stapel_billing-0.7.1-py3-none-any.whl.

File metadata

  • Download URL: stapel_billing-0.7.1-py3-none-any.whl
  • Upload date:
  • Size: 74.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for stapel_billing-0.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ba163a5ee49278ba82e0c3ef5897f8fc2bb298466ce35a65edc354a59d280851
MD5 a777f09513ab415664a2608ca91bf281
BLAKE2b-256 b11991d2989a885efbcc88bd7d97e784809a9d99ecfa9e187a95c26afc3beac3

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_billing-0.7.1-py3-none-any.whl:

Publisher: publish.yml on usestapel/stapel-billing

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.7.1 This release

2 files

0.7.0

2 files

0.6.2

2 files

0.6.1

2 files

0.5.2

2 files

0.5.1

2 files

0.5.0

2 files

0.4.16

2 files

0.4.15

2 files

0.4.12

2 files

0.4.11

2 files

0.4.10

2 files

0.4.9

2 files

0.4.4

2 files

0.4.1

2 files

0.4.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page