xyberos-github 0.1.0__tar.gz → 0.1.1__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.
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/PKG-INFO +4 -1
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/README.md +3 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/pyproject.toml +7 -1
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github/plugin.py +2 -2
- xyberos_github-0.1.1/xyberos_github/py.typed +5 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github.egg-info/PKG-INFO +4 -1
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github.egg-info/SOURCES.txt +1 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/setup.cfg +0 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/tests/test_client.py +0 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/tests/test_plugin.py +0 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github/__init__.py +0 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github/client.py +0 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github/http.py +0 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github.egg-info/dependency_links.txt +0 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github.egg-info/entry_points.txt +0 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github.egg-info/requires.txt +0 -0
- {xyberos_github-0.1.0 → xyberos_github-0.1.1}/xyberos_github.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xyberos-github
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: GitHub REST plugin (RFC-0019, M7): user/repo/issue tools for Xyberos agents
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Keywords: xyberos,plugin,github,tool
|
|
@@ -17,6 +17,9 @@ issue tools for Xyberos agents, via the GitHub REST API v3. Stdlib-only
|
|
|
17
17
|
## Install
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
+
pip install xyberos-github # from PyPI
|
|
21
|
+
|
|
22
|
+
# development (editable, from this repo):
|
|
20
23
|
pip install -e ./github
|
|
21
24
|
```
|
|
22
25
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "xyberos-github"
|
|
7
|
-
version = "0.1.
|
|
7
|
+
version = "0.1.1"
|
|
8
8
|
description = "GitHub REST plugin (RFC-0019, M7): user/repo/issue tools for Xyberos agents"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.10"
|
|
@@ -18,6 +18,12 @@ github = "xyberos_github.plugin:plugin"
|
|
|
18
18
|
[tool.setuptools]
|
|
19
19
|
packages = ["xyberos_github"]
|
|
20
20
|
|
|
21
|
+
[tool.setuptools.package-data]
|
|
22
|
+
# PEP 561 marker: ships inline type annotations to consumers.
|
|
23
|
+
# Setuptools' default already includes it; declared explicitly so
|
|
24
|
+
# the intent survives a change to that default.
|
|
25
|
+
xyberos_github = ["py.typed"]
|
|
26
|
+
|
|
21
27
|
[tool.pytest.ini_options]
|
|
22
28
|
testpaths = ["tests"]
|
|
23
29
|
pythonpath = ["."]
|
|
@@ -50,12 +50,12 @@ class GithubPlugin(Plugin):
|
|
|
50
50
|
]
|
|
51
51
|
|
|
52
52
|
def register(self, kernel: object) -> None:
|
|
53
|
-
registry = kernel.resolve("tools")
|
|
53
|
+
registry = cast(Any, kernel).resolve("tools")
|
|
54
54
|
for tool in self.tools():
|
|
55
55
|
registry.register(tool)
|
|
56
56
|
|
|
57
57
|
def unregister(self, kernel: object) -> None:
|
|
58
|
-
registry = kernel.resolve("tools")
|
|
58
|
+
registry = cast(Any, kernel).resolve("tools")
|
|
59
59
|
for tool in self.tools():
|
|
60
60
|
_pop_tool(registry, tool.name)
|
|
61
61
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# PEP 561 marker: this package ships inline type annotations, so type
|
|
2
|
+
# checkers (Pylance/Pyright, mypy) analyze it as a typed package instead of
|
|
3
|
+
# reporting reportMissingTypeStubs on `from xyberos_github import ...`.
|
|
4
|
+
# Setuptools ships this file by default; pyproject.toml also declares it under
|
|
5
|
+
# [tool.setuptools.package-data] so the intent survives a change to that default.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: xyberos-github
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: GitHub REST plugin (RFC-0019, M7): user/repo/issue tools for Xyberos agents
|
|
5
5
|
License: Apache-2.0
|
|
6
6
|
Keywords: xyberos,plugin,github,tool
|
|
@@ -17,6 +17,9 @@ issue tools for Xyberos agents, via the GitHub REST API v3. Stdlib-only
|
|
|
17
17
|
## Install
|
|
18
18
|
|
|
19
19
|
```bash
|
|
20
|
+
pip install xyberos-github # from PyPI
|
|
21
|
+
|
|
22
|
+
# development (editable, from this repo):
|
|
20
23
|
pip install -e ./github
|
|
21
24
|
```
|
|
22
25
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|