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://presidio.dataprivacystack.org.

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 Distribution

presidio-2.2.363.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

Details for the file presidio-2.2.363.tar.gz.

File metadata

  • Download URL: presidio-2.2.363.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.13

File hashes

Hashes for presidio-2.2.363.tar.gz
Algorithm Hash digest
SHA256 c10f88915afd5c119637742ab4bf730c65e43d0ab0b517624e9f8d044c87532d
MD5 3f7e8ae29c78da11c660c4e888e3df70
BLAKE2b-256 0e99bec396a36b5cb8fd74e2f68e3390d8c7bf053d9a283193a6129d1ec3a9cf

See more details on using hashes here.

Provenance

The following attestation bundles were made for presidio-2.2.363.tar.gz:

Publisher: release.yml on data-privacy-stack/presidio

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

File details

Details for the file presidio-2.2.363-py3-none-any.whl.

File metadata

  • Download URL: presidio-2.2.363-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.13

File hashes

Hashes for presidio-2.2.363-py3-none-any.whl
Algorithm Hash digest
SHA256 bbfc353b89b0f000bf9e871b6f80dfe22a567590004c193ad1d547be0414d360
MD5 f8c08846875812959f362eae12d93f4a
BLAKE2b-256 37cba4be36cf9dacae96c8c67c58932b165175e3b1abcc09d7bc5868f79672e0

See more details on using hashes here.

Provenance

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

Publisher: release.yml on data-privacy-stack/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