robot-wrapper-sdk 0.1.0__tar.gz

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.
@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.4
2
+ Name: robot-wrapper-sdk
3
+ Version: 0.1.0
4
+ Summary: Robot Platform API SDK
5
+ Author-email: GH Robot Platform Team <team@ghrobot.com>
6
+ License: MIT
7
+ Requires-Python: >=3.10
8
+ Description-Content-Type: text/markdown
9
+ Requires-Dist: httpx>=0.24.1
10
+
11
+ # Robot Platform SDK (Python)
12
+
13
+ Official extensible Python SDK designed with `BasedPyright` strict type hints.
14
+ Provides both Synchronous (`httpx.Client`) and Asynchronous (`httpx.AsyncClient`) implementations.
15
+
16
+ ## Installation
17
+ ```sh
18
+ pip install robot-wrapper-sdk
19
+ ```
20
+
21
+ See `docs/guide.md` and `examples/` for API patterns.
@@ -0,0 +1,11 @@
1
+ # Robot Platform SDK (Python)
2
+
3
+ Official extensible Python SDK designed with `BasedPyright` strict type hints.
4
+ Provides both Synchronous (`httpx.Client`) and Asynchronous (`httpx.AsyncClient`) implementations.
5
+
6
+ ## Installation
7
+ ```sh
8
+ pip install robot-wrapper-sdk
9
+ ```
10
+
11
+ See `docs/guide.md` and `examples/` for API patterns.
@@ -0,0 +1,17 @@
1
+ [build-system]
2
+ requires = ["setuptools>=61.0", "wheel", "twine"]
3
+ build-backend = "setuptools.build_meta"
4
+
5
+ [project]
6
+ name = "robot-wrapper-sdk"
7
+ version = "0.1.0"
8
+ description = "Robot Platform API SDK"
9
+ readme = "README.md"
10
+ requires-python = ">=3.10"
11
+ license = {text = "MIT"}
12
+ authors = [{name = "GH Robot Platform Team", email = "team@ghrobot.com"}]
13
+ dependencies = [
14
+ "httpx>=0.24.1"
15
+ ]
16
+ [tool.setuptools]
17
+ packages = ["robot_sdk"]
@@ -0,0 +1,27 @@
1
+ from .infrastructure.api_client import HTTPClient, AsyncHTTPClient
2
+ from .infrastructure.robot_api_repository import RobotAPIRepository, AsyncRobotAPIRepository
3
+ from .application.usecases import RobotUsecase, AsyncRobotUsecase
4
+
5
+ __version__ = "0.1.0"
6
+
7
+ class RobotPlatformModule:
8
+ """Synchronous Facade for the Robot Platform SDK."""
9
+ def __init__(self, base_url=None, username=None, password=None, tenant=None):
10
+ self.client = HTTPClient(base_url, username, password, tenant)
11
+ self.repo = RobotAPIRepository(self.client)
12
+ self.robot_usecase = RobotUsecase(self.repo)
13
+
14
+ def close(self):
15
+ self.client.close()
16
+
17
+ class AsyncRobotPlatformModule:
18
+ """Asynchronous Facade for the Robot Platform SDK."""
19
+ def __init__(self, base_url=None, username=None, password=None, tenant=None):
20
+ self.client = AsyncHTTPClient(base_url, username, password, tenant)
21
+ self.repo = AsyncRobotAPIRepository(self.client)
22
+ self.robot_usecase = AsyncRobotUsecase(self.repo)
23
+
24
+ async def close(self):
25
+ await self.client.close()
26
+
27
+ __all__ = ["RobotPlatformModule", "AsyncRobotPlatformModule"]
@@ -0,0 +1,21 @@
1
+ Metadata-Version: 2.4
2
+ Name: robot-wrapper-sdk
3
+ Version: 0.1.0
4
+ Summary: Robot Platform API SDK
5
+ Author-email: GH Robot Platform Team <team@ghrobot.com>
6
+ License: MIT
7
+ Requires-Python: >=3.10
8
+ Description-Content-Type: text/markdown
9
+ Requires-Dist: httpx>=0.24.1
10
+
11
+ # Robot Platform SDK (Python)
12
+
13
+ Official extensible Python SDK designed with `BasedPyright` strict type hints.
14
+ Provides both Synchronous (`httpx.Client`) and Asynchronous (`httpx.AsyncClient`) implementations.
15
+
16
+ ## Installation
17
+ ```sh
18
+ pip install robot-wrapper-sdk
19
+ ```
20
+
21
+ See `docs/guide.md` and `examples/` for API patterns.
@@ -0,0 +1,8 @@
1
+ README.md
2
+ pyproject.toml
3
+ robot_sdk/__init__.py
4
+ robot_wrapper_sdk.egg-info/PKG-INFO
5
+ robot_wrapper_sdk.egg-info/SOURCES.txt
6
+ robot_wrapper_sdk.egg-info/dependency_links.txt
7
+ robot_wrapper_sdk.egg-info/requires.txt
8
+ robot_wrapper_sdk.egg-info/top_level.txt
@@ -0,0 +1 @@
1
+ httpx>=0.24.1
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+