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
Metadata
Release files for cosmian-anonymization 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cosmian_anonymization-1.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Release files / cosmian_anonymization-1.2.4-py3-none-any.whl
| Download URL | cosmian_anonymization-1.2.4-py3-none-any.whl |
|---|---|
| Size | 20.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c2050ed1cfb80ed230dcf92ea6de5b2d8033ff20b8528b9a9c240ffbc074c9cd
|
|
BLAKE2b-256 checksum How to use checksums |
4015fccdc6bfe3efc9ba9b600db3c614c681ea1df820b33d7aa620e4a6ff5753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.7.17
|
Security for cosmian-anonymization 1.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.