Skip to main content

stapel-cdn

CI coverage pypi downloads python license llms.txt

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

Metadata

Release files for stapel-cdn 0.31.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for stapel-cdn 0.31.2
File Size Uploaded Provenance Actions
stapel_cdn-0.31.2.tar.gz 336.7 kB With provenance Details for stapel_cdn-0.31.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for stapel-cdn 0.31.2
File Interpreter ABI Platform Actions
stapel_cdn-0.31.2-py3-none-any.whl Python 3 none any Details for stapel_cdn-0.31.2-py3-none-any.whl

Total release size: 583.0 kB

Release files / stapel_cdn-0.31.2.tar.gz

Download URL stapel_cdn-0.31.2.tar.gz
Size 336.7 kB
Tags Source
SHA-256 checksum
How to use checksums
bf7aaa4baae6093f0bc9147ef7a1853a760c7d07bfb10e36f8fa7f0898e1d47d
BLAKE2b-256 checksum
How to use checksums
06f6012529eba2d394cb0f74bf0cf4e1312061917511631e28a07b1d99b5f6dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

Release files / stapel_cdn-0.31.2-py3-none-any.whl

Download URL stapel_cdn-0.31.2-py3-none-any.whl
Size 246.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9409791d67df00ce79df50370a682e3426efd9964d9eab7ce3e860127403aef8
BLAKE2b-256 checksum
How to use checksums
ddf71bd6c4141520e6061b53016254fd6544bcf9f938b28211f647d9c18b47f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

Security for stapel-cdn 0.31.2

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for stapel_cdn-0.31.2.tar.gz

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 Nov 20, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

0.31.2 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page