Skip to main content

Tisura light SDK — TLS-verified HTTP client with offline record decryption

Project description

tisura (Python)

Python distribution of the tisura-core light SDK, packaged via maturin + UniFFI.

Install

pip install tisura-core

Develop

From this directory:

python3 -m venv .venv && source .venv/bin/activate
pip install maturin
make build       # = maturin develop --release

Produces an editable import tisura_core in the active venv. To build a distributable wheel:

make wheel       # → ../../target/wheels/tisura_core-*.whl

Test

E2E tests round-trip through a live proxy + store. Bring the stack up first:

cd ../../../sentinel && docker compose up -d && make wait-for-services
cd -            # back to bindings/python/
make test

Both tests/happy_path.py (direct response) and tests/redirect.py (3xx follow) assert the bytes received on the tunnel match the bytes the SDK can re-derive offline from proxy-stored records.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tisura_core-0.0.2-py3-none-manylinux_2_34_x86_64.whl (2.5 MB view details)

Uploaded Python 3manylinux: glibc 2.34+ x86-64

File details

Details for the file tisura_core-0.0.2-py3-none-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for tisura_core-0.0.2-py3-none-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1018f24b411e3ea904b705010efec05b0a291c72c8cedbdcf1939846c2521575
MD5 65918166e72cdf35a64abbbcd6754ad4
BLAKE2b-256 ef01e66c40dee00b6deb98af3f1092b6d719c8b4dfb8b5aff41f660e50f6cd93

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page