Skip to main content

arkhn_arx is a tool to pseudonymize or anonymize datasets while evaluating reidentification risk metrics

Project description

pyarxaas

arkhn_arx is a module for dataset pseudonymization or anonymization

Install

pip install arkhn_arx

Connection to ARXaas

This module uses https://github.com/navikt/arxaas service.

To run this service locally :

  1. Make sure Docker Desktop is running
  2. Pull the Docker image
docker pull navikt/arxaas
  1. Run the Docker image
docker run -p 8080:8080 navikt/arxaas

Anonymization

Arguments

  • input dataframe to anonymize
  • configuration file : json file containing anonymization parameters
config_dict = {"anonymization":{"type": 2, "k":2, "l":2},
                "attributes":[
                            {"officialName":"att_1",
                             "customName":"att_1",
                             "att_type":"att_type"
                                "hierarchy_type":"hierarchy_type"}]
                }

Example

You can test this module using the example.py script

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

arkhn_arx-0.0.2-py3.7.egg (7.5 kB view hashes)

Uploaded Source

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