Metadata-Version: 2.4
Name: despii
Version: 0.1.0
Summary: Privacy middleware for DSPy and LLM pipelines. Redact and reconstruct PII locally using regex, spaCy, and LLM hybrid detection. 
License: MIT
License-File: LICENSE
Author: Matt Struble
Author-email: 4325029+mattstruble@users.noreply.github.com
Requires-Python: >=3.9
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Project-URL: Bug Tracker, https://github.com/mattstruble/de-spii/issues
Project-URL: Changelog, https://github.com/mattstruble/de-spii/releases
Description-Content-Type: text/markdown

# de-spii

<p align="center">
  <img src="docs/assets/banner.png" alt="de-spii logo" width="600"/>
</p>

**Privacy middleware for DSPy and LLM pipelines.**

De-spii is a Python package for detecting and redacting Personally Identifiable Information (PII) from user prompts before they are sent to cloud-based LLMs. It ensures privacy by stripping sensitive data locally, forwarding redacted queries upstream, and then reconstructing the original content from placeholders after the response.

---

## Roadmap

* [ ] Initial release with regex + spaCy + LLM hybrid redaction
* [ ] DSPy + LangChain pipeline integration demos
* [ ] Add pluggable detector registry
* [ ] PyPI release
* [ ] Docker image with preloaded spaCy models

