catchlib 0.0.0.dev0__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.
catchlib/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ from catchlib.core import *
2
+ from catchlib.tests import *
3
+
4
+ if __name__ == "__main__":
5
+ main()
catchlib/__main__.py ADDED
@@ -0,0 +1,4 @@
1
+ from catchlib import main
2
+
3
+ if __name__ == "__main__":
4
+ main()
@@ -0,0 +1,8 @@
1
+ from typing import *
2
+
3
+ __all__ = ["main"]
4
+
5
+
6
+ def main(args: Optional[Iterable] = None) -> None:
7
+ "This function prints 'Hello World!'."
8
+ print("Hello World!")
@@ -0,0 +1,12 @@
1
+ import unittest
2
+
3
+ __all__ = ["test"]
4
+
5
+
6
+ def test() -> unittest.TextTestRunner:
7
+ "This function runs all the tests."
8
+ loader: unittest.TestLoader = unittest.TestLoader()
9
+ tests: unittest.TestSuite = loader.discover(start_dir="catchlib.tests")
10
+ runner: unittest.TextTestRunner = unittest.TextTestRunner()
11
+ result: unittest.TextTestResult = runner.run(tests)
12
+ return result
@@ -0,0 +1,11 @@
1
+ import unittest
2
+ from typing import *
3
+
4
+
5
+ class Test1984(unittest.TestCase):
6
+ def test_1984(self: Self) -> None:
7
+ self.assertEqual(2 + 2, 4, "Ignorance is Strength")
8
+
9
+
10
+ if __name__ == "__main__":
11
+ unittest.main()
@@ -0,0 +1,79 @@
1
+ Metadata-Version: 2.4
2
+ Name: catchlib
3
+ Version: 0.0.0.dev0
4
+ Summary: catchlib
5
+ Author-email: Johannes <johannes.programming@gmail.com>
6
+ License: The MIT License (MIT)
7
+
8
+ Copyright (c) 2025 Johannes
9
+
10
+ Permission is hereby granted, free of charge, to any person obtaining a copy
11
+ of this software and associated documentation files (the "Software"), to deal
12
+ in the Software without restriction, including without limitation the rights
13
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14
+ copies of the Software, and to permit persons to whom the Software is
15
+ furnished to do so, subject to the following conditions:
16
+
17
+ The above copyright notice and this permission notice shall be included in all
18
+ copies or substantial portions of the Software.
19
+
20
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
21
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
22
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
23
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
24
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
25
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
26
+ SOFTWARE.
27
+ Project-URL: Download, https://pypi.org/project/catchlib/#files
28
+ Project-URL: Index, https://pypi.org/project/catchlib/
29
+ Project-URL: Source, https://github.com/johannes-programming/catchlib/
30
+ Classifier: Development Status :: 1 - Planning
31
+ Classifier: License :: OSI Approved :: MIT License
32
+ Classifier: Natural Language :: English
33
+ Classifier: Operating System :: OS Independent
34
+ Classifier: Programming Language :: Python
35
+ Classifier: Programming Language :: Python :: 3
36
+ Classifier: Programming Language :: Python :: 3 :: Only
37
+ Classifier: Typing :: Typed
38
+ Requires-Python: >=3.11
39
+ Description-Content-Type: text/x-rst
40
+ License-File: LICENSE.txt
41
+ Dynamic: license-file
42
+
43
+ ========
44
+ catchlib
45
+ ========
46
+
47
+ Overview
48
+ --------
49
+
50
+ catchlib
51
+
52
+ Installation
53
+ ------------
54
+
55
+ To install ``catchlib``, you can use ``pip``. Open your terminal and run:
56
+
57
+ .. code-block:: bash
58
+
59
+ pip install catchlib
60
+
61
+ License
62
+ -------
63
+
64
+ This project is licensed under the MIT License.
65
+
66
+ Links
67
+ -----
68
+
69
+ * `Download <https://pypi.org/project/catchlib/#files>`_
70
+ * `Index <https://pypi.org/project/catchlib/>`_
71
+ * `Source <https://github.com/johannes-programming/catchlib/>`_
72
+
73
+ Credits
74
+ -------
75
+
76
+ * Author: Johannes
77
+ * Email: `johannes.programming@gmail.com <mailto:johannes.programming@gmail.com>`_
78
+
79
+ Thank you for using ``catchlib``!
@@ -0,0 +1,10 @@
1
+ catchlib/__init__.py,sha256=cQbMQNae02UxVtDduzj3ZCzH87hbyJGbR5oXA_B0oCw,96
2
+ catchlib/__main__.py,sha256=dN8d0Nu8AGoONqnHvThcjtCb9E9YcNFGlaVHYYTeK4w,65
3
+ catchlib/core/__init__.py,sha256=Tr3CwIPY695IbF4DrKHrDes1AKd_iJgddUP46jxKHSw,163
4
+ catchlib/tests/__init__.py,sha256=F79E9ssYcoufZpYJ4I6XSvZTR0wkvc9r-5K3XpYvXsY,387
5
+ catchlib/tests/test_1984.py,sha256=_ami0cAP8vU0C8RpQhP1tLWnLFGTaeHlOG5O60RVKv8,222
6
+ catchlib-0.0.0.dev0.dist-info/licenses/LICENSE.txt,sha256=fOh9FHccUt9OcJPBaVJ482GX4yrl_FxCUk9YRZ53JOI,1074
7
+ catchlib-0.0.0.dev0.dist-info/METADATA,sha256=75xWXIpQsdmWirkcj_HaJpuMasBk7NDuoWrb-e4K5aA,2645
8
+ catchlib-0.0.0.dev0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
9
+ catchlib-0.0.0.dev0.dist-info/top_level.txt,sha256=pZsP_Y2Suk_fAyIQrw4g81DUtgZBRIWzb-5Bk-0jmZs,9
10
+ catchlib-0.0.0.dev0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2025 Johannes
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ catchlib