Skip to main content

3tears-media-contracts

Dependency-free media capability contracts shared between 3tears media providers (3tears-models) and media consumers (3tears-agent-tools).

This package contains only pure interface types: typing.Protocol classes and stdlib dataclasses. It has zero dependencies by design, so a provider library can implement (or a consumer can accept) these contracts without inheriting any feature package's dependency closure.

from threetears.media.contracts import GeneratedImage, ImageGenerationBackend

MediaFacets carries the additive carrier facets -- rights status, pixel dimensions, and whether a locator points at the file itself or at the page containing it. The vocabulary grows by addition only, and a consumer that does not recognise a facet ignores it rather than failing, so a new carrier ships without a coordinated release.

from threetears.media.contracts import LOCATOR_KIND_DIRECT_FILE, MediaFacets

The legacy import path threetears.agent.tools.protocols remains a re-export shim for installed 3tears-agent-tools consumers.

Metadata

Release files for 3tears-media-contracts 0.85.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 3tears-media-contracts 0.85.0
File Size Uploaded Provenance Actions
3tears_media_contracts-0.85.0.tar.gz 19.8 kB With provenance Details for 3tears_media_contracts-0.85.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for 3tears-media-contracts 0.85.0
File Interpreter ABI Platform Actions
3tears_media_contracts-0.85.0-py3-none-any.whl Python 3 none any Details for 3tears_media_contracts-0.85.0-py3-none-any.whl

Total release size: 36.2 kB

Release files / 3tears_media_contracts-0.85.0.tar.gz

Download URL 3tears_media_contracts-0.85.0.tar.gz
Size 19.8 kB
Tags Source
SHA-256 checksum
How to use checksums
6484b5453618ad888d0b42925d5d028a06c5e05f44331c1a7a5d344a80d906b5
BLAKE2b-256 checksum
How to use checksums
03aaa31a84f86c257cef94b692e285f0a20fa543a3d1335960d1a7751d93f36f
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 30, 2026.

Transparency log

Release files / 3tears_media_contracts-0.85.0-py3-none-any.whl

Download URL 3tears_media_contracts-0.85.0-py3-none-any.whl
Size 16.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ac75a1d30e3f438a5aa270eb677de3dd1f9de6283f1a776fcd6ffb842df86faa
BLAKE2b-256 checksum
How to use checksums
f01a12a2a8e96df91014b79d8c88a77097338394703ca9dcb9265d3f379c3bd3
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 30, 2026.

Transparency log

Security for 3tears-media-contracts 0.85.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 3tears_media_contracts-0.85.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 30, 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.

Release history Release notifications | RSS feed

This release

0.85.0 This release

2 release files Full 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