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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: xyberos-github
3
- Version: 0.1.0
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
 
@@ -7,6 +7,9 @@ issue tools for Xyberos agents, via the GitHub REST API v3. Stdlib-only
7
7
  ## Install
8
8
 
9
9
  ```bash
10
+ pip install xyberos-github # from PyPI
11
+
12
+ # development (editable, from this repo):
10
13
  pip install -e ./github
11
14
  ```
12
15
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "xyberos-github"
7
- version = "0.1.0"
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.0
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
 
@@ -6,6 +6,7 @@ xyberos_github/__init__.py
6
6
  xyberos_github/client.py
7
7
  xyberos_github/http.py
8
8
  xyberos_github/plugin.py
9
+ xyberos_github/py.typed
9
10
  xyberos_github.egg-info/PKG-INFO
10
11
  xyberos_github.egg-info/SOURCES.txt
11
12
  xyberos_github.egg-info/dependency_links.txt
File without changes