Metadata-Version: 2.4
Name: shieldpipe
Version: 0.1.0
Summary: Privacy middleware for LLM & AI pipelines — PII detection, pseudonymization, and rehydration
License: MIT
Project-URL: Homepage, https://github.com/shieldpipe/shieldpipe
Keywords: pii,privacy,llm,ai,pseudonymization
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: cryptography>=3.0.0

# ShieldPipe Python SDK

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

## Installation

```bash
pip install shieldpipe
```

## Quick Start

```python
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
