Skip to main content

Cosmian Anonymization library in Python

Project description


PyPI version Build status

Cosmian Anonymization library in Python


  • As a library
from cosmian_anonymization import anonymize_dataframe

    # 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 hashes)

Uploaded Python 3

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