A lightweight Python library for anonymizing and pseudonymizing tabular data.
Project description
Aindo Anonymize
Aindo Anonymize is a lightweight Python library that provides various pseudonymization techniques for anonymizing tabular data.
Quick start
Install
pip install aindo-anonymize
Start anonymizing
Initialize the desired anonymization technique class, set its options, and apply the anonymize method to your data.
import pandas as pd
from aindo.anonymize.techniques import CharacterMasking
col = pd.Series(["John", "Mark", "Lucy", "Alice"])
masking = CharacterMasking(starting_direction="right", mask_length=2)
masking.anonymize_column(col)
# 0 Jo**
# 1 Ma**
# 2 Lu**
# 3 Ali**
# dtype: object
Help
Check the documentation for more details.
Contributing
For instructions on setting up a development environment and how to make a contribution, refer to Contributing to Aindo Anonymize.
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 aindo_anonymize-1.1.1.tar.gz.
File metadata
- Download URL: aindo_anonymize-1.1.1.tar.gz
- Upload date:
- Size: 16.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8fdfad5cca5906c8a263d95baba4cc9dc7c6c825647fe5b89612e1339057eef
|
|
| MD5 |
aa6da66b796755feaaab7776a63f8864
|
|
| BLAKE2b-256 |
df5d6405d2bd04bc6fdbad9eca56d12a08757173315210da8f6504a88310bddd
|
File details
Details for the file aindo_anonymize-1.1.1-py3-none-any.whl.
File metadata
- Download URL: aindo_anonymize-1.1.1-py3-none-any.whl
- Upload date:
- Size: 20.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fb6506a15b67943f16a23a424b68bd65d6c222c2bfca107f75eefd068ef9e634
|
|
| MD5 |
1259609b97497de2770853f3afed4b37
|
|
| BLAKE2b-256 |
8f5b62050c919e66a660def465614cf043106434e07b45c7eb0b4680071934bd
|