Skip to main content

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.plugins entry point is declared
  • testing — test files exist (and can run, when invoked with --run-tests)
  • documentation — a README.md exists
  • 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

xyberos_plugin_validator-0.1.0.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

xyberos_plugin_validator-0.1.0-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

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

Hashes for xyberos_plugin_validator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d61b0f8ea5b8269653752b4e8ebb2586a35718d3063de367d2eec8a180470279
MD5 62be97f512f4decc63abd8d6b2b058a2
BLAKE2b-256 373605c363bdf3399649bc3d505b2b53dcb710254d98d7c89cb647d78bc618dc

See more details on using hashes here.

File details

Details for the file xyberos_plugin_validator-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for xyberos_plugin_validator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 228b3eefad9fd0d6a5d12627dec74da2fec7ed102a0e63ce248dcc8b8120beea
MD5 13f8e5e6e9ce049bbb444f8610872dc3
BLAKE2b-256 59930d59ee7ed62fba19e9b69b0c3d0f72670a643755c8c5755649603876b5c0

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page