Skip to main content

mediatheque-protocol

Versioned wire protocol shared by the Médiathèque agent and server: JSON envelopes with strict Pydantic payload models, carried over the agent's outbound WebSocket connection.

from mediatheque_protocol import messages as m

frame = m.dumps("hello", m.AgentHello(
    agent_id="...", device_token="...", hostname="nas", version="0.2.0",
))
env = m.loads(frame)          # rejects unsupported protocol versions
hello = m.parse_payload(env)  # validates payload, rejects unknown fields

License

FSL-1.1-MIT — free for nearly all use; converts to MIT two years after each release.

Metadata

Release files for mediatheque-protocol 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 mediatheque-protocol 0.2.0
File Size Uploaded Provenance Actions
mediatheque_protocol-0.2.0.tar.gz 5.6 kB Without provenance Details for mediatheque_protocol-0.2.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mediatheque-protocol 0.2.0
File Interpreter ABI Platform Actions
mediatheque_protocol-0.2.0-py3-none-any.whl Python 3 none any Details for mediatheque_protocol-0.2.0-py3-none-any.whl

Total release size: 12.6 kB

Release files / mediatheque_protocol-0.2.0.tar.gz

Download URL mediatheque_protocol-0.2.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6bbe3d13e0ab0402a46606630848effe5424f918bcedaf18be16dd7d01116cfa
BLAKE2b-256 checksum
How to use checksums
f4f0d6d0b2a99a83f4d7fc9f686ad8a322b92ee64fd7ce44753889dfdfbd1eb3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

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

Download URL mediatheque_protocol-0.2.0-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8383d90464049b61c4d0525028e1a9e4f96c97d1fe3f4110aafdbf339ed0fda7
BLAKE2b-256 checksum
How to use checksums
790e0b223a99daf7208e6ba878dfceab9f3cebf68ab915d3574d10e518f0e90f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Security for mediatheque-protocol 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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files No provenance

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