Skip to main content

Presidio - Data Protection and De-identification SDK

Project description

Presidio

Build Status MIT license

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-analyzer and presidio-anonymizer as 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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

presidio-2.2.362-py3-none-any.whl (2.1 kB view details)

Uploaded Python 3

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

Hashes for presidio-2.2.362-py3-none-any.whl
Algorithm Hash digest
SHA256 2afc0a7716dcd02e89fa8245baf152f122e6b8a4ec63e0d1dd26b484bb06bf6e
MD5 44bf6f738db929ca43df8f326be1522d
BLAKE2b-256 6eb022b76526c51a3c2ff24dd0c86556a4abdd6e1c886c0d0a1cbff1386963dd

See more details on using hashes here.

Provenance

The following attestation bundles were made for presidio-2.2.362-py3-none-any.whl:

Publisher: release.yml on microsoft/presidio

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page