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 SDK supplies the bounded, single-object-group publishing policy above it.

The transport seam is moq_core.transport.MoqtTransport: the structural subset 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, and 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.

For Relay application usage and local installation, start with the Python quickstart.

The distribution on PyPI is caprid-moq-core; 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.1.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.1.0
File Size Uploaded Provenance Actions
caprid_moq_core-0.1.0.tar.gz 60.8 kB With provenance Details for caprid_moq_core-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 129.6 kB

Release files / caprid_moq_core-0.1.0.tar.gz

Download URL caprid_moq_core-0.1.0.tar.gz
Size 60.8 kB
Tags Source
SHA-256 checksum
How to use checksums
53683da3572cb10c0f59b90ed07cf7b2ed5b72913a5e5537209e1ca441bee9ab
BLAKE2b-256 checksum
How to use checksums
0b73de7897347952d13a39cafe78ab30aabe1681e60513726b6197c10e5db4c5
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 27, 2026.

Transparency log

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

Download URL caprid_moq_core-0.1.0-py3-none-any.whl
Size 68.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b753c2ba331c83fc6d52e8edb3a29a34e1b8093a9e24a6d3459ae20afbb96a36
BLAKE2b-256 checksum
How to use checksums
f4257e3d7588bf0bf3b089a38cec4dbf191324b21a9aa39cb576e3b5071b7589
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 26, 2026.

Transparency log

Security for caprid-moq-core 0.1.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.1.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 27, 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