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.0a6

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.0a6
File Size Uploaded
aegis_gateway_pack_pii-2.0.0a6.tar.gz 28.0 kB Details

Built distribution (wheel)

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

Total release size: 54.0 kB

Release files / aegis_gateway_pack_pii-2.0.0a6.tar.gz

Download URL aegis_gateway_pack_pii-2.0.0a6.tar.gz
Size 28.0 kB
Tags Source
SHA-256 checksum
How to use checksums
0e441e5f1caeff251fbe6f28142187595f66403d188e9b5084d628a698b2fa4b
BLAKE2b-256 checksum
How to use checksums
6a4a2dcdd6dfaa31b00fb965d0201adb125908bffad0d941a88873322475d82b
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 27, 2026.

Transparency log

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

Download URL aegis_gateway_pack_pii-2.0.0a6-py3-none-any.whl
Size 26.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
09a3d227bb0d7e5e3ff512bcb756d7309dfb9d26560c64a9cd70dbe2aa6e4d6e
BLAKE2b-256 checksum
How to use checksums
47723106a92e55e960ff88934ea0ecdd5307c266d7c539fe322b8c6a8d1bde60
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 27, 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