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.1

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.1
File Size Uploaded Provenance Actions
open_pseudonym-0.1.1.tar.gz 94.5 kB With provenance Details for open_pseudonym-0.1.1.tar.gz

Built distribution (wheel)

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

Total release size: 183.4 kB

Release files / open_pseudonym-0.1.1.tar.gz

Download URL open_pseudonym-0.1.1.tar.gz
Size 94.5 kB
Tags Source
SHA-256 checksum
How to use checksums
761bbe214a88a43f77efe22d505e47e751591d8c810e4ea6bf02658603ac8e11
BLAKE2b-256 checksum
How to use checksums
43082cb951059ea5c40b8de21a11408bbcbaafaa2073e76e23c3e21f1dd90026
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.1-py3-none-any.whl

Download URL open_pseudonym-0.1.1-py3-none-any.whl
Size 88.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f3646f4990ac08598dc782aab945964d3c8641f2b4764c512f54178e1c628cb9
BLAKE2b-256 checksum
How to use checksums
5f75dc66787c9885f28380bc7733eeb4ff4de4b402de4efbe4333423407b987f
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.1

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.1.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.1 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