Skip to main content

render-lab-media-contract

JSON media sources, destinations, results, and validators shared by the media packs. Registration-free: importing this package registers no tasks and reads no credentials.

from render_lab_media_contract import assert_media_source

assert_media_source({"kind": "url", "url": "https://example.com/audio.mp3"})

Use HTTPS URLs or signed PUT destinations for large media. Inline data URIs and base64 results have a decoded 1 MiB limit; data URIs declare their content type and byte count. The default bounded transfer limit is 100 MiB. Source headers and signed destination URLs are credentials; do not log them.

Python rejects malformed base64 rather than silently discarding invalid bytes. Validators have hermetic tests; this supporting package makes no network calls.

Installation

pip install render-lab-media-contract==0.1.0

Download files

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

Source Distribution

render_lab_media_contract-0.1.0.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

render_lab_media_contract-0.1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file render_lab_media_contract-0.1.0.tar.gz.

File metadata

File hashes

Hashes for render_lab_media_contract-0.1.0.tar.gz
Algorithm Hash digest
SHA256 6ac01d9ab71644767aec55295e612c7b1661846d810a667ddbd99e60ff0126a4
MD5 8aa91d5295a7c94a0b3beec8977d0e74
BLAKE2b-256 2057f9c585f7136f593b729bfd64a427dfbbac32a8370f498ac1fbcfd6e8fa8e

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_media_contract-0.1.0.tar.gz:

Publisher: publish.yml on render-lab/render-tasks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file render_lab_media_contract-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for render_lab_media_contract-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3c7e0517cc304ebdff17b8e6875ca37718d6e21c0134c588a6171b43f0aa3b2f
MD5 8265f562c96d124cd427dffc5f462af3
BLAKE2b-256 96dbd8cfa995ff3d53cd336f7001de53f433a334ba152d739acc4808597f39ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for render_lab_media_contract-0.1.0-py3-none-any.whl:

Publisher: publish.yml on render-lab/render-tasks-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

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