PySH Plugin Development
Under ConstructionBuild, configure, test, package, and publish PySH plugins using Python and TOML.
School 4 (PPD) is the advanced plugin development track. It is designed for Python developers who want to extend PySH and distribute their automation work as reusable plugins. Students will learn the full plugin lifecycle: from anatomy and structure through testing, quality gates, packaging, and PyPI publication.
The track covers plugin anatomy (@plugin.command decorator pattern, TOML metadata, command mapping), configuration patterns for plugins, writing automated tests for PySH plugin commands using pytest, setting up quality gates with ruff for linting and mypy for type checking, and integrating plugins with the ECLI engineering workspace.
The track includes 40+ lessons across 4 courses: PPD-401 (PySH Plugin Fundamentals), PPD-420 (TOML Configuration for Plugins), PPD-440 (Plugin Testing and Quality Gates), and PPD-460 (ECLI Integration for PySH Workflows). All lessons include working reference implementations that can be adapted for real plugin projects.
Prerequisites: Intermediate Python (School 2 or School 3). Understanding of Python packaging (pyproject.toml, pip, PyPI) is helpful but not required.