Yosoi Python SDK
Yosoi's Python package provides Pydantic authoring and typed outcomes over the public Rust SDK. The current Python surface includes documents, locator plans, typed Contracts, policy, asynchronous Requests, Map, Search, and caller-controlled cancellation. Python Contracts are bound to the Rust extraction and validation pipeline. Cross-language parity is tracked per public item; this package does not claim complete verified parity.
Pydantic models describe inputs and result values. The packaged PyO3 extension calls the public Rust SDK, which owns parsing, locator compilation and evaluation, acquisition and discovery, and complete policy validation. Python objects hold native handles; for example, a parsed document can be reused and closed explicitly or with a context manager. Pydantic 2 is the only declared Python runtime dependency; the native extension is part of the package.
Start with the runnable review examples to inspect Rust policy defaults, Contract schemas and evidence, local HTTP workflows, and network outcomes.
The earlier compatibility report records a local wheel matrix for the pre-Contract SDK snapshot. It does not verify the current Contract binding, CPython 3.14.8t, browser execution, all release platforms, or live Search providers. The public compatibility page records the current evidence boundary.
Interpreter targets and wheels
The package declares >=3.12,<3.16 and requires Pydantic >=2.14,<3.
Its interpreter targets are normal CPython 3.12–3.15, plus free-threaded
CPython 3.14.8t and 3.15.0t.
The native extension uses interpreter-specific wheels: cp312, cp313,
cp314, cp314t, cp315, and cp315t. These ABI tags do not promise a wheel for every
operating system or architecture. Check the artifacts for the release and
platform you plan to install.
Python CI is configured for all six targets. For each target it builds a wheel
from an sdist, installs that wheel, runs package checks, and requests the
policy, locate, contracts, and local examples. Workflow configuration
is not evidence of a completed hosted run or of published wheels for all
platforms. Local Search examples do not certify live providers.
Local workflow
Install one selected interpreter and the locked development environment from
the repository root. Substitute 3.13, 3.14, or the exact
3.14.8t, 3.15.0, or 3.15.0t selector to work with another target:
uv python install 3.12 3.13 3.14 3.14.8t 3.15.0 3.15.0t
uv sync --locked --python 3.12
For package checks that build and install a wheel from an sdist:
uv sync --locked --no-install-project --python 3.12
uv run --no-sync ruff check python
uv run --no-sync ruff format --check python
uv run --no-sync ty check python
interpreter=$(uv run --no-sync python -c 'import os, sys; print(os.path.realpath(sys.executable))')
CARGO_BUILD_JOBS=1 uv build --no-build-isolation --config-setting="build-args=--interpreter=$interpreter"
uv pip install --python .venv/bin/python --reinstall dist/*.whl
uv run --no-sync pytest
The build command produces an sdist and builds the wheel from it with the locked
development tools. Source builds need the Rust toolchain and native build
prerequisites. Use one Cargo worker. For iterative binding work,
uv sync --locked --python <interpreter> builds an editable installation.
The explicit resolved interpreter path keeps the normal and free-threaded
ABIs distinct when switching the project environment with a shared Cargo
target directory.
Metadata
Release files for yosoi 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| yosoi-0.1.1.tar.gz | 2.2 MB | With provenance | Details for yosoi-0.1.1.tar.gz |
Built distributions (wheels)
Total release size: 156.9 MB
Release files / yosoi-0.1.1.tar.gz
| Download URL | yosoi-0.1.1.tar.gz |
|---|---|
| Size | 2.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2bdc13a519e431e570b1456c76f12a3834ff8dfdbd03bac09f531c8e00718c50
|
|
BLAKE2b-256 checksum How to use checksums |
72c803e600f625e88d2316f418af2339e0a23f7f83ac2522d04044b2bf2fae58
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp315-abi3.abi3t-win_amd64.whl
| Download URL | yosoi-0.1.1-cp315-abi3.abi3t-win_amd64.whl |
|---|---|
| Size | 9.8 MB |
| Tags | CPython 3.15 Windows x86-64 abi3 abi3t |
|
SHA-256 checksum How to use checksums |
610aed124d915630572aef603b1aa83d36b3d423ccb3f63e10fbe0dbf546f48a
|
|
BLAKE2b-256 checksum How to use checksums |
3cdca1081c0cda425592ed8edb2133b87aa28ced6bd63da937749daf69724b03
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl
| Download URL | yosoi-0.1.1-cp315-abi3.abi3t-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.15 Linux glibc 2.28+ x86-64 abi3 abi3t |
|
SHA-256 checksum How to use checksums |
b69dfe500302c9e1871c218e5cb2a89a790bcae76e879b5c0ded36adf5bb5015
|
|
BLAKE2b-256 checksum How to use checksums |
9901a13187b34660de44267d18addbdce3094f7e8984c38551513016bb685ae1
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl
| Download URL | yosoi-0.1.1-cp315-abi3.abi3t-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 11.2 MB |
| Tags | CPython 3.15 Linux glibc 2.28+ ARM64 abi3 abi3t |
|
SHA-256 checksum How to use checksums |
f89b47abcc4aad8303f4d5281a87ac96b3e5bb980e93445c10fa2e3a38f6a9e7
|
|
BLAKE2b-256 checksum How to use checksums |
d94f153eb135df326b5971fed8a87096559368038e396393102ce36cca27483b
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp315-abi3.abi3t-macosx_11_0_x86_64.whl
| Download URL | yosoi-0.1.1-cp315-abi3.abi3t-macosx_11_0_x86_64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | CPython 3.15 abi3 abi3t macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
bcf89eb914c81bb8a09ae126665c871aa42e60cf4c047e62e16f7e60fbf5c587
|
|
BLAKE2b-256 checksum How to use checksums |
902420115894615ebda04c4e1646a536d0a620bc3069d6cdb03a6a336f570751
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp315-abi3.abi3t-macosx_11_0_arm64.whl
| Download URL | yosoi-0.1.1-cp315-abi3.abi3t-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.8 MB |
| Tags | CPython 3.15 abi3 abi3t macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
7797f807a097f5836e28f7ec14da0fe10cbe2cc12e8bf308693b4ce2786c0349
|
|
BLAKE2b-256 checksum How to use checksums |
ddaaddbe4cacb320c0d24cd5ea53d091c271f1229143fa082de771d1435fa265
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp314-cp314t-win_amd64.whl
| Download URL | yosoi-0.1.1-cp314-cp314t-win_amd64.whl |
|---|---|
| Size | 9.7 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bbf39033810fdf31f8c7cd57418a9ba1a2ee4df83f222da2e742447ad27f6576
|
|
BLAKE2b-256 checksum How to use checksums |
21c9fa0c3fe37ffd0dfce9a5bcb6c7b0189b3e8825fd97250a4f2c9d1e04ae6e
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp314-cp314t-manylinux_2_28_x86_64.whl
| Download URL | yosoi-0.1.1-cp314-cp314t-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
5a7e9e28ee8ff6d63eccf8f645d39304630ed2402da38a5e49d88c67dd2a721c
|
|
BLAKE2b-256 checksum How to use checksums |
234ce24b3c1134308acbfadf546c334f8213506614751b0210f14ae09c6240e8
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp314-cp314t-manylinux_2_28_aarch64.whl
| Download URL | yosoi-0.1.1-cp314-cp314t-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 11.1 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
68fd3a95414f02496fe308ab294b0c4f1019f8c050e75b08c06bedda4f70d804
|
|
BLAKE2b-256 checksum How to use checksums |
bd9eb781dac442edcbc9b9d37dbf105ef3bf0064f75576fa924029f399a836cf
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp314-cp314t-macosx_11_0_x86_64.whl
| Download URL | yosoi-0.1.1-cp314-cp314t-macosx_11_0_x86_64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
564232bf8f3e0d742620b3f72de021201b82e6de59c0deadc18a15ba8393b107
|
|
BLAKE2b-256 checksum How to use checksums |
41b162ee51359b5975c49d6289835dd60852919f24b2e8ac527f9b38edc2f5df
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp314-cp314t-macosx_11_0_arm64.whl
| Download URL | yosoi-0.1.1-cp314-cp314t-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.8 MB |
| Tags | CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
143b7e5806ce72dabc65b0ee508fa2153e7ac898c79cd57351cae4f8009a7069
|
|
BLAKE2b-256 checksum How to use checksums |
cb4400af8f16ddcc7fd4b419d36cdf65e26c31430c747fa35410b5b3cbec01a4
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp312-abi3-win_amd64.whl
| Download URL | yosoi-0.1.1-cp312-abi3-win_amd64.whl |
|---|---|
| Size | 9.8 MB |
| Tags | CPython 3.12 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
bdee9965491a0585a410811e2e0afd5f109fab54a6c61a45bf164608e3f1c5e9
|
|
BLAKE2b-256 checksum How to use checksums |
3fbafe2c4724b1d47b0434991e58a89574364078501aa9d909b8657705ffe4d4
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp312-abi3-manylinux_2_28_x86_64.whl
| Download URL | yosoi-0.1.1-cp312-abi3-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 10.9 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
f098805b6f96ee4682db75e6810537b04c847f89a9ac063abc72cfec6ba839df
|
|
BLAKE2b-256 checksum How to use checksums |
f0069462debcd8dd1ce52ed2f2bcfae6bcc90c286f4d114f287639192d15d88b
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp312-abi3-manylinux_2_28_aarch64.whl
| Download URL | yosoi-0.1.1-cp312-abi3-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 11.2 MB |
| Tags | CPython 3.12 Linux glibc 2.28+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
1f4381b5159006f6c175ab467bb63a238d8f03ff431d8733d2a67b4a5e4c71ae
|
|
BLAKE2b-256 checksum How to use checksums |
8d269facdb156d347d2601f43dad08f05d66382c1213457ff8311153449f2dad
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp312-abi3-macosx_11_0_x86_64.whl
| Download URL | yosoi-0.1.1-cp312-abi3-macosx_11_0_x86_64.whl |
|---|---|
| Size | 9.9 MB |
| Tags | CPython 3.12 abi3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
61aaa59c8e7ee951c217f90ec8afcd77493c2a916c676ae9b8c9907d9f3e1bc4
|
|
BLAKE2b-256 checksum How to use checksums |
0479308970558cc5f6736bc67c76280f894ff46bafa4accab2b8b01266709c36
|
| 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 Oct 11, 2026.
Transparency logRelease files / yosoi-0.1.1-cp312-abi3-macosx_11_0_arm64.whl
| Download URL | yosoi-0.1.1-cp312-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 9.8 MB |
| Tags | CPython 3.12 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8870001b9f55db2be730b5ed860f2217c3937ba732ff2dcf02f17cf7cecb4eda
|
|
BLAKE2b-256 checksum How to use checksums |
06b5b4729657b8be226c959c9305cbdd09527cfaf2578b3fa83f68f1f7138f3d
|
| 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 Oct 11, 2026.
Transparency logSecurity for yosoi 0.1.1
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
All 16 files in this release have been uploaded with provenance metadata.
Attestation for yosoi-0.1.1.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 11, 2026.
Transparency logA 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.