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.3.tar.gz (16.5 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.3-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file aindo_anonymize-1.1.3.tar.gz.

File metadata

  • Download URL: aindo_anonymize-1.1.3.tar.gz
  • Upload date:
  • Size: 16.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for aindo_anonymize-1.1.3.tar.gz
Algorithm Hash digest
SHA256 ae10ecb0498ae2b7b1ac5bc8997afeb0097c49f032bd8c4d96b2ea850ec5dd10
MD5 2d5be8b859eb1a427f56258bc414f88e
BLAKE2b-256 01575266f8fb27e5f68869d337dd783b8c427dd8119c05f0c9f2a46fe2a41ffa

See more details on using hashes here.

Provenance

The following attestation bundles were made for aindo_anonymize-1.1.3.tar.gz:

Publisher: publish.yml on aindo-com/aindo-anonymize

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

File hashes

Hashes for aindo_anonymize-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 bbbdf5dd813bc9cc4e5b9f7034a58e115fc1e4a8b9969e80be3c16b2ed2f36b3
MD5 6e28b9d445d6bcd1d5a6d52ef8a7b771
BLAKE2b-256 5530b8c869fd7b47c253a9bd8d1ab3747bcd4b148468130213e6b99399c27898

See more details on using hashes here.

Provenance

The following attestation bundles were made for aindo_anonymize-1.1.3-py3-none-any.whl:

Publisher: publish.yml on aindo-com/aindo-anonymize

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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