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 |

License

MIT — see LICENSE

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stapel_cdn-0.12.0.tar.gz (150.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_cdn-0.12.0-py3-none-any.whl (116.2 kB view details)

Uploaded Python 3

File details

Details for the file stapel_cdn-0.12.0.tar.gz.

File metadata

  • Download URL: stapel_cdn-0.12.0.tar.gz
  • Upload date:
  • Size: 150.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for stapel_cdn-0.12.0.tar.gz
Algorithm Hash digest
SHA256 f0efef1c6be47fe6e1b975f9878aa31492250bb72d3f933c0816d3f2f1b0ada5
MD5 eaf073a3b9ef043bdbc74e80fe5e077e
BLAKE2b-256 4ff2cc2c1ebf972cb5f693250c884747899bb39d0e0c55144b546e91d96796a3

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_cdn-0.12.0.tar.gz:

Publisher: publish.yml on usestapel/stapel-cdn

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_cdn-0.12.0-py3-none-any.whl.

File metadata

  • Download URL: stapel_cdn-0.12.0-py3-none-any.whl
  • Upload date:
  • Size: 116.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for stapel_cdn-0.12.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f50c696871083080f41be2b663beb832b34741f5a3e8cd89d31e95f4256b90cc
MD5 26082072e8130b65a6ea54c87ed8c8c9
BLAKE2b-256 01495e957262bae3a7b3c0d911a84c1dd4aceb5369bcf8e83fe75944395850b0

See more details on using hashes here.

Provenance

The following attestation bundles were made for stapel_cdn-0.12.0-py3-none-any.whl:

Publisher: publish.yml on usestapel/stapel-cdn

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

2 files

This release

0.12.0 This release

2 files

0.11.0

2 files

0.10.0

2 files

0.9.1

2 files

0.9.0

2 files

0.8.2

2 files

0.8.1

2 files

0.8.0

2 files

0.7.1

2 files

0.7.0

2 files

0.6.1

2 files

0.6.0

2 files

0.5.3

2 files

0.5.2

2 files

0.5.1

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