mobiusguard-redact 0.1.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mobiusguard_redact/__init__.py +20 -0
- mobiusguard_redact/_gitleaks_rules.py +2024 -0
- mobiusguard_redact/_gitleaks_types.py +27 -0
- mobiusguard_redact/_probe.py +67 -0
- mobiusguard_redact/curated.py +191 -0
- mobiusguard_redact/patterns.py +240 -0
- mobiusguard_redact/py.typed +0 -0
- mobiusguard_redact/redactor.py +261 -0
- mobiusguard_redact/validators.py +116 -0
- mobiusguard_redact-0.1.0.dist-info/METADATA +52 -0
- mobiusguard_redact-0.1.0.dist-info/RECORD +14 -0
- mobiusguard_redact-0.1.0.dist-info/WHEEL +4 -0
- mobiusguard_redact-0.1.0.dist-info/licenses/LICENSE +202 -0
- mobiusguard_redact-0.1.0.dist-info/licenses/NOTICE +9 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""Streaming redaction for LLM output.
|
|
2
|
+
|
|
3
|
+
Rewrites secrets and PII that are split across chunks, without buffering the whole reply.
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
from .patterns import Pattern, default_patterns, gitleaks_patterns
|
|
7
|
+
from .redactor import Finding, StreamRedactor, aredact_stream, redact, redact_stream
|
|
8
|
+
|
|
9
|
+
__version__ = "0.1.0"
|
|
10
|
+
|
|
11
|
+
__all__ = [
|
|
12
|
+
"Finding",
|
|
13
|
+
"Pattern",
|
|
14
|
+
"StreamRedactor",
|
|
15
|
+
"aredact_stream",
|
|
16
|
+
"default_patterns",
|
|
17
|
+
"gitleaks_patterns",
|
|
18
|
+
"redact",
|
|
19
|
+
"redact_stream",
|
|
20
|
+
]
|