Catalog PyPI
Back to packageRELEASE DETAILS

2.0.0a6

PyPI

aegis-gateway-pack-pii

Aegis policy pack: PII masking and unmasking with Microsoft Presidio.

ai-gatewayauditgovernanceguardrailsllmopenaipii
Published27 Sept 2026
Direct dependencies4
Transitive dependenciesNot calculated

README

Version 2.0.0a6 documentation

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 7

Native requirements
4 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
aegis-gateway-core
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
aegis-gateway-core==2.0.0a6runtime
presidio-analyzer
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
presidio-analyzer>=2.2; extra == "all"runtime
presidio-anonymizer
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
presidio-anonymizer>=2.2; extra == "all"runtime
spacy
Environment
{
  "extras": "",
  "marker": "extra == \"all\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
spacy<3.9,>=3.8.0; extra == "all"runtime
presidio-analyzer
Environment
{
  "extras": "",
  "marker": "extra == \"pii\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
presidio-analyzer>=2.2; extra == "pii"runtime
presidio-anonymizer
Environment
{
  "extras": "",
  "marker": "extra == \"pii\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
presidio-anonymizer>=2.2; extra == "pii"runtime
spacy
Environment
{
  "extras": "",
  "marker": "extra == \"pii\"",
  "requires_python": ">=3.12",
  "evaluation": "NOT_EVALUATED"
}
spacy<3.9,>=3.8.0; extra == "pii"runtime

Distribution files

2 collected
aegis_gateway_pack_pii-2.0.0a6-py3-none-any.whl

bdist_wheel · 25.35 KB · Python py3

Source file
aegis_gateway_pack_pii-2.0.0a6.tar.gz

sdist · 27.37 KB · Python source

Source file

Repository

PENDING
e-choness/aegis

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 20:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:d3f7a29d2dcfe8f487b84a1dc1452e916977a0227595d2e15bcd99a3d0ec3d9a

Other collected versions

View all collected versions →