Cosmian Anonymization library in Python
Project description
anonymization-python
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
Release history Release notifications | RSS feed
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
File details
Details for the file cosmian_anonymization-1.2.4-py3-none-any.whl
.
File metadata
- Download URL: cosmian_anonymization-1.2.4-py3-none-any.whl
- Upload date:
- Size: 20.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2050ed1cfb80ed230dcf92ea6de5b2d8033ff20b8528b9a9c240ffbc074c9cd |
|
MD5 | af3fde4cc223c53679d29986fd662052 |
|
BLAKE2b-256 | 4015fccdc6bfe3efc9ba9b600db3c614c681ea1df820b33d7aa620e4a6ff5753 |