Skip to main content

A lightweight Python library for anonymizing tabular data.

Project description

Aindo Anonymize

PyPI release PyPI pyversions PyPI - License

Aindo Anonymize is a lightweight Python library that provides various 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.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page