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

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.364
File Size Uploaded Provenance
presidio-2.2.364.tar.gz 1.7 kB With provenance Details

Built distribution (wheel)

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

Total release size: 3.9 kB

Release files / presidio-2.2.364.tar.gz

Download URL presidio-2.2.364.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
867dd1398e72c52fac96fd5fa0848159529ecc8da93bbcc0d5efab2d6f12dca0
BLAKE2b-256 checksum
How to use checksums
c0a1e4afc95b168e5f787b66097463467e143f298080a92b184ac97630c1c457
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 Jul 22, 2026.

Transparency log

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

Download URL presidio-2.2.364-py3-none-any.whl
Size 2.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
00569bcb525a8bb915354b5c2bf66da4bed937b202056b72c80d5f9dc6652bd2
BLAKE2b-256 checksum
How to use checksums
79dd36131e8affca262486c0c38da8bb49e9b98b7a3a372dabdd07be86405d34
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 Jul 22, 2026.

Transparency log

Security for presidio 2.2.364

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

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for presidio-2.2.364.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 Jul 22, 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.

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