Skip to main content

tessera-rs

PyO3 bindings for the Tessera Rust workspace, distributed as tessera-rs on PyPI and imported as tessera_rs in Python.

The underscore in the import name keeps this disjoint from the existing tessera Python package, so the two coexist without collisions.

Status

Phase 3 alpha (0.8.0a3). Ships the smallest useful surface:

from tessera_rs.policy import Policy
from tessera_rs.context import Context
from tessera_rs.scanners import injection_score, scan_unicode_tags
from tessera_rs.audit import canonical_json, JsonlHashchainSink, make_replay_detail
from tessera_rs.ssrf import SsrfGuard
from tessera_rs.url_rules import UrlRulesEngine

Later phases expand the surface to cover sensitivity, ratelimit, evidence, provenance, delegation, and the rest of the moderate-tier primitives ported in Phase 2 + 3.

Build locally

cd /Users/kenith.philip/Tessera/rust/crates/tessera-py
maturin develop  # builds and installs into the current venv
python -c "from tessera_rs.policy import Policy; print(Policy().__class__)"

CI builds wheels via messense/maturin-action for cp310, cp311, cp312 across manylinux2014 / macos-arm64 / macos-x86_64 / win64. TestPyPI publishes happen on every merge to main during alpha; public PyPI publish is gated on Phase 6.

Why a separate crate?

The PyO3 layer is opt-in: building it requires the Python development headers and the maturin toolchain. Keeping it in its own crate means contributors who only touch the Rust data plane do not need a Python toolchain installed.

Release files for tessera-rs 0.11.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 tessera-rs 0.11.0
File Size Uploaded
tessera_rs-0.11.0.tar.gz 210.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tessera-rs 0.11.0
File Interpreter ABI Platform
tessera_rs-0.11.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 1.6 MB

Release files / tessera_rs-0.11.0.tar.gz

Download URL tessera_rs-0.11.0.tar.gz
Size 210.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ff9ad7055d8c91c64c6c7baa80c972e57e28e34d30e9ab9f18b92b231af61a11
BLAKE2b-256 checksum
How to use checksums
69d1c632106f7df9a9e7db3d5ceef6056c6d9c736daf105a11341a70501ecb01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release files / tessera_rs-0.11.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL tessera_rs-0.11.0-cp310-abi3-macosx_11_0_arm64.whl
Size 1.4 MB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b90a21e19674cf4a3a0a5375687085a68f259fd8796cdce5c23e441eeb7172a2
BLAKE2b-256 checksum
How to use checksums
18ba3b4e8d93e2669fc86e2d2f3d05559203f1ed3a3b3d6025e038c42bed520c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/1.13.1

Release history Release notifications | RSS feed

This release

0.11.0 This release

2 release files

0.10.0

2 release files

0.8.0

2 release files

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