Skip to main content

tisura (Python)

Python distribution of the tisura-legacy light SDK.

Install

pip install tisura-legacy

Usage

import asyncio
import tisura_legacy as t


async def main():
    client = t.Client("<api-key>")

    args = t.SendRequestArgs(
        server_host="<host>",
        endpoint="<path>",
        method=t.HttpMethod.GET,
        params=[],
        body=[],
        headers=[],
        server_port=None,
    )

    result = await client.send_request(args)
    plaintext = await client.rebuild_encrypted_records(result)


asyncio.run(main())

Notarization

notarize returns a NotarizationCertificate and leaves the PDF untouched. data is a list[Kv] co-notarized with the document and defaults to empty.

sign is the proxy-free alternative: it requests a detached ES256 signature over the PDF and returns the verification URL. No TLS session, so no certificate — the JWT in the URL is the whole proof.

stamp_qr draws the verification QR onto the PDF. It is synchronous — pure local work, no network. Pass the same bytes that were notarized or signed; placement overrides where the QR lands.

cert = await client.notarize_and_get_certificate(pdf, [t.Kv(key="ref", value="A-42")])
stamped = client.stamp_qr(pdf, cert.verify_url)

url = await client.sign(pdf)
stamped = client.stamp_qr(pdf, url)

Metadata

Release files for tisura-legacy 0.0.21

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for tisura-legacy 0.0.21
File Interpreter ABI Platform Actions
tisura_legacy-0.0.21-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details for tisura_legacy-0.0.21-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
tisura_legacy-0.0.21-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl Python 3 none Linux glibc 2.17+ ARM64 Details for tisura_legacy-0.0.21-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Total release size: 6.9 MB

Release files / tisura_legacy-0.0.21-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tisura_legacy-0.0.21-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 3.5 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
d50ab29d79b591f5d5bd6b2edbf1390f50f469333221d8bdf5e68c4d5dd8bd97
BLAKE2b-256 checksum
How to use checksums
4b3a8d0ba8a2204e56e2f085bf6a055378c995f6052a64192268e6ae8df05bc9
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 Aug 7, 2026.

Transparency log

Release files / tisura_legacy-0.0.21-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL tisura_legacy-0.0.21-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 3.4 MB
Tags Linux glibc 2.17+ ARM64 Python 3
SHA-256 checksum
How to use checksums
1fc19c10d1abbd69ce0d6a6b1e37af4cad89a7ebf045ff4767839963748977ff
BLAKE2b-256 checksum
How to use checksums
ae446c6b0c29423b6a7be0d8709f4b4884efbc277e0695fa743b32f502e87b38
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 Aug 7, 2026.

Transparency log

Security for tisura-legacy 0.0.21

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 tisura_legacy-0.0.21-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

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 Aug 7, 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.

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