Skip to main content

heimdex-media-contracts

Shared schemas, pure functions, and contracts for Heimdex media pipelines.

This package is intentionally dependency-light — it depends only on pydantic and the Python standard library. It must never import heavy ML/media libraries such as cv2, torch, whisper, insightface, pyannote, onnxruntime, or ffmpeg.

Modules

Module Contents
heimdex_media_contracts.faces.schemas Pydantic models for face presence responses
heimdex_media_contracts.faces.sampling Pure timestamp sampling math (no file I/O)
heimdex_media_contracts.speech.schemas Dataclass models for speech segment pipelines
heimdex_media_contracts.speech.tagger Keyword-based segment tagger (pure string matching)
heimdex_media_contracts.speech.ranker Segment importance ranker (pure computation)

Usage

from heimdex_media_contracts.faces.schemas import FacePresenceResponse
from heimdex_media_contracts.faces.sampling import sample_timestamps
from heimdex_media_contracts.speech.tagger import SpeechTagger

Running tests

cd heimdex-media-contracts
pip install -e ".[dev]"
python -m pytest -q

Metadata

Release files for heimdex-media-contracts 0.65.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 heimdex-media-contracts 0.65.0
File Size Uploaded Provenance Actions
heimdex_media_contracts-0.65.0.tar.gz 651.3 kB With provenance Details for heimdex_media_contracts-0.65.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for heimdex-media-contracts 0.65.0
File Interpreter ABI Platform Actions
heimdex_media_contracts-0.65.0-py3-none-any.whl Python 3 none any Details for heimdex_media_contracts-0.65.0-py3-none-any.whl

Total release size: 899.7 kB

Release files / heimdex_media_contracts-0.65.0.tar.gz

Download URL heimdex_media_contracts-0.65.0.tar.gz
Size 651.3 kB
Tags Source
SHA-256 checksum
How to use checksums
042aa51117c488b7c955b59dd79644d31afa8cac2a93da0d3a1a8559b924b4d0
BLAKE2b-256 checksum
How to use checksums
9cd0577581b098a4a002c1e3f803c4d3f8323218588962d69232a2b1875c92be
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 Nov 11, 2026.

Transparency log

Release files / heimdex_media_contracts-0.65.0-py3-none-any.whl

Download URL heimdex_media_contracts-0.65.0-py3-none-any.whl
Size 248.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9aa5fb1f1d1ed3d8cde758c3a52f5353bec205028d968f4eb4d0bbe8b2afdd04
BLAKE2b-256 checksum
How to use checksums
cc1481fbe0c160c9adc73b778f36c1cd4e93df01e819444f9228e62c58f7e5e5
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 Nov 11, 2026.

Transparency log

Security for heimdex-media-contracts 0.65.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 heimdex_media_contracts-0.65.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 Nov 11, 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.65.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