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.2.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.2.0
File Size Uploaded Provenance Actions
caprid_moq_core-0.2.0.tar.gz 61.8 kB With provenance Details for caprid_moq_core-0.2.0.tar.gz

Built distribution (wheel)

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

Total release size: 131.7 kB

Release files / caprid_moq_core-0.2.0.tar.gz

Download URL caprid_moq_core-0.2.0.tar.gz
Size 61.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e90359dc04f8cecbb37907ea50fb69c6be169db9342cf1fff4773a4baac50020
BLAKE2b-256 checksum
How to use checksums
dd274052ff8fdb3a226c046bc2d766fea032addb446f46a6988b9583f508a5c9
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 28, 2026.

Transparency log

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

Download URL caprid_moq_core-0.2.0-py3-none-any.whl
Size 69.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ff31fbb2d36b5b520c066e07786fcf129619f309873ad95327a190c8569498a
BLAKE2b-256 checksum
How to use checksums
54dbf0656d75558470c8c9be6dc75addf057da5e71223c592da9e33572aaa4c3
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 28, 2026.

Transparency log

Security for caprid-moq-core 0.2.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.2.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 28, 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