Skip to main content

CircleCI Maintainability Test Coverage Documentation Status License: MIT

PyARXaaS

Python Package for interfacing with ARXaaS in Python

Read more about PyARXaaS at: https://pyarxaas.readthedocs.io/

Getting Started

Installation

pip install pyarxaas

Basic Usage

   # import dependencies
   from pyarxaas import ARXaaS
   from pyarxaas.privacy_models import KAnonymity
   from pyarxaas import AttributeType
   from pyarxaas import Dataset
   import pandas as pd

   arxaas = ARXaaS(url) # url contains url to AaaS web service

   df = pd.read_csv("data.csv")

   # create Dataset
   dataset = Dataset.from_pandas(df)


   # set attribute type
   dataset.set_attributes(AttributeType.QUASIIDENTIFYING, 'name', 'gender')
   dataset.set_attribute(AttributeType.IDENTIFYING, 'id')

   # get the risk profle of the dataset
   risk_profile = arxaas.risk_profile(dataset)

   # get risk metrics
   re_indentifiation_risk = risk_profile.re_identification_risk
   distribution_of_risk = risk_profile.distribution_of_risk

Release files for pypyARXaaS 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pypyARXaaS 0.0.1
File Size Uploaded
pypyARXaaS-0.0.1.tar.gz 21.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pypyARXaaS 0.0.1
File Interpreter ABI Platform
pypyARXaaS-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 56.0 kB

Release files / pypyARXaaS-0.0.1.tar.gz

Download URL pypyARXaaS-0.0.1.tar.gz
Size 21.0 kB
Tags Source
SHA-256 checksum
How to use checksums
82116328b5d2f219a337ad5cead9644b09a0f86ca263abcd52b4fa6c9a5140dd
BLAKE2b-256 checksum
How to use checksums
dd5394aa34196c59eb49c28f684c41c7237a531f13c90d95777bdd83c0cd28fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

Release files / pypyARXaaS-0.0.1-py3-none-any.whl

Download URL pypyARXaaS-0.0.1-py3-none-any.whl
Size 35.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc8c8429835c3aded6f4ab20194b82b866aad635c13c1ef3abc3056cc0fb3b99
BLAKE2b-256 checksum
How to use checksums
d38f2522cbb4650a27b3843cca760f197e66550f5443421ab1a80c2e9f028aa8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/42.0.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page