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

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

Built distribution (wheel)

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

Total release size: 45.0 kB

Release files / aegis_gateway_pack_pii-2.0.0a1.tar.gz

Download URL aegis_gateway_pack_pii-2.0.0a1.tar.gz
Size 22.7 kB
Tags Source
SHA-256 checksum
How to use checksums
06014042a4cc4b093a21c635d60610f14321444326a49d6dd13c6650e16a5d52
BLAKE2b-256 checksum
How to use checksums
b9fbafaa5fade4488cb69662a6597097a79f899b8ae48e15c23c3b532ed407ca
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.0a1-py3-none-any.whl

Download URL aegis_gateway_pack_pii-2.0.0a1-py3-none-any.whl
Size 22.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ebd943fce3191eea994ef6771b42cd244d5ea7f02052be77805664a382e1beca
BLAKE2b-256 checksum
How to use checksums
328e5ba89fba3ad2ac63ceca7e1bea8fbfd6d50427cdb5bb8d10b4c0f89d5a6f
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