Skip to content

Repository files navigation

pyrig-runtime

CI CD ProjectTester SecurityPracticesChecker Best Practices Baseline

ByteOrderMarkerFormatter CICDLinter CICDSecurityChecker CaseConflictChecker CodeAnalyzer DeadCodeChecker DependencyChecker EndOfFileFormatter EndOfLineFormatter FuzzTester JSONFormatter JSONLinter LargeFileChecker MarkdownLinter MergeConflictChecker ModuleTestNamingChecker PythonLinter PythonOrderLinter SecretsChecker SecurityChecker ShellFormatter ShellLinter SpellChecker TOMLLinter TrailingWhitespaceFormatter TypeChecker XMLLinter YAMLLinter

PackageManager Pyrigger RemoteVersionController VersionControlHookManager VersionController

DocsBuilder PackageIndex ProgrammingLanguage License


Plugin system and CLI engine for projects built with pyrig.


Overview

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.

Features

  • 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.

Documentation

For anything beyond this overview, see the Documentation.