stapel-cdn
Media management — image/video/file/audio upload, processing, CDN ref tracking
Part of the Stapel framework — composable Django apps for building production-grade platforms.
Installation
pip install stapel-cdn
# + media submodules, as needed:
pip install 'stapel-cdn[images]' # libvips-backed image processing (system: apt libvips-dev)
pip install 'stapel-cdn[video]' # video submodule marker — ffmpeg is a system binary, VPS/prod only
pip install 'stapel-cdn[recordings]' # recordings (audio) submodule marker — storage always works;
# ffmpeg-audio compression is a separate, not-yet-implemented opt-in
Quick start
# settings.py
INSTALLED_APPS = [
...
'stapel_cdn',
]
STAPEL_CDN = {
"ASSET_TYPES": ("avatar",), # zero-infra default; add your own types here
"ENABLED_SUBMODULES": ("images",), # add "video" / "recordings" once you actually use them
}
manage.py check (tag stapel_cdn) fails loudly if an enabled submodule's system
binary/library is missing — see MODULE.md and CONFIG.MD for
the full submodule table and settings registry.
Bus events
Consumes
| user.deleted | schema |
| user.deletion_initiated | schema |
| user.merged | schema |
License
MIT — see LICENSE
Release files for stapel-cdn 0.19.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stapel_cdn-0.19.1.tar.gz | 233.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stapel_cdn-0.19.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 417.8 kB
Release files / stapel_cdn-0.19.1.tar.gz
| Download URL | stapel_cdn-0.19.1.tar.gz |
|---|---|
| Size | 233.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
191fefb31103cb657052e2e6e20e6dc99ee26b9dda138ef7f5736d70c4a7dac9
|
|
BLAKE2b-256 checksum How to use checksums |
71c249028e380ad0aeb84c181ed74ca8e5885e9fe368b342bec2303712500f6c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency logRelease files / stapel_cdn-0.19.1-py3-none-any.whl
| Download URL | stapel_cdn-0.19.1-py3-none-any.whl |
|---|---|
| Size | 184.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f2bd5e1363cfc606bbc84aba599c0f1133a5d9b05138f02bfc4f60b6ba98068
|
|
BLAKE2b-256 checksum How to use checksums |
b4d07cd849d9bf6dd384583fa8bdcc1c8f97abaa44c05d51a4d7a2723626f95a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.
Transparency log