Reversible PII anonymization for LLM workflows. Round-trip with persisted mapping; CLI included.
Project description
pii-veil
Reversible PII anonymization for LLM workflows. Replace PII with stable tokens, send to an LLM, then deanonymize the response using the persisted mapping.
Pre-release placeholder. No implementation has shipped yet. The
0.0.0release on PyPI exists only to reserve the package name. Watch this space for the first functional release.
Planned scope
Shield.anonymize(text) -> AnonymizeResultandShield.deanonymize(text, mapping) -> str— round-trip API.Mappingwith stable JSON serialization for hand-off across processes.- Strategy enum (token / mask / redact / fake), overlap resolution, deterministic token IDs.
- CLI (
pii-veil anonymize,pii-veil deanonymize). - Detector-agnostic core; depends on
pii-corefor default detectors.
Sibling packages
pii-core— multi-language detection primitives.pii-presidio— Microsoft Presidio plugin with its own optional reversible operator.
License
Apache-2.0. See LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pii_veil-0.0.0.tar.gz.
File metadata
- Download URL: pii_veil-0.0.0.tar.gz
- Upload date:
- Size: 5.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c2670529da026970769d8bde8144a6d926f54098e92e47af6dacc8a3d3b05dd
|
|
| MD5 |
67beef9fa08eb16813e3e313f6669d26
|
|
| BLAKE2b-256 |
76127e3295b7983a4e991acf1472c28bdefc113fa5019b0cc1087d3abf6a8975
|
File details
Details for the file pii_veil-0.0.0-py3-none-any.whl.
File metadata
- Download URL: pii_veil-0.0.0-py3-none-any.whl
- Upload date:
- Size: 6.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaa233acc05251cf0164b5bcfcb81b2e0e2b24ced16b1c77033d85ac66cde188
|
|
| MD5 |
3c85241b1a753857cb5267593e7b0f84
|
|
| BLAKE2b-256 |
e2f0d1795c0e176d08568d7b38ac7794b9d196654724b7d7825bb581b5d31197
|