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.28.0

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.28.0
File Size Uploaded
stapel_cdn-0.28.0.tar.gz 291.2 kB Details

Built distribution (wheel)

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

Total release size: 503.3 kB

Release files / stapel_cdn-0.28.0.tar.gz

Download URL stapel_cdn-0.28.0.tar.gz
Size 291.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5bf1146b5cc0b9772ded4a7b357ff6e06541e76bc2744d5ea76f22b53bf24875
BLAKE2b-256 checksum
How to use checksums
f7b6206c06ea939ba7a6399f5716986b8ded0f259d44111c685ba3dec3c65075
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 27, 2026.

Transparency log

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

Download URL stapel_cdn-0.28.0-py3-none-any.whl
Size 212.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac1b499c15e43f12f00a86f49267ca78a55049cf26cd8b09a29e8b4c4794b502
BLAKE2b-256 checksum
How to use checksums
f84ca451f93758c5a90bf1eedc1302d98bcebe7f9ed0250c1542f10493e8997e
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 27, 2026.

Transparency log

Release history Release notifications | RSS feed

0.28.1

2 release files

This release

0.28.0 This release

2 release files

0.27.0

2 release files

0.26.0

2 release files

0.25.0

2 release files

0.23.1

2 release files

0.21.0

2 release files

0.20.1

2 release files

0.18.0

2 release files

0.17.1

2 release files

0.17.0

2 release files

0.16.0

2 release files

0.15.0

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.9.1

2 release files

0.9.0

2 release files

0.8.2

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.4.4

2 release files

0.4.1

2 release files

0.4.0

1 release file

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