Skip to main content

ErasureProof Python SDK

A dependency-free client for the ErasureProof deletion-audit API. It uses only the Python standard library and never logs or embeds the API key.

pip install erasureproof-sdk

For development from the repository:

pip install -e sdk/python

Create a sandbox and run an audit

from erasureproof_sdk import create_sandbox

client, sandbox = create_sandbox("https://erasureproof.onrender.com")

run = client.run_request(sandbox["sample_request_id"], remediate=False)
print(run["status"])
print(run["plan"]["steps"])

proof = client.attestation(sandbox["sample_request_id"])
print(proof["signature"])
print(proof["payload"]["status"])

The sandbox response includes a one-time administrator key scoped to the new tenant. Store it in a secret manager for later use.

Bring your own key

from erasureproof_sdk import ErasureProofClient

client = ErasureProofClient("https://erasureproof.onrender.com", api_key=key)
print(client.health())
print(client.overview(tenant_id="ten_..."))

Errors raise ErasureProofError with status_code, detail, and request_id. A request_id is useful when contacting support or correlating access logs.

Manage keys

created = client.create_api_key(tenant_id, name="CI", role="operator", expires_in_days=90)
print(created["api_key"])  # shown once
client.rotate_api_key(created["id"])
client.revoke_api_key(created["id"])

Key administration requires an administrator key scoped to the tenant. Use a deployment-wide administrator key only for tenant creation.

Metadata

Release files for erasureproof-sdk 1.1.2

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

Source distribution (sdist)

Source distribution for erasureproof-sdk 1.1.2
File Size Uploaded Provenance Actions
erasureproof_sdk-1.1.2.tar.gz 4.0 kB With provenance Details for erasureproof_sdk-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for erasureproof-sdk 1.1.2
File Interpreter ABI Platform Actions
erasureproof_sdk-1.1.2-py3-none-any.whl Python 3 none any Details for erasureproof_sdk-1.1.2-py3-none-any.whl

Total release size: 8.5 kB

Release files / erasureproof_sdk-1.1.2.tar.gz

Download URL erasureproof_sdk-1.1.2.tar.gz
Size 4.0 kB
Tags Source
SHA-256 checksum
How to use checksums
a8f73c45252b1eea217920527199e2b375d8ee6b72d5ce7984e1547f1a1b7b75
BLAKE2b-256 checksum
How to use checksums
89adf213cc9d94c98c9a2ae76b29f25e09daa09fe3e15a2e1d015c51fa5da746
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Release files / erasureproof_sdk-1.1.2-py3-none-any.whl

Download URL erasureproof_sdk-1.1.2-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4e056002f005c70f28159d37ee6e952bb17c88cc6b139185b2dbd52be53eb48
BLAKE2b-256 checksum
How to use checksums
e5d36563e37d3914def834db4cdb03df393303c0b9800a70c1e9b851efba4e5c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 31, 2026.

Transparency log

Security for erasureproof-sdk 1.1.2

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 erasureproof_sdk-1.1.2.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 31, 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