Metadata-Version: 2.4
Name: secretstuff
Version: 1.0.1
Summary: A comprehensive PII redaction and reverse mapping library
Home-page: https://github.com/adw777/secretStuff
Author: axondendrite
Author-email: axondendrite <amandogra2016@gmail.com>, Aksman <akshatmanihar580@gmail.com>
Maintainer: Aksman
Maintainer-email: akshatmanihar580@gmail.com
License: MIT
Project-URL: Homepage, https://github.com/adw777/secretStuff
Project-URL: Bug Reports, https://github.com/adw777/secretStuff#/issues
Project-URL: Source, https://github.com/adw777/secretStuff#
Project-URL: Documentation, https://github.com/adw777/secretStuff/blob/main/README.md
Keywords: pii,redaction,privacy,nlp,gliner,data-protection,anonymization,secretStuff
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Topic :: Security
Classifier: Topic :: Text Processing
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: gliner>=0.2.0
Requires-Dist: torch>=1.9.0
Requires-Dist: transformers>=4.20.0
Requires-Dist: numpy>=1.21.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0.0; extra == "dev"
Requires-Dist: black>=22.0.0; extra == "dev"
Requires-Dist: flake8>=5.0.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Dynamic: author
Dynamic: home-page
Dynamic: license-file
Dynamic: maintainer
Dynamic: maintainer-email
Dynamic: requires-python

# SecretStuff

A production-ready Python library for identifying, redacting, and reversing personally identifiable information (PII) in text using advanced NLP models.

## Key Features
- **PII Identification**: Detect 150+ types of PII using GLiNER models
- **Flexible Redaction**: Replace PII with configurable dummy values
- **Reverse Mapping**: Restore original PII from redacted text
- **Production Ready**: Type hints, comprehensive tests, robust error handling

## Quick Example
```python
from secretstuff import SecretStuffPipeline

pipeline = SecretStuffPipeline()
redacted_text, entities, mapping = pipeline.identify_and_redact(
    "John Doe's email is john@example.com and phone is +1-555-123-4567"
)
```

## Documentation
For complete documentation, examples, and API reference, visit:
https://github.com/adw777/secretStuff/blob/main/README.md
