Plugin system and CLI engine for projects built with pyrig.
Put simply, pyrig-runtime is a plugin system based on classes that declare functionality through code, and via subclassing these classes any state and functionality can be changed, removed or extended by overriding the methods of parent classes. For pyrig-runtime itself this applies to the CLI class it provides.
pyrig-runtime was built for pyrig which
uses it for its file generation and tool wrapping classes and its CLI.
pyrig-runtime is a standalone library — its only dependency is Typer, and nothing
here requires pyrig itself to be installed. pyrig is a development dependency and
dev toolkit; pyrig-runtime is a plugin system and automatic CLI enabler.
- Plugin discovery via classes — define a base class and its subclasses are discovered automatically across every installed package that depends on it without the need for registration. Learn more.
- Automatic CLI — every project gets a working command-line interface. Learn more.
For anything beyond this overview, see the Documentation.