dispose 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.
dispose/__init__.py ADDED
@@ -0,0 +1,19 @@
1
+ """dispose — local privacy classifier and redactor for sensitive communications."""
2
+
3
+ from importlib.metadata import PackageNotFoundError, version
4
+
5
+ from dispose.pipeline import PrivacyPipeline, RedactionResult
6
+ from dispose.taxonomy import CATEGORIES, Category
7
+
8
+ try:
9
+ __version__ = version("dispose")
10
+ except PackageNotFoundError:
11
+ __version__ = "0.0.0+local"
12
+
13
+ __all__ = [
14
+ "CATEGORIES",
15
+ "Category",
16
+ "PrivacyPipeline",
17
+ "RedactionResult",
18
+ "__version__",
19
+ ]
dispose/__main__.py ADDED
@@ -0,0 +1,6 @@
1
+ """python -m dispose entry point."""
2
+
3
+ from dispose.cli import main
4
+
5
+ if __name__ == "__main__":
6
+ main()