capat 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.
capat/__init__.py ADDED
@@ -0,0 +1,30 @@
1
+ """capat - measure how well an image CAPTCHA resists automation.
2
+
3
+ Built for authorized security testing and for the argument that follows it:
4
+ image recognition has stopped being a meaningful barrier, so a CAPTCHA should
5
+ not be counted as the control that prevents automated login attempts.
6
+ """
7
+
8
+ from capat.core.config import Config
9
+ from capat.core.engine import Engine
10
+ from capat.core.matching import Matcher, Outcome, SuccessCriteria
11
+ from capat.core.profile import LoginProfile
12
+ from capat.core.result import Finding, Severity
13
+ from capat.core.target import Target
14
+ from capat.core.template import Extractor
15
+
16
+ __version__ = "0.1.0"
17
+
18
+ __all__ = [
19
+ "Config",
20
+ "Engine",
21
+ "Finding",
22
+ "Extractor",
23
+ "LoginProfile",
24
+ "Matcher",
25
+ "Outcome",
26
+ "Severity",
27
+ "SuccessCriteria",
28
+ "Target",
29
+ "__version__",
30
+ ]
capat/__main__.py ADDED
@@ -0,0 +1,4 @@
1
+ from capat.cli import main
2
+
3
+ if __name__ == "__main__":
4
+ raise SystemExit(main())