Skip to main content

Privacy middleware for LLM & AI pipelines — PII detection, pseudonymization, and rehydration

Project description

ShieldPipe Python SDK

Privacy middleware for LLM & AI pipelines — PII detection, pseudonymization, and rehydration.

Installation

pip install shieldpipe

Quick Start

from shieldpipe import ShieldPipe

shield = ShieldPipe()
result = shield.shield("Send the report to alice@acme.com")
print(result.text)  # "Send the report to EMAIL_1"

# Rehydrate LLM response
llm_response = "I've sent the report to EMAIL_1."
print(result.rehydrate(llm_response))  # "I've sent the report to alice@acme.com."

License

MIT

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

shieldpipe-0.1.0.tar.gz (10.1 kB view details)

Uploaded Source

Built Distribution

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

shieldpipe-0.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file shieldpipe-0.1.0.tar.gz.

File metadata

  • Download URL: shieldpipe-0.1.0.tar.gz
  • Upload date:
  • Size: 10.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for shieldpipe-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3e48151025754860df18ecaacca44e6fe0386c5cbe7a95843bd03d262b4cd60e
MD5 9d95571657000518be7d18088a59d382
BLAKE2b-256 8133aa24d5bb45a807b9e5f830e41dfe729287537cf253100bc9a71b9e23dc87

See more details on using hashes here.

File details

Details for the file shieldpipe-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: shieldpipe-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for shieldpipe-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 732cd35a6de526b1aa03e910346b49fdc8a9c08e4272d78f73048fc0124deac6
MD5 c0e1262a3556dcbaba7939f25e65dbc0
BLAKE2b-256 52236f7bc9e87e8b5d5849205c964f7ca26739504900a49835aa847042376655

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