swapback 0.3.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.
- swapback/__init__.py +4 -0
- swapback/core.py +1427 -0
- swapback/detect.py +292 -0
- swapback/known.py +392 -0
- swapback/proxy.py +323 -0
- swapback/vendor/README.md +19 -0
- swapback/vendor/extra_rules.toml +20 -0
- swapback/vendor/gitleaks/LICENSE +21 -0
- swapback/vendor/gitleaks/gitleaks.toml +3209 -0
- swapback/vendor/presidio/LICENSE +21 -0
- swapback/vendor/presidio/patterns.json +261 -0
- swapback-0.3.0.dist-info/METADATA +495 -0
- swapback-0.3.0.dist-info/RECORD +18 -0
- swapback-0.3.0.dist-info/WHEEL +5 -0
- swapback-0.3.0.dist-info/entry_points.txt +3 -0
- swapback-0.3.0.dist-info/licenses/LICENSE +21 -0
- swapback-0.3.0.dist-info/licenses/THIRD_PARTY_NOTICES.md +63 -0
- swapback-0.3.0.dist-info/top_level.txt +1 -0
swapback/__init__.py
ADDED
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
"""swapback: swap personal data for placeholders before an LLM call, restore it after, fail closed."""
|
|
2
|
+
__version__ = "0.3.0" # keep in step with pyproject.toml (tests/test_cli.py checks)
|
|
3
|
+
|
|
4
|
+
from .core import Scrubber, ScrubError, load_cfg, load_known, build_private_terms # noqa: E402,F401
|