Skip to main content

Document preprocessing for PII Management

Project description

pii-preprocess

This package is intended for the data/document preprocessing stage in the PII Management flow designed by PIISA.

It will contain:

  • a Python API and command-line entry points to read a number of file formats and convert them to PII Source Documents, as defined by pii-data
  • Utilities for document transformation (to ease PII processing)

Contents

The current contents of the package are:

  • Classes and an API for reading some file types:
    • CSV files (into Table source documents)
    • Microsoft Word files (into Sequence or Tree source documents)
    • Raw text files (read plain text files into Sequence source documents or, using indentation, into Tree source documents).
  • A configurable loader class thar can load formats by dispatching to appropriate subclasses
  • Some command-line scripts:
    • a generic script that uses the loader class to convert any implemented format to a YAML or plain text file
    • scripts for specific formats:
      • a script to convert between CSV files and the YAML canonical representation for Source Documents
      • a script to convert between plain text files and the YAML canonical representation for Source Documents

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pii-preprocess-0.1.0.tar.gz (19.7 kB view details)

Uploaded Source

File details

Details for the file pii-preprocess-0.1.0.tar.gz.

File metadata

  • Download URL: pii-preprocess-0.1.0.tar.gz
  • Upload date:
  • Size: 19.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pii-preprocess-0.1.0.tar.gz
Algorithm Hash digest
SHA256 045e072db50abb19561225032a278833d507385185f86a5ec5ee5f9c5e56fa9b
MD5 7823793804e12d1c1734d31a793821d7
BLAKE2b-256 2ed0b2b2ed7d2173616d5ba841c3fa94c37d70cf5cba9310d238c409ad1da897

See more details on using hashes here.

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