Skip to main content

Cosmian Anonymization library in Python

Project description

anonymization-python

PyPI version Build status

Cosmian Anonymization library in Python

Usage

  • As a library
from cosmian_anonymization import anonymize_dataframe

try:
    # Anonymize the raw data according to a configuration.
    anonymized_df = anonymize_dataframe(df_raw, config)
except ValueError as e:
    print("Anonymization failed:", e)
  • From command line
cosmian-anonymize <input_csv> <input_config> <output_csv>

Build from source

  • Install dependencies
poetry install
  • Build package
poetry build
  • Run tests
poetry run python -m unittest tests/test*.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

cosmian_anonymization-1.2.4-py3-none-any.whl (20.5 kB view details)

Uploaded Python 3

File details

Details for the file cosmian_anonymization-1.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for cosmian_anonymization-1.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c2050ed1cfb80ed230dcf92ea6de5b2d8033ff20b8528b9a9c240ffbc074c9cd
MD5 af3fde4cc223c53679d29986fd662052
BLAKE2b-256 4015fccdc6bfe3efc9ba9b600db3c614c681ea1df820b33d7aa620e4a6ff5753

See more details on using hashes here.

Supported by

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