AnonyMate


NameAnonyMate JSON
Version 0.1.6 PyPI version JSON
download
home_pagehttps://github.com/PasinduBandaraa/AnonyMate
SummaryA comprehensive toolkit for data anonymization, masking, and encryption.
upload_time2024-10-27 09:34:09
maintainerNone
docs_urlNone
authorPasindu Bandara
requires_python>=3.6
licenseNone
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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, providing a non-reversible transformation to securely store 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**: Assists organizations in meeting data privacy and security requirements, making it suitable for various industries, including healthcare, finance, and e-commerce.

---

## Installation

Install AnonyMate with pip:

```bash
pip install AnonyMate
```

---

## Quick Start

Here’s how to get started using AnonyMate for basic anonymization, encryption, and fake data generation.

Basic Setup

```python
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)
```


---

## Example Use Cases
1. Healthcare Applications: Mask and encrypt patient information to ensure HIPAA compliance and secure sharing with researchers.
2. Financial Services: Anonymize and hash transaction data to meet GDPR and other privacy regulations.
3. Data Science and Machine Learning: Use synthetic data for model training, ensuring no real data is exposed during testing and validation.
4. Customer Support Systems: Anonymize customer data (e.g., names, phone numbers) before sharing with support teams or contractors.
5. Social Media Analytics: Mask user data before running analysis on social media usage to ensure compliance with data privacy standards.

---

## License

### MIT License

This project is licensed under the MIT License, allowing free use, modification, and distribution with attribution.

---

## Contributing
Contributions are welcome! Please open issues or submit pull requests for bug fixes, improvements, or new features.

To contribute:

- Fork the repository.
- Create a new branch (git checkout -b feature-branch).
- Make your changes and commit (git commit -m 'Add new feature').
- Push to the branch (git push origin feature-branch).
- Open a Pull Request.

