Client side tool for clkhash and blocklib
Project description
Anonlink Client
Client-facing API to interact with anonlink system including command line tools and Rest API communication. Anonlink system needs the following three components to work together:
This package provides an easy to use API to interact with the above packages to complete a record linkage job.
The way to interact with anonlink system is via Command Line Tool anonlink
. You can hash data containing PII (Personal
Identifying Information) locally using anonlink hash
, generate candidate blocks locally to scale up record linkage
using anonlink block
, create a record linkage job in entity service with anonlink create-project
etc.
Installation
Currently manual install:
pip install anonlink-client
Documentation
https://clkhash.readthedocs.io/en/stable/cli.html Note that the documentation are for clkhash now, we will add a readthedocs page for anonlink-client very soon.
CLI Tool
After installation, you should have a anonlink
program in your path. For
example, to hash PII data alice.csv
locally with schema schema.json
and secret horse
, run:
$ anonlink hash 'alice.csv' 'horse' 'schema.json' 'encoded-entities.json'
It will generate the CLK output and store in clk.json
. To find out how to define the schema
for your PII data, please refer this page for
details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for anonlink_client-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b5b14a20272e17d3bd6ec322b0248df5c99e8af6038cca4b16c6440a1f029c54 |
|
MD5 | 9c9a83bd9160f1c00b759457aabed823 |
|
BLAKE2b-256 | 07966abeb286d07fde128f39bec8d4fad78a9be94e208bec7b9673a577f59739 |