Metadata-Version: 2.4
Name: unifyai-pii
Version: 0.1.0
Summary: Country-specific PII recognizers for Microsoft Presidio
Author-email: Vivek Dalvi <vivekdalvi5143@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/Vivek5143/unifyai-pii
Project-URL: Documentation, https://github.com/Vivek5143/unifyai-pii#readme
Project-URL: Repository, https://github.com/Vivek5143/unifyai-pii
Project-URL: Issues, https://github.com/Vivek5143/unifyai-pii/issues
Keywords: presidio,pii,privacy,data-protection,nlp,country-specific
Classifier: Development Status :: 3 - Alpha
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.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Security
Requires-Python: <4.0,>=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: presidio-analyzer>=2.2.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-cov>=4.0; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Dynamic: license-file

# UnifyAi PII

[![PyPI version](https://badge.fury.io/py/unifyai-pii.svg)](https://badge.fury.io/py/unifyai-pii)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Python 3.9+](https://img.shields.io/badge/python-3.9+-blue.svg)](https://www.python.org/downloads/)

Country-specific PII recognizers for Microsoft Presidio - Easy loading of Aadhaar, PAN, SSN, and other country-specific PII detectors.

## Features

- 🌍 Multi-country support: India, USA, UK, Spain, Italy, Australia, Singapore, Poland, Finland
- 🔌 Simple API: Load recognizers with `load_country_recognizers('IN')`
- 🚀 Built on Presidio: Leverages Microsoft Presidio's proven PII detection
- 📦 Zero configuration: Works out of the box with sensible defaults

## Installation

```bash
pip install unifyai-pii
```

```python
from presidio_country_recognizers import create_analyzer_with_countries

analyzer = create_analyzer_with_countries(['IN', 'US'])

results = analyzer.analyze(
    text="My Aadhaar is 234123412346 and SSN is 078-05-1120",
    language="en"
)

for result in results:
    print(f"Found {result.entity_type}: {result.score}")
```

Repository: https://github.com/Vivek5143/unifyai-pii
