pyCANON: A Python library to check the level of anonymity of a dataset

Judith Sáinz-Pardo Díaz, Álvaro López García
8/16/2022
cs.CRcs.DB
benchmark-dataset

Official code: IFCA-Advanced-Computing/pycanon (54 stars, Python, Apache-2.0, last commit 2026-11-19).

Abstract

Openly sharing data with sensitive attributes and privacy restrictions is a challenging task. In this document we present the implementation of pyCANON, a Python library and command line interface (CLI) to check and assess the level of anonymity of a dataset through some of the most common anonymization techniques: k-anonymity, ($α$,k)-anonymity, $\ell$-diversity, entropy $\ell$-diversity, recursive (c,$\ell$)-diversity, basic $β$-likeness, enhanced $β$-likeness, t-closeness and $δ$-disclosure privacy.

Show full abstract

For the case of more than one sensitive attributes, two approaches are proposed for evaluating this techniques. The main strength of this library is to obtain a full report of the parameters that are fulfilled for each of the techniques mentioned above, with the unique requirement of the set of quasi-identifiers and that of sensitive attributes. We present the methods implemented together with the attacks they prevent, the description of the library, use examples of the different functions, as well as the impact and the possible applications that can be developed. Finally, some possible aspects to be incorporated in future updates are proposed.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

pyCANON is a Python library and CLI to assess the values of the parameters associated with the most common privacy-preserving techniques.

5411PythonJun 27, 20221 weeks agoApache-2.0
anonymityanonymizationdata-analysisdata-privacydata-science+7 more

Similar Papers

Cite this paper

@article{daz2022pycanon,
  title  = {pyCANON: A Python library to check the level of anonymity of a dataset},
  author = {Judith Sáinz-Pardo Díaz and Álvaro López García},
  year   = {2022},
  eprint = {2208.07556},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2208.07556}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2208.07556.svg)](https://codeofpaper.com/paper/2208.07556)

Discussion