Skip to main content

university-media

Secure media for the University platform: uploads, private object storage, asynchronous processing, signed streaming links and clips. This is an optional level two module that depends only on university-core. It provides Core's media library, so podcasts and other modules use media without importing it.

  • Uploads are validated by content signature against per-kind allow-lists (audio, video, image, document), with size limits, quotas, dimension and duration limits, SHA-256 hashes and random storage names. Executables and active content are always rejected.
  • Object storage: S3, MinIO or any Django storage. Large files can go straight to storage via presigned uploads and are verified before use.
  • Asynchronous processing on the task backend. The built-in processor needs no tools; FFmpegProcessor makes MP3 renditions, 720p MP4s and poster frames, cuts clips, and runs sandboxed (no shell, timeouts, file-only protocols).
  • Signed, expiring links with HTTP Range support for seeking, or the storage's own presigned or CDN URLs.
  • Clean-up: orphaned and failed uploads are deleted, and purge removes a person's files.
pip install university-media

See the module documentation.

Metadata

Release files for university-media 0.1.1

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

Source distribution (sdist)

Source distribution for university-media 0.1.1
File Size Uploaded Provenance Actions
university_media-0.1.1.tar.gz 22.2 kB With provenance Details for university_media-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for university-media 0.1.1
File Interpreter ABI Platform Actions
university_media-0.1.1-py3-none-any.whl Python 3 none any Details for university_media-0.1.1-py3-none-any.whl

Total release size: 46.3 kB

Release files / university_media-0.1.1.tar.gz

Download URL university_media-0.1.1.tar.gz
Size 22.2 kB
Tags Source
SHA-256 checksum
How to use checksums
ccb8cbf3870fda66bb1334ed93799e90441de3fa9ec84e473f88717384828376
BLAKE2b-256 checksum
How to use checksums
f1af1fdbd0fe2d80ab0155dd6317db429a990bfe64adb40f11c202b525f2e8c2
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 Oct 29, 2026.

Transparency log

Release files / university_media-0.1.1-py3-none-any.whl

Download URL university_media-0.1.1-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5225278d29d1015195cbf18d91639ab4b994d12dc87da6cc1b552507df3850fb
BLAKE2b-256 checksum
How to use checksums
bdaef23e4b1030f714fd14853f8f4b7638466abaa34ad4f3cbe41b84d0bc74ce
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 Oct 29, 2026.

Transparency log

Security for university-media 0.1.1

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 university_media-0.1.1.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 Oct 29, 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.1.1 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