Metadata-Version: 2.1
Name: anonLLM
Version: 0.1.1
Summary: Anonymizes personally identifiable information for Large Language Model APIs
Home-page: https://github.com/fsndzomga/anonLLM
Author: FS Ndzomga
Author-email: ndzomgafs@gmail.com
Project-URL: Bug Tracker, https://github.com/fsndzomga/anonLLM/issues
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Provides-Extra: dev

# anonLLM: Anonymize Personally Identifiable Information (PII) for Large Language Model APIs

![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)

anonLLM is a Python package designed to anonymize personally identifiable information (PII) in text data before it's sent to Language Model APIs like GPT-3. The goal is to protect user privacy by ensuring that sensitive data such as names, email addresses, and phone numbers are anonymized.

# Features

Anonymize names
Anonymize email addresses
Anonymize phone numbers
Support for multiple country-specific phone number formats
Reversible anonymization (de-anonymization)
Installation

To install anonLLM, run:

```bash
pip install anonLLM
```

# Quick Start

Here's how to get started with anonLLM:

```python
from anonLLM import OpenaiLanguageModel


## Anonymize a text
text = "My name is Alice Johnson, email: alice.johnson@example.com, phone: +1 234-567-8910."

## Anonymization is handled under the hood
llm = OpenaiLanguageModel(api_key="your_openai_api_key_here")
response = llm.generate(text)

print(response)
```

# Contributing

We welcome contributions!

# License

This project is licensed under the MIT License. See the LICENSE.md file for details.
