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.365

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.365
File Size Uploaded Provenance Actions
presidio-2.2.365.tar.gz 1.7 kB With provenance Details for presidio-2.2.365.tar.gz

Built distribution (wheel)

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

Total release size: 3.9 kB

Release files / presidio-2.2.365.tar.gz

Download URL presidio-2.2.365.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
62afbaec5b880f67de2eb4f82626d0f783dcaea018de0df34764160cfc9bb6a1
BLAKE2b-256 checksum
How to use checksums
945ed6bf23d3096385c8ef6a1502a75e3355c95f5c33edd8e81049c376678a1e
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 25, 2026.

Transparency log

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

Download URL presidio-2.2.365-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7a70d3b397a09063732c2a447d92a29ca6c23909698d178dfd05abd0cd10dd16
BLAKE2b-256 checksum
How to use checksums
238f4e2b08daf6f1cc638d35cdb832a5a5761c1bab1c708748c180e7b1341084
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 25, 2026.

Transparency log

Security for presidio 2.2.365

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.365.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 25, 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