drf-subscription
A generic subscription app for django.
Installation
Dependencies are managed exclusively with uv:
uv sync
REST API
The app ships a DRF router exposing these endpoints (admin-only by default):
/api/subscriptions//api/subscription-lines//api/subscription-events//api/resources/
Versioning
This project follows Semantic Versioning. The version is
kept in subscription/__init__.py (__version__) and read by pyproject.toml.
To bump it:
uv run python scripts/bump_version.py patch # or minor / major
uv run python scripts/bump_version.py patch --tag # and create the git tag vX.Y.Z
Release
Publishing to PyPI is automatic: when a version change in subscription/__init__.py
is pushed to the default branch, GitHub Actions builds and publishes it to PyPI
(via trusted publishing).
You can trigger a release in two ways:
- From GitHub — go to Actions → Bump version → Run workflow and choose
patch,minorormajor. It bumps the version, commits, tags, pushes and publishes. - Locally — bump and push; publication happens automatically:
uv run python scripts/bump_version.py patch --commit --tag --push
Metadata
Release files for drf-subscription 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| drf_subscription-0.1.0.tar.gz | 41.6 kB | Without provenance | Details for drf_subscription-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| drf_subscription-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for drf_subscription-0.1.0-py3-none-any.whl |
Total release size: 77.1 kB
Release files / drf_subscription-0.1.0.tar.gz
| Download URL | drf_subscription-0.1.0.tar.gz |
|---|---|
| Size | 41.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fe53122fc09d209a5a082e130dd79e01a3d9403efeb8532497ccfd18045b855
|
|
BLAKE2b-256 checksum How to use checksums |
f5a9806ec66dabf39b2fb01d8323f32bc1002047ab495c116ea0d395d5f3908c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / drf_subscription-0.1.0-py3-none-any.whl
| Download URL | drf_subscription-0.1.0-py3-none-any.whl |
|---|---|
| Size | 35.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc5c83b13edfd06ed69d42fb8fa4e1df2e3f9d427e22332fb4577987f9903bb4
|
|
BLAKE2b-256 checksum How to use checksums |
fcd56404fa3c2516e2e6cf83ab2ce1dc599627c0b9d5b74ec02738f5e8d2a673
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.6 {"installer":{"name":"uv","version":"0.13.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for drf-subscription 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.