Skip to main content

Generic MoQ core (Python)

An independently buildable package for MOQT sessions and arbitrary track objects. It has no runtime dependencies and does not import Relay product code or any transport library.

create_moqt_session owns a supplied, established transport. Subscribe, fetch, and track-status requests use callback handlers, preserve uninterpreted payloads and object properties, and expose protocol lifecycle notifications. MoqTrackSource describes borrowed track access without shutdown.

create_moqt_publish_session serves a namespace and its registered tracks over a separate transport. Track properties are explicit, with no default media timescale. create_subgroup_writer writes arbitrary object payloads and metadata. The Relay SDK adds the bounded, single-object-group publishing policy on top.

The transport interface is moq_core.transport.MoqtTransport, the part of a WebTransport session the drivers need, spelled for asyncio. caprid_relay supplies the aioquic implementation, and tests supply in-memory pairs.

This package follows MOQT draft 22, and draft 20 for a peer that selects it. It receives subscription objects over reliable streams. It does not implement application timing, decoding, datagram reception, or automatic session recovery.

The implementation is a port of ts/packages/moq-core, which is itself an attributed snapshot of the Video.js protocol modules under Apache-2.0. See NOTICE and UPSTREAM.json.

To use Relay from an application, start with the Python quickstart.

The distribution on PyPI is caprid-moq-core, and the import name is moq_core.

Stability

Before 1.0, a minor version can break the API. This package releases together with caprid-relay at the same version. See the changelog.

Metadata

Release files for caprid-moq-core 0.4.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 caprid-moq-core 0.4.0
File Size Uploaded Provenance Actions
caprid_moq_core-0.4.0.tar.gz 63.2 kB With provenance Details for caprid_moq_core-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for caprid-moq-core 0.4.0
File Interpreter ABI Platform Actions
caprid_moq_core-0.4.0-py3-none-any.whl Python 3 none any Details for caprid_moq_core-0.4.0-py3-none-any.whl

Total release size: 134.6 kB

Release files / caprid_moq_core-0.4.0.tar.gz

Download URL caprid_moq_core-0.4.0.tar.gz
Size 63.2 kB
Tags Source
SHA-256 checksum
How to use checksums
6509f6ea1fa40d7677a61326e169620e209181a1a41e77c40b58f49b05593249
BLAKE2b-256 checksum
How to use checksums
a9b8df5f783c15509c593b503c40ebcbb76017a45b43b723123a53ad3ab77d1a
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 6, 2026.

Transparency log

Release files / caprid_moq_core-0.4.0-py3-none-any.whl

Download URL caprid_moq_core-0.4.0-py3-none-any.whl
Size 71.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
af9abfee48a566dcb5e33fd032bee33fc5c686f62262a1cd841092beb556f7f8
BLAKE2b-256 checksum
How to use checksums
eb51febcc2efb97e2a31b482bef40bf26bf179661673794b45fd52f8931cfbce
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 6, 2026.

Transparency log

Security for caprid-moq-core 0.4.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 caprid_moq_core-0.4.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 6, 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.

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