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.0
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.0.tar.gz (94.8 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.0-py3-none-any.whl (74.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stapel_billing-0.7.0.tar.gz
  • Upload date:
  • Size: 94.8 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.0.tar.gz
Algorithm Hash digest
SHA256 e4323900ffc7701a8b2301b36369dea6c0925bd248553cb408f01be5d39e39d1
MD5 f471082ab2d01616f9661d3078ae935c
BLAKE2b-256 edda1401ac131e2d708bba29a8045a9418d3dbf69fdf281e538a46befb084d20

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_billing-0.7.0.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.0-py3-none-any.whl.

File metadata

  • Download URL: stapel_billing-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 74.6 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee8444ae9d4513a4791e6aeb1570f4dba4a2f187a21f638b6c908880503fd9e6
MD5 72b5828aea961d586293078f2d55cdfc
BLAKE2b-256 917b9a519e4e88b530e7bb694c38266a4dd20870ed43781197a9017cf4456968

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_billing-0.7.0-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

0.7.1

2 files

This release

0.7.0 This release

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