# pii-transform
This package takes a source document, a collection of detected PII instances,
and transforms the document by replacing the PII instances in the document
with a different representation.
The type of substitution done is defined by transformation policies.
Note: `pii-transform` does **not** implement or use Transformer models for PII
purposes (for the extraction of PII instances using Transformer models, see
pii-extract-plg-transformers or pii-extract-plg-presidio).
## Command-line script
The package provides a console script: `pii-transform` loads a source document
& a collection of already-detected PII, and produces a transformed document
following the specified policies.
## API
The same functionality provided by the command-line script can also be
accessed via a Python API
## End-to-end workflow
The end-to-end scripts and APIs have been migrated; they are now in the
`pii-process` package. That one is also the module to use to process generic
documents, since this package supports only the PIISA Source Document
format, which contains the document written as a YAML file.
Raw data
{
"_id": null,
"home_page": "https://github.com/piisa/pii-transform",
"name": "pii-transform",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "PIISA, PII",
"author": "Paulo Villegas",
"author_email": "paulo.vllgs@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/fb/1b/1febae9f488cef87ffdfe85f32ce22f931336cd48daf3822cff85436c0f9/pii-transform-0.7.0.tar.gz",
"platform": null,
"description": "# pii-transform\n\n\n\nThis package takes a source document, a collection of detected PII instances,\nand transforms the document by replacing the PII instances in the document\nwith a different representation.\n\nThe type of substitution done is defined by transformation policies.\n\nNote: `pii-transform` does **not** implement or use Transformer models for PII\npurposes (for the extraction of PII instances using Transformer models, see\npii-extract-plg-transformers or pii-extract-plg-presidio).\n\n\n## Command-line script\n\nThe package provides a console script: `pii-transform` loads a source document\n& a collection of already-detected PII, and produces a transformed document\nfollowing the specified policies.\n\n\n## API\n\nThe same functionality provided by the command-line script can also be\naccessed via a Python API\n\n\n## End-to-end workflow\n\nThe end-to-end scripts and APIs have been migrated; they are now in the\n`pii-process` package. That one is also the module to use to process generic\ndocuments, since this package supports only the PIISA Source Document\nformat, which contains the document written as a YAML file.\n\n\n\n",
"bugtrack_url": null,
"license": "Apache",
"summary": "Transform recognized PII instances in a document",
"version": "0.7.0",
"project_urls": {
"Download": "https://github.com/piisa/pii-transform/tarball/v0.7.0",
"Homepage": "https://github.com/piisa/pii-transform"
},
"split_keywords": [
"piisa",
" pii"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fb1b1febae9f488cef87ffdfe85f32ce22f931336cd48daf3822cff85436c0f9",
"md5": "8beabfc86e4f9e220d01f1ca1d21e949",
"sha256": "bdf978e2fab00eb518182855d756b92ff274708e4aaa46a24be1de0dc51c1c0d"
},
"downloads": -1,
"filename": "pii-transform-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "8beabfc86e4f9e220d01f1ca1d21e949",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 18131,
"upload_time": "2024-01-24T20:18:14",
"upload_time_iso_8601": "2024-01-24T20:18:14.207406Z",
"url": "https://files.pythonhosted.org/packages/fb/1b/1febae9f488cef87ffdfe85f32ce22f931336cd48daf3822cff85436c0f9/pii-transform-0.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-24 20:18:14",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "piisa",
"github_project": "pii-transform",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [],
"lcname": "pii-transform"
}