xyberos-plugin-sdk
Typed plugin base classes, a declarative loader, and contract introspection for building Xyberos plugins.
Everything in this package is external and additive: it imports only the
stable public API of xyberos (the contracts, create_app, kernel.register,
entry points) and never modifies the core.
Install
pip install xyberos-plugin-sdk
Typed plugins
from xyberos.contracts import Tool
from xyberos_plugin_sdk.base import ToolPlugin
class GreetTool(Tool):
@property
def name(self) -> str:
return "greet"
def execute(self, context: object, **arguments) -> object:
return f"hello, {arguments.get('who', 'world')}"
class GreetPlugin(ToolPlugin):
@property
def name(self) -> str:
return "greet"
def tools(self):
return [GreetTool()]
Declarative plugins
Define a plugin in pyproject.toml and load it with
xyberos_plugin_sdk.declarative:
[tool.xyberos.plugins.github]
type = "tool"
auth = "token"
capabilities = ["repositories", "issues", "pull_requests"]
See xyberos_plugin_sdk.introspect for the contract introspection used by
the generator and validator (the "one rule" — derive everything from the
contracts so nothing can drift).
Metadata
Release files for xyberos-plugin-sdk 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| xyberos_plugin_sdk-0.1.0.tar.gz | 9.1 kB | Without provenance | Details for xyberos_plugin_sdk-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| xyberos_plugin_sdk-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for xyberos_plugin_sdk-0.1.0-py3-none-any.whl |
Total release size: 17.8 kB
Release files / xyberos_plugin_sdk-0.1.0.tar.gz
| Download URL | xyberos_plugin_sdk-0.1.0.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
853f5c1431be5b518c72353b9b357b60a331d9f9f509e3bec87d5109d1aa84f4
|
|
BLAKE2b-256 checksum How to use checksums |
c40c67353fa02293e740199e4e0e568c3b2ff1202d1b09d88cdbfb2754b18133
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Release files / xyberos_plugin_sdk-0.1.0-py3-none-any.whl
| Download URL | xyberos_plugin_sdk-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4a6e559662c50d2f9f74edd05b988e5741f2f656df5bf1fbb59d0bacdaf9f29f
|
|
BLAKE2b-256 checksum How to use checksums |
feba91c7967144bc7ebfd772b22f0754fb6235257546887943556713cedf12bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.10
|
Security for xyberos-plugin-sdk 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.