Skip to main content

open-pseudonym (Python)

Keep personal data away from AI models without making them worse at the task. Task-aware stand-ins, local restore, secret handles that are filled in outside the model, and signed receipts for every request that leaves.

pip install open-pseudonym              # core, needs only cryptography
pip install "open-pseudonym[proxy]"     # local proxy for OpenAI and Anthropic style APIs
pip install "open-pseudonym[mcp]"       # MCP middleware and gateway
pip install "open-pseudonym[browser]"   # Playwright handle filler
from open_pseudonym import Session, Source

s = Session("draft_reply")
masked = s.mask("Hi Dana,\nyour Acme code is 482913.", Source(sender="no-reply@acme.com"))
print(masked.text)                                   # Hi <a fake name>, ... {{OTP_1}}.
print(s.restore(masked.text, reveal_handles=True))   # exactly the original

Try opn demo. The specification, guides and test vectors live at https://github.com/Ishan2036924/open-pseudonym.

This is pseudonymisation, not anonymisation: what reaches the model is still personal data in law. Apache-2.0.

Metadata

Release files for open-pseudonym 0.1.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 open-pseudonym 0.1.0
File Size Uploaded Provenance Actions
open_pseudonym-0.1.0.tar.gz 94.5 kB With provenance Details for open_pseudonym-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for open-pseudonym 0.1.0
File Interpreter ABI Platform Actions
open_pseudonym-0.1.0-py3-none-any.whl Python 3 none any Details for open_pseudonym-0.1.0-py3-none-any.whl

Total release size: 183.4 kB

Release files / open_pseudonym-0.1.0.tar.gz

Download URL open_pseudonym-0.1.0.tar.gz
Size 94.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f9bdab9aff3681b6ce0560db4e835c3109b32c81e7e20b05eec26dae3be4d365
BLAKE2b-256 checksum
How to use checksums
0320bdbcded7db8a6125e5f793ef54553c4cca70d6424207d1ea85a5ac57590e
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 Nov 6, 2026.

Transparency log

Release files / open_pseudonym-0.1.0-py3-none-any.whl

Download URL open_pseudonym-0.1.0-py3-none-any.whl
Size 88.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
395eb5821bff1102dbbaeaac313fb423aa7fec0c6901d66656cf7e873b6739d2
BLAKE2b-256 checksum
How to use checksums
ef0a627053b7e20992e8bc17a84334a79aa17eedfa3d57ff1d403b015aa23d8a
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 Nov 6, 2026.

Transparency log

Security for open-pseudonym 0.1.0

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 open_pseudonym-0.1.0.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 Nov 6, 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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files Full provenance

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