A comprehensive toolkit for data anonymization, masking, and encryption.
Project description
AnonyMate
AnonyMate is a Python toolkit that provides a powerful suite of tools for data anonymization, masking, encryption, and fake data generation. Designed for developers working with sensitive information, AnonyMate helps ensure compliance with data privacy regulations (e.g., GDPR, HIPAA) while simplifying the anonymization process for testing, analysis, and data sharing.
Key Features
- Data Masking: Mask sensitive data (e.g., names, emails, IDs) with custom characters, ensuring data cannot be directly identified.
- Data Hashing: One-way hashing for sensitive data, using SHA-256 to provide a non-reversible transformation for securely storing confidential data.
- Encryption & Decryption: Securely encrypt and decrypt sensitive data using symmetric encryption, allowing data to be accessed only by authorized parties.
- Synthetic Data Generation: Generate realistic fake data (e.g., names, emails, addresses) for testing and development without exposing actual sensitive data.
- Partial Masking and Validation: Support for partial masking (e.g., "123-***-789") for specific use cases and simple validation tools for email formats.
- Compliance-Friendly: Helps organizations meet data privacy and security requirements, making it suitable for various industries, including healthcare, finance, and e-commerce.
Installation
Install AnonyMate using pip:
pip install AnonyMate
```bash
from anonymate.anonymizer import Anonymizer
from anonymate.faker_util import generate_fake_name, generate_fake_email, generate_fake_address
# Initialize Anonymizer
anonymizer = Anonymizer()
# Mask, hash, encrypt, and decrypt data
masked = anonymizer.mask_text("SensitiveData")
hashed = anonymizer.hash_text("SensitiveData")
encrypted = anonymizer.encrypt_text("SensitiveData")
decrypted = anonymizer.decrypt_text(encrypted)
# Generate fake data
fake_name = generate_fake_name()
fake_email = generate_fake_email()
fake_address = generate_fake_address()
# Display results
print("Masked:", masked)
print("Hashed:", hashed)
print("Encrypted:", encrypted)
print("Decrypted:", decrypted)
print("Fake Name:", fake_name)
print("Fake Email:", fake_email)
print("Fake Address:", fake_address)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file AnonyMate-0.1.3.tar.gz.
File metadata
- Download URL: AnonyMate-0.1.3.tar.gz
- Upload date:
- Size: 5.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4b6ddde524c8cd3f234dd4f931eb3cd09c65a56185baee0b54e8ec4e908e2dd
|
|
| MD5 |
42dad802a8ee2ac7b897ee2ff382d6cc
|
|
| BLAKE2b-256 |
6dec73e4ee872548aef234be7086330bd248617e7c59b29c1fc09bbcaeb8ce15
|
File details
Details for the file AnonyMate-0.1.3-py3-none-any.whl.
File metadata
- Download URL: AnonyMate-0.1.3-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f454759b3438032bca83415df171d81d14ea54d137e98a56e978bd22bf41ddc5
|
|
| MD5 |
ad46a5d8d477e7467c22cf191a314e06
|
|
| BLAKE2b-256 |
c19eb34159b4b6b5b240b120f6f7f92164ef3011c0b54dd2c11940c3d2017d73
|