Anonymizes an Excel file and synthesizes new data in its place
Project description
Excel Anonymizer
A Python script that anonymizes an Excel file and synthesizes new data in its place.
Convert your sheets with sensitive data into anonymized data.
What is Excel Anonymizer
Excel Anonymizer is a python script that helps to ensure sensitive data is properly managed and governed. It provides fast identification and anonymization for private entities in text such as credit card numbers, names, locations, phone numbers, email address, date/time, with more entities to come.
Use case
Data anonymization is crucial because it helps protect privacy and maintain confidentiality. If data is not anonymized, sensitive information such as names, addresses, contact numbers, or other identifiers linked to specific individuals could potentially be learned and misused. Hence, by obscuring or removing this personally identifiable information (PII), data can be used freely without compromising individuals’ privacy rights or breaching data protection laws and regulations.
Overview
Anonymization consists of two steps:
- Identification: Identify all data fields that contain personally identifiable information (PII).
- Replacement: Replace all PIIs with pseudo values that do not reveal any personal information about the individual but can be used for reference.
Excel Anonymizer uses Microsoft Presidio together with Faker framework for anonymization purposes.
Quickstart
-
Install the requirements
pip install presidio_analyzer pip install presidio_anonymizer python -m spacy download en_core_web_lg
-
Install the package
pip install excel-anonymizer
-
Run the demo
excel-anonymizer ../../personal_information.xlsx
That's it!
Usage
To use Excel Anonymizer with your Excel file, simply input the file.
excel-anonymizer your_excel_file_here.xlsx
Author
Siddharth Bhatia
License: MIT License
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file excel_anonymizer-1.1.5.tar.gz
.
File metadata
- Download URL: excel_anonymizer-1.1.5.tar.gz
- Upload date:
- Size: 5.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba6e22b627da28ef3f8897a818483e175f54deb3dae3c1335b634c1b4f5cb8a3 |
|
MD5 | ff22d00b4f7ffd91ffb91c344f05bfc0 |
|
BLAKE2b-256 | ed42ebe37c580bdf2cd614b1bb70878654773774afd62a271617bf75aa0a3301 |
File details
Details for the file excel_anonymizer-1.1.5-py3-none-any.whl
.
File metadata
- Download URL: excel_anonymizer-1.1.5-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b64b697d49c31dcf52c848e0de89e8b55cbf1677841bfb4fbaf4054abb937054 |
|
MD5 | d720401bfb03ebfaaa48cc5d0ebc0ef6 |
|
BLAKE2b-256 | 72fffebab5431e95ffdd1f65fb47591be42bcd847450be9da30e4a30b54fcb7a |