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

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

Built distribution (wheel)

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

Total release size: 50.0 kB

Release files / aegis_gateway_pack_pii-2.0.0a4.tar.gz

Download URL aegis_gateway_pack_pii-2.0.0a4.tar.gz
Size 25.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5e69b09aec099432990057e53a8b2eb64b95c0cd0c8634da0e744d9382f98c0e
BLAKE2b-256 checksum
How to use checksums
ba40745ae716794689f411a20e3d01bd153f28ea70ba6e8e9cf32d381c9e9444
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.0a4-py3-none-any.whl

Download URL aegis_gateway_pack_pii-2.0.0a4-py3-none-any.whl
Size 24.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8dd08a09b1c8490edf981c201818567fd035589e5bbd953ad97d21240f713b83
BLAKE2b-256 checksum
How to use checksums
2d3156449177374134132163b52c60f27c042418bbfd92b2e564a8bfadfa0abb
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