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.6.2
Python >=3.11 (3.11, 3.12, 3.13, 3.14)
HTTP operations 10
Config axes 1
Usage surface 14
Extension points 5
Error codes 53
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.6.2.tar.gz (69.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.6.2-py3-none-any.whl (59.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: stapel_billing-0.6.2.tar.gz
  • Upload date:
  • Size: 69.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.6.2.tar.gz
Algorithm Hash digest
SHA256 e2cebe67efb3efd7515ca41cef41623ad58ba982fa39aaed9be4d90ad09e2b9d
MD5 a39fbf52f82aaf641008db1b1b41dac5
BLAKE2b-256 aa280e7502a9557ce88b8c5a3eacc11d274358505f65554766bec0030e4bf5e1

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: stapel_billing-0.6.2-py3-none-any.whl
  • Upload date:
  • Size: 59.0 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.6.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5d8fd1a733d614a8a871160027e53832a0396adfbec982ed2f0645bddbff3c68
MD5 9ec67706d8ee23235c69614a9d4a4531
BLAKE2b-256 f634e5c2570d014cc34add8d91238df462bb80ce7fb4c0f63eb6a7c0af7a1261

See more details on using hashes here.

Provenance

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

0.7.0

2 files

This release

0.6.2 This release

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