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.
Release files for 3tears-media-contracts 0.39.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| 3tears_media_contracts-0.39.0.tar.gz | 17.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 3tears_media_contracts-0.39.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 31.9 kB
Release files / 3tears_media_contracts-0.39.0.tar.gz
| Download URL | 3tears_media_contracts-0.39.0.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
82c1812bb898940b2e96f192c5e6c8ef1da864b9c6bc686d204c9e4f48b6e072
|
|
BLAKE2b-256 checksum How to use checksums |
fbf6b788db932f2004fd7170d894f8b68f7a28fa30ff60f3452a8c9214f83fd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 13, 2026.
Transparency logRelease files / 3tears_media_contracts-0.39.0-py3-none-any.whl
| Download URL | 3tears_media_contracts-0.39.0-py3-none-any.whl |
|---|---|
| Size | 14.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3519d1db0dce1151354a0f97bf97f47ecb2c8d626a21e693fb2ef0f31fc7a909
|
|
BLAKE2b-256 checksum How to use checksums |
2cddeec61715e3408699da6c8a72a69b5e29bdc362a61e2acf1d80c26c88ef78
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 13, 2026.
Transparency log