Thank you for your interest in improving AnonyMate!

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/PasinduBandaraa/AnonyMate",
    "name": "AnonyMate",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": null,
    "author": "Pasindu Bandara",
    "author_email": "pasindubandara99@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/7b/78/b0c770bf3348f0d6edaaab6a2d58a1f2c1029e77970b7dfd3e944b284a4a/AnonyMate-0.1.6.tar.gz",
    "platform": null,
    "description": "# AnonyMate\r\n\r\n**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.\r\n\r\n---\r\n\r\n## Key Features\r\n\r\n- **Data Masking**: Mask sensitive data (e.g., names, emails, IDs) with custom characters, ensuring data cannot be directly identified.\r\n- **Data Hashing**: One-way hashing for sensitive data using SHA-256, providing a non-reversible transformation to securely store confidential data.\r\n- **Encryption & Decryption**: Securely encrypt and decrypt sensitive data using symmetric encryption, allowing data to be accessed only by authorized parties.\r\n- **Synthetic Data Generation**: Generate realistic fake data (e.g., names, emails, addresses) for testing and development without exposing actual sensitive data.\r\n- **Partial Masking and Validation**: Support for partial masking (e.g., \"123-***-789\") for specific use cases and simple validation tools for email formats.\r\n- **Compliance-Friendly**: Assists organizations in meeting data privacy and security requirements, making it suitable for various industries, including healthcare, finance, and e-commerce.\r\n\r\n---\r\n\r\n## Installation\r\n\r\nInstall AnonyMate with pip:\r\n\r\n```bash\r\npip install AnonyMate\r\n```\r\n\r\n---\r\n\r\n## Quick Start\r\n\r\nHere\u00e2\u20ac\u2122s how to get started using AnonyMate for basic anonymization, encryption, and fake data generation.\r\n\r\nBasic Setup\r\n\r\n```python\r\nfrom anonymate.anonymizer import Anonymizer\r\nfrom anonymate.faker_util import generate_fake_name, generate_fake_email, generate_fake_address\r\n\r\n# Initialize Anonymizer\r\nanonymizer = Anonymizer()\r\n\r\n# Mask, hash, encrypt, and decrypt data\r\nmasked = anonymizer.mask_text(\"SensitiveData\")\r\nhashed = anonymizer.hash_text(\"SensitiveData\")\r\nencrypted = anonymizer.encrypt_text(\"SensitiveData\")\r\ndecrypted = anonymizer.decrypt_text(encrypted)\r\n\r\n# Generate fake data\r\nfake_name = generate_fake_name()\r\nfake_email = generate_fake_email()\r\nfake_address = generate_fake_address()\r\n\r\n# Display results\r\nprint(\"Masked:\", masked)\r\nprint(\"Hashed:\", hashed)\r\nprint(\"Encrypted:\", encrypted)\r\nprint(\"Decrypted:\", decrypted)\r\nprint(\"Fake Name:\", fake_name)\r\nprint(\"Fake Email:\", fake_email)\r\nprint(\"Fake Address:\", fake_address)\r\n```\r\n\r\n\r\n---\r\n\r\n## Example Use Cases\r\n1. Healthcare Applications: Mask and encrypt patient information to ensure HIPAA compliance and secure sharing with researchers.\r\n2. Financial Services: Anonymize and hash transaction data to meet GDPR and other privacy regulations.\r\n3. Data Science and Machine Learning: Use synthetic data for model training, ensuring no real data is exposed during testing and validation.\r\n4. Customer Support Systems: Anonymize customer data (e.g., names, phone numbers) before sharing with support teams or contractors.\r\n5. Social Media Analytics: Mask user data before running analysis on social media usage to ensure compliance with data privacy standards.\r\n\r\n---\r\n\r\n## License\r\n\r\n### MIT License\r\n\r\nThis project is licensed under the MIT License, allowing free use, modification, and distribution with attribution.\r\n\r\n---\r\n\r\n## Contributing\r\nContributions are welcome! Please open issues or submit pull requests for bug fixes, improvements, or new features.\r\n\r\nTo contribute:\r\n\r\n- Fork the repository.\r\n- Create a new branch (git checkout -b feature-branch).\r\n- Make your changes and commit (git commit -m 'Add new feature').\r\n- Push to the branch (git push origin feature-branch).\r\n- Open a Pull Request.\r\n\r\nThank you for your interest in improving AnonyMate!\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "A comprehensive toolkit for data anonymization, masking, and encryption.",
    "version": "0.1.6",
    "project_urls": {
        "Homepage": "https://github.com/PasinduBandaraa/AnonyMate"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2be97883d7e2263261ffb20b486976e01c98bde498c77f695a714d94c6c8fe30",
                "md5": "6b8443b0dae9162191f50304fc42ab53",
                "sha256": "3a23540fac4f6776df1369ca237db13e4ee9983c284562842365f285502bed9a"
            },
            "downloads": -1,
            "filename": "AnonyMate-0.1.6-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6b8443b0dae9162191f50304fc42ab53",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 6233,
            "upload_time": "2024-10-27T09:34:07",
            "upload_time_iso_8601": "2024-10-27T09:34:07.620765Z",
            "url": "https://files.pythonhosted.org/packages/2b/e9/7883d7e2263261ffb20b486976e01c98bde498c77f695a714d94c6c8fe30/AnonyMate-0.1.6-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7b78b0c770bf3348f0d6edaaab6a2d58a1f2c1029e77970b7dfd3e944b284a4a",
                "md5": "0ac38ffc16ca230b8e3c914ba6d00232",
                "sha256": "14f6928bf453e405dab81d9cef4599e8eea264d8c2e7ac2b7e1f97ee1d1777e7"
            },
            "downloads": -1,
            "filename": "AnonyMate-0.1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "0ac38ffc16ca230b8e3c914ba6d00232",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 5785,
            "upload_time": "2024-10-27T09:34:09",
            "upload_time_iso_8601": "2024-10-27T09:34:09.435617Z",
            "url": "https://files.pythonhosted.org/packages/7b/78/b0c770bf3348f0d6edaaab6a2d58a1f2c1029e77970b7dfd3e944b284a4a/AnonyMate-0.1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-27 09:34:09",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "PasinduBandaraa",
    "github_project": "AnonyMate",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "anonymate"
}
        
Elapsed time: 0.42850s