xyberos-plugin-validator
Static + live-kernel validation for Xyberos plugins.
xyberos plugin validate (from xyberos-cli) reports, per check:
structure, contract, configuration, testing, documentation,
compatibility — then ends with Result: PASS or Result: FAIL.
Checks
- structure — the expected files exist (
pyproject.toml, package dir, tests) - contract — the exported plugin is a
Plugin, has a name, is concrete, and implements the abstract members of its contract - configuration — a
xyberos.pluginsentry point is declared - testing — test files exist (and can run, when invoked with
--run-tests) - documentation — a
README.mdexists - compatibility — the plugin imports and registers/unregisters against a
real
create_app()in an isolated subprocess (live-kernel check)
The live check runs in a subprocess so validation never mutates the caller's
kernel or process state.
from xyberos_plugin_validator import validate_plugin
report = validate_plugin(".")
print(report.render())
print("PASS" if report.passed else "FAIL")
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file xyberos_plugin_validator-0.1.0.tar.gz.
File metadata
- Download URL: xyberos_plugin_validator-0.1.0.tar.gz
- Upload date:
- Size: 8.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d61b0f8ea5b8269653752b4e8ebb2586a35718d3063de367d2eec8a180470279
|
|
| MD5 |
62be97f512f4decc63abd8d6b2b058a2
|
|
| BLAKE2b-256 |
373605c363bdf3399649bc3d505b2b53dcb710254d98d7c89cb647d78bc618dc
|
File details
Details for the file xyberos_plugin_validator-0.1.0-py3-none-any.whl.
File metadata
- Download URL: xyberos_plugin_validator-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
228b3eefad9fd0d6a5d12627dec74da2fec7ed102a0e63ce248dcc8b8120beea
|
|
| MD5 |
13f8e5e6e9ce049bbb444f8610872dc3
|
|
| BLAKE2b-256 |
59930d59ee7ed62fba19e9b69b0c3d0f72670a643755c8c5755649603876b5c0
|