Presidio - Data Protection and De-identification SDK
Project description
Presidio
Context aware, pluggable and customizable PII de-identification service for text and images.
Overview
presidio is a convenience meta-package that references and installs
presidio-analyzer and
presidio-anonymizer, the PII detection and
anonymization engines from the Microsoft Presidio project.
Note: This package contains no code of its own. It simply pulls in
presidio-analyzerandpresidio-anonymizeras dependencies. For the full feature set, documentation, and source code please refer to the presidio-analyzer README and the presidio-anonymizer README.
Installation
pip install presidio
This will install presidio-analyzer, presidio-anonymizer, and their dependencies.
Usage
from presidio_analyzer import AnalyzerEngine
from presidio_anonymizer import AnonymizerEngine
analyzer = AnalyzerEngine()
anonymizer = AnonymizerEngine()
results = analyzer.analyze(text="My name is John Doe", language="en")
anonymized = anonymizer.anonymize(text="My name is John Doe", analyzer_results=results)
print(anonymized)
Documentation
For full documentation, visit https://microsoft.github.io/presidio.
Acknowledgements
The idea of publishing a top-level presidio package that bundles presidio-analyzer and
presidio-anonymizer was originally proposed and implemented by
Sakthi Santhosh Anumand and Harsha Vardhan. We thank them for the initiative and for
making Presidio more accessible to the community.
License
MIT License. See LICENSE for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file presidio-2.2.362-py3-none-any.whl.
File metadata
- Download URL: presidio-2.2.362-py3-none-any.whl
- Upload date:
- Size: 2.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2afc0a7716dcd02e89fa8245baf152f122e6b8a4ec63e0d1dd26b484bb06bf6e
|
|
| MD5 |
44bf6f738db929ca43df8f326be1522d
|
|
| BLAKE2b-256 |
6eb022b76526c51a3c2ff24dd0c86556a4abdd6e1c886c0d0a1cbff1386963dd
|
Provenance
The following attestation bundles were made for presidio-2.2.362-py3-none-any.whl:
Publisher:
release.yml on microsoft/presidio
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
presidio-2.2.362-py3-none-any.whl -
Subject digest:
2afc0a7716dcd02e89fa8245baf152f122e6b8a4ec63e0d1dd26b484bb06bf6e - Sigstore transparency entry: 1107779468
- Sigstore integration time:
-
Permalink:
microsoft/presidio@97ffb3a79dfca6e5680b0312ec0ca5d25ed63754 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/microsoft
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@97ffb3a79dfca6e5680b0312ec0ca5d25ed63754 -
Trigger Event:
workflow_dispatch
-
Statement type: