moq-ffi 0.3.5


pip install moq-ffi

  Latest version

Released: Jul 29, 2026


Meta
Author: Luke Curley
Requires Python: >=3.10

Classifiers

Development Status
  • 3 - Alpha

Intended Audience
  • Developers

Programming Language
  • Python :: 3

Topic
  • Multimedia :: Sound/Audio
  • Multimedia :: Video

moq-ffi

Raw UniFFI bindings for the Media over QUIC Rust crates.

This package is the native foundation: the compiled moq-ffi cdylib plus the auto-generated Python bindings, exposed exactly as uniffi-bindgen emits them (the Moq-prefixed classes). It tracks the moq-ffi Rust crate version one-to-one.

Most callers want moq-rs instead (imported as moq), the ergonomic wrapper with a Pythonic API (no Moq prefixes, async iterators, context managers). Use moq-ffi directly only if you need the unwrapped API or are building your own wrapper.

Installation

pip install moq-ffi

The distribution is moq-ffi; the import name is moq_ffi.

import asyncio

import moq_ffi


async def main() -> None:
    client = moq_ffi.MoqClient()
    session = await client.connect("https://cdn.moq.dev/anon")


asyncio.run(main())

See Also

  • moq-rs. The ergonomic wrapper most callers want (imported as moq).
  • moq-ffi. The Rust crate that produces these bindings.
  • MoQ project. Full monorepo with Rust server, TypeScript browser lib, and more.
No dependencies