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
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
shieldpipe-0.1.0.tar.gz
(10.1 kB
view details)
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3e48151025754860df18ecaacca44e6fe0386c5cbe7a95843bd03d262b4cd60e
|
|
| MD5 |
9d95571657000518be7d18088a59d382
|
|
| BLAKE2b-256 |
8133aa24d5bb45a807b9e5f830e41dfe729287537cf253100bc9a71b9e23dc87
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
732cd35a6de526b1aa03e910346b49fdc8a9c08e4272d78f73048fc0124deac6
|
|
| MD5 |
c0e1262a3556dcbaba7939f25e65dbc0
|
|
| BLAKE2b-256 |
52236f7bc9e87e8b5d5849205c964f7ca26739504900a49835aa847042376655
|