Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

aegis-gateway-pack-pii

PII masking for Aegis, powered by Microsoft Presidio. In mask mode the model never sees personal data: entities become placeholders on the way in and are restored on the way out.

guardrails:
  pii:
    pack: aegis.pii
    mode: mask        # or: detect — block requests containing PII
    threshold: 0.4    # minimum confidence (default)
    allow_list: [Aegis]
    # entities: [PERSON, EMAIL_ADDRESS, PHONE_NUMBER, CA_SIN]  — or ALL
pipeline:
  ingress: [pii]
  egress: [pii]

By default only identifying entities are masked (names, contact details, account and government IDs — including Canadian SINs); noisy types such as dates and URLs are opt-in.

Needs the spaCy model: python -m spacy download en_core_web_sm. See PII masking.

Part of Aegis, a self-hosted AI gateway. Licensed under AGPL-3.0-or-later.

Metadata

Release files for aegis-gateway-pack-pii 2.0.0a3

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

Source distribution (sdist)

Source distribution for aegis-gateway-pack-pii 2.0.0a3
File Size Uploaded
aegis_gateway_pack_pii-2.0.0a3.tar.gz 26.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aegis-gateway-pack-pii 2.0.0a3
File Interpreter ABI Platform
aegis_gateway_pack_pii-2.0.0a3-py3-none-any.whl Python 3 none any Details

Total release size: 52.2 kB

Release files / aegis_gateway_pack_pii-2.0.0a3.tar.gz

Download URL aegis_gateway_pack_pii-2.0.0a3.tar.gz
Size 26.8 kB
Tags Source
SHA-256 checksum
How to use checksums
08dec200a84c29e5e34577dc77db72f08166516fd977ebffb1160a61f5d21985
BLAKE2b-256 checksum
How to use checksums
8229b6053d8bb35513c1dddd9816cb4df9d7f6b40e71b18b972ddf6161f42199
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log

Release files / aegis_gateway_pack_pii-2.0.0a3-py3-none-any.whl

Download URL aegis_gateway_pack_pii-2.0.0a3-py3-none-any.whl
Size 25.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc53d5c42b1bd480a02b6e014da5a8a22d47cd2c809c1fc8688e812bd50ecbc8
BLAKE2b-256 checksum
How to use checksums
aba35086989d6ac77f6c4cdf47281e94bea9533530be0cf6df8b5408648a0906
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 26, 2026.

Transparency log
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