Skip to main content

A lightweight Python library for anonymizing and pseudonymizing tabular data.

Project description

Aindo Anonymize

PyPI release PyPI pyversions PyPI - License

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

aindo_anonymize-1.1.1.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aindo_anonymize-1.1.1-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

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

Hashes for aindo_anonymize-1.1.1.tar.gz
Algorithm Hash digest
SHA256 d8fdfad5cca5906c8a263d95baba4cc9dc7c6c825647fe5b89612e1339057eef
MD5 aa6da66b796755feaaab7776a63f8864
BLAKE2b-256 df5d6405d2bd04bc6fdbad9eca56d12a08757173315210da8f6504a88310bddd

See more details on using hashes here.

File details

Details for the file aindo_anonymize-1.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for aindo_anonymize-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fb6506a15b67943f16a23a424b68bd65d6c222c2bfca107f75eefd068ef9e634
MD5 1259609b97497de2770853f3afed4b37
BLAKE2b-256 8f5b62050c919e66a660def465614cf043106434e07b45c7eb0b4680071934bd

See more details on using hashes here.

Supported by

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