Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

mdrack-media

mdrack-media publishes immutable timed-text, transcript, frame-caption, locator, policy, identifier, fingerprint, event and future-builder input contracts for MDRack.

Distribution version 1.0.0rc1 publishes media contract version 1.0.0-rc.1. Python 3.11 or newer is required. The only runtime dependency is mdrack-core==1.0.0rc1.

Boundary

The package validates caller-prepared values, groups timed atoms with a caller-owned token counter, projects typed millisecond locators to generic mdrack_core.Locator records, and provides provider-free audio, video transcript, and video frame-caption batch projections. The builders do not read files, access a database or network, call providers, load a tokenizer, or create embeddings; vectors remain caller-owned. Source identity is accepted only by deterministic ID helpers and is never admitted to media event fields.

Frame-caption batches expose stable frame IDs as searchable units and preserve integer-millisecond video_frame evidence. They can be narrowed with core categorical branch scopes and fused with transcript branches using weighted RRF; these are experimental retrieval compositions, not default production behavior. retrieve_media() provides the corresponding provider-free prepared-batch retrieval helper with transcript-only, frame-only, and weighted hybrid modes, pre-limit categorical/facet filtering, deterministic IDs/order, and optional nearby-frame evidence kept outside the core result.

Token counts always retain exact or estimated truthfulness together with the fingerprint of the counter. Producer, normalization, grouper, token-counter, aggregation and embedding fingerprints use distinct runtime types so they cannot be silently interchanged.

group_timed_atoms() is strict: it never sorts, repairs, normalizes, truncates, or adds retrieval overlap. Input atom overlap remains in exact source provenance; boundaries cannot split an overlap-connected component, so emitted passage ranges never overlap. A component that cannot satisfy a hard limit is rejected by default or returned only with an explicit unsplittable/hard_limit_exceeded flag.

provisional_abc_policies() and run_grouping_variants() provide deterministic experiment plumbing and aggregate structural metrics. A/B/C are not an optimized or selected default; policy selection remains deferred to retrieval evaluation.

Provider-free examples

Both examples construct deterministic identities, serialize with to_dict(), and round-trip with from_dict(). They require no media file, provider, database, or network access.

See API.md for the frozen surface and CHANGELOG.md for release notes.

Download files

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

Source Distribution

mdrack_media-1.0.0rc1.tar.gz (30.9 kB view details)

Uploaded Source

Built Distribution

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

mdrack_media-1.0.0rc1-py3-none-any.whl (34.3 kB view details)

Uploaded Python 3

File details

Details for the file mdrack_media-1.0.0rc1.tar.gz.

File metadata

  • Download URL: mdrack_media-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 30.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mdrack_media-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 c736da60dc13ad802f124f6118140f568aec9a5ef455e9ad0daa783f79c357e0
MD5 90a565770271ac566fec253b1c5695c5
BLAKE2b-256 20ebf973a62acb49973cf9a93c06e701d324786930bc0e516f5242cb16e87379

See more details on using hashes here.

File details

Details for the file mdrack_media-1.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: mdrack_media-1.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 34.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.15 {"installer":{"name":"uv","version":"0.11.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for mdrack_media-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 49c723de8dd6f0e4ebfb709651f092553b0a19d50e9f43a429db5bc64e099b1f
MD5 c29b5147d70e1304fb409325f45dc948
BLAKE2b-256 66816159d20057d385c9cf32f9dabbcea884dc61fcd171381f3c93bd5e22b689

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.0rc1 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