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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pypyARXaaS-0.0.1.tar.gz | 21.0 kB | Without provenance | Details for pypyARXaaS-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pypyARXaaS-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for pypyARXaaS-0.0.1-py3-none-any.whl |
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
|
Security for pypyARXaaS 0.0.1
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.