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.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 university-media 0.1.0
File Size Uploaded Provenance Actions
university_media-0.1.0.tar.gz 22.0 kB With provenance Details for university_media-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 46.1 kB

Release files / university_media-0.1.0.tar.gz

Download URL university_media-0.1.0.tar.gz
Size 22.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dfd7a9c92029d12b037c4bb04d32376a746b0419e2e88e34ffe4c4717d5e3a0f
BLAKE2b-256 checksum
How to use checksums
b0106de97a2c607cbb6be49c075a6e10bb5968b5a44ea79b4cbb6b626fa6b2f8
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 26, 2026.

Transparency log

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

Download URL university_media-0.1.0-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
acb84ac7a4d1e9a02eae198ffc2d6c4422281cac13aadc84303710c2136f3029
BLAKE2b-256 checksum
How to use checksums
1a0ffbe740766e11f1c5decf0b9b4884b0a02e4b6c737dcfd4a5811370861b04
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 26, 2026.

Transparency log

Security for university-media 0.1.0

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.0.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 26, 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.0 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