zach-test-tool 0.1.0__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ __version__ = "0.2.0"
2
+
3
+ # 暴露常用功能
4
+ from .math import add, multiply
5
+ from .web import get_json
6
+
7
+ __all__ = ['add', 'multiply', 'get_json']
@@ -0,0 +1,3 @@
1
+ from .basic import add, multiply
2
+
3
+ __all__ = ['add', 'multiply']
@@ -0,0 +1,7 @@
1
+ def add(a: float, b: float) -> float:
2
+ """Basic addition"""
3
+ return a + b
4
+
5
+ def multiply(a: float, b: float) -> float:
6
+ """Basic multiplication"""
7
+ return a * b
@@ -0,0 +1,3 @@
1
+ from .client import get_json
2
+
3
+ __all__ = ['get_json']
@@ -0,0 +1,7 @@
1
+ import requests
2
+
3
+ def get_json(url: str) -> dict:
4
+ """Fetch JSON data from URL"""
5
+ response = requests.get(url)
6
+ response.raise_for_status()
7
+ return response.json()
@@ -0,0 +1,15 @@
1
+ Metadata-Version: 2.3
2
+ Name: zach-test-tool
3
+ Version: 0.1.0
4
+ Summary:
5
+ Author: zach.zhou
6
+ Author-email: zach.zhou@airwallex.com
7
+ Requires-Python: >=3.12
8
+ Classifier: Programming Language :: Python :: 3
9
+ Classifier: Programming Language :: Python :: 3.12
10
+ Classifier: Programming Language :: Python :: 3.13
11
+ Provides-Extra: web
12
+ Requires-Dist: requests (>=2.28,<3.0) ; extra == "web"
13
+ Description-Content-Type: text/markdown
14
+
15
+
@@ -0,0 +1,8 @@
1
+ zach_test_tool/__init__.py,sha256=ShJFOx_6KrrpLtH7C9U4m0FDWAHZAKZ_tdOOqiNaumg,144
2
+ zach_test_tool/math/__init__.py,sha256=ZOvqoVdfBsN3cp_3_F0dPOOI5Xa41e36_9-b9PuJs8A,63
3
+ zach_test_tool/math/basic.py,sha256=LTd4hVnle_2z9vJPriZioxV5eeQRSWzj_I5BkU6Dfp4,171
4
+ zach_test_tool/web/__init__.py,sha256=0klmEagtoNmXZCaE4OsuOdZ-7HzFrpHWg-M_S23VRAs,52
5
+ zach_test_tool/web/client.py,sha256=ToAZk2OQB9N03VzdM0t923PSnK5Wsw6LYVKJ3xeJFTM,175
6
+ zach_test_tool-0.1.0.dist-info/METADATA,sha256=StkiEHnRJOPimFcb9zv8AQLrVPUxYA9EGap9SJxiXFc,415
7
+ zach_test_tool-0.1.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
8
+ zach_test_tool-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: poetry-core 2.1.1
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any