Skip to main content

Pii Decide

This repository builds a Python package providing evaluation & decision on detected PII instances, by means of implemented "deciders", modules that decide where a PII Instance is to be kept or it is to be ignored.

Right now it is a (mostly) dummy package, and it incorporates only one simple decider that takes care of removing overlapping PII Instances by following a simple rule (if two instances overlap, it just retains the longest one)

Requirements

The package needs

  • at least Python 3.8
  • the pii-data base package

Usage

The package can be used:

  • As an API, using the PiiDecider class
  • As a command-line tool

Building

The provided Makefile can be used to process the package:

  • make pkg will build the Python package, creating a file that can be installed with pip
  • make unit will launch all unit tests (using pytest, so pytest must be available)
  • make install will install the package in a Python virtualenv. The virtualenv will be chosen as, in this order:
    • the one defined in the VENV environment variable, if it is defined
    • if there is a virtualenv activated in the shell, it will be used
    • otherwise, a default is chosen as /opt/venv/pii (it will be created if it does not exist)

Metadata

Release files for pii-decide 0.1.2

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

Source distribution (sdist)

Source distribution for pii-decide 0.1.2
File Size Uploaded
pii-decide-0.1.2.tar.gz 11.7 kB Details

Release files / pii-decide-0.1.2.tar.gz

Download URL pii-decide-0.1.2.tar.gz
Size 11.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d6a83d4f6c3f97d765d2cd12652f7760dee046b12a9042cb2c3dd3c5ffd1ad2b
BLAKE2b-256 checksum
How to use checksums
c39ac132b65cccc9d4b48507894afad3fa55ae4f5f391b7646e42eafbc483f4e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.1.2 This release

1 release file

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