Skip to main content

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.

Metadata

Release files for presidio 2.2.366

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for presidio 2.2.366
File Size Uploaded Provenance Actions
presidio-2.2.366.tar.gz 1.7 kB With provenance Details for presidio-2.2.366.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for presidio 2.2.366
File Interpreter ABI Platform Actions
presidio-2.2.366-py3-none-any.whl Python 3 none any Details for presidio-2.2.366-py3-none-any.whl

Total release size: 3.8 kB

Release files / presidio-2.2.366.tar.gz

Download URL presidio-2.2.366.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
6d60b3915b52b50a859e95b56d383b2933522764dc4b7c0cf0f8bdc36618eeaf
BLAKE2b-256 checksum
How to use checksums
70ac91a6604dc01257bc7edece8b8a39ec3bb8d9d6afa202df1c53ce4f068ffb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Release files / presidio-2.2.366-py3-none-any.whl

Download URL presidio-2.2.366-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ab6ea1cb5ac28de2a1c38d1161623136b4300aa9bf5683bb8c7d5c5f1da35d8
BLAKE2b-256 checksum
How to use checksums
a0d26d79de8b16ba5a2a96c33c3e051269433f7b33d20378f11465a37739a8ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

Security for presidio 2.2.366

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for presidio-2.2.366.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 27, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page