hyperot-adapter-onebot 2.0.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,33 @@
1
+ Metadata-Version: 2.4
2
+ Name: hyperot-adapter-onebot
3
+ Version: 2.0.0
4
+ Summary: OneBot v11 adapter for HyperBotCore V2
5
+ Requires-Python: >=3.11
6
+ Description-Content-Type: text/markdown
7
+ Requires-Dist: hyper-bot<3,>=2
8
+ Requires-Dist: pydantic>=2.11
9
+ Requires-Dist: httpx>=0.28
10
+ Requires-Dist: websockets>=17
11
+ Requires-Dist: fastapi>=0.141
12
+ Requires-Dist: uvicorn>=0.52
13
+
14
+ # Hyperot OneBot Adapter
15
+
16
+ OneBot v11 adapter for `hyperot.v2`.
17
+
18
+ Install the adapter from PyPI:
19
+
20
+ ```shell
21
+ pip install hyperot-adapter-onebot
22
+ ```
23
+
24
+ The package registers the `onebot` adapter through the `hyperot.adapters` entry-point group.
25
+
26
+ Supported connection types:
27
+
28
+ - `ForwardWebSocket`
29
+ - `ReverseWebSocket`
30
+ - `HTTP`
31
+ - `HTTPPost`
32
+
33
+ The package contains `manifest.json`, which is loaded by `hyperot.v2.Client.from_appconfig()`.
@@ -0,0 +1,20 @@
1
+ # Hyperot OneBot Adapter
2
+
3
+ OneBot v11 adapter for `hyperot.v2`.
4
+
5
+ Install the adapter from PyPI:
6
+
7
+ ```shell
8
+ pip install hyperot-adapter-onebot
9
+ ```
10
+
11
+ The package registers the `onebot` adapter through the `hyperot.adapters` entry-point group.
12
+
13
+ Supported connection types:
14
+
15
+ - `ForwardWebSocket`
16
+ - `ReverseWebSocket`
17
+ - `HTTP`
18
+ - `HTTPPost`
19
+
20
+ The package contains `manifest.json`, which is loaded by `hyperot.v2.Client.from_appconfig()`.
@@ -0,0 +1,28 @@
1
+ [project]
2
+ name = "hyperot-adapter-onebot"
3
+ version = "2.0.0"
4
+ description = "OneBot v11 adapter for HyperBotCore V2"
5
+ readme = "README.md"
6
+ requires-python = ">=3.11"
7
+ dependencies = [
8
+ "hyper-bot>=2,<3",
9
+ "pydantic>=2.11",
10
+ "httpx>=0.28",
11
+ "websockets>=17",
12
+ "fastapi>=0.141",
13
+ "uvicorn>=0.52",
14
+ ]
15
+
16
+ [project.entry-points."hyperot.adapters"]
17
+ onebot = "hyperot_adapter_onebot:create_adapter"
18
+
19
+ [build-system]
20
+ requires = ["setuptools", "wheel"]
21
+ build-backend = "setuptools.build_meta"
22
+
23
+ [tool.setuptools.packages.find]
24
+ where = ["src"]
25
+ include = ["hyperot_adapter_onebot*"]
26
+
27
+ [tool.setuptools.package-data]
28
+ hyperot_adapter_onebot = ["manifest.json"]
@@ -0,0 +1,4 @@
1
+ [egg_info]
2
+ tag_build =
3
+ tag_date = 0
4
+
@@ -0,0 +1,5 @@
1
+ from .adapter import OneBotAdapter, create_adapter
2
+ from .api import OneBotAPI
3
+ from .config import OneBotConfig
4
+
5
+ __all__ = ["OneBotAPI", "OneBotAdapter", "OneBotConfig", "create_adapter"]