Skip to main content

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.0 release on PyPI exists only to reserve the package name. Watch this space for the first functional release.

Planned scope

  • Shield.anonymize(text) -> AnonymizeResult and Shield.deanonymize(text, mapping) -> str — round-trip API.
  • Mapping with 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-core for 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pii_veil-0.0.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pii_veil-0.0.0-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

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

Hashes for pii_veil-0.0.0.tar.gz
Algorithm Hash digest
SHA256 2c2670529da026970769d8bde8144a6d926f54098e92e47af6dacc8a3d3b05dd
MD5 67beef9fa08eb16813e3e313f6669d26
BLAKE2b-256 76127e3295b7983a4e991acf1472c28bdefc113fa5019b0cc1087d3abf6a8975

See more details on using hashes here.

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

Hashes for pii_veil-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aaa233acc05251cf0164b5bcfcb81b2e0e2b24ced16b1c77033d85ac66cde188
MD5 3c85241b1a753857cb5267593e7b0f84
BLAKE2b-256 e2f0d1795c0e176d08568d7b38ac7794b9d196654724b7d7825bb581b5d31197

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page