Build plugins using Pluggy
summary
Shows how to use hookspecs and hookimpls with the pluggy library, including the exact core code that creates a PluginManager.register flow and command‑line toggles. Builds a small search-and-rescue app with five plugins (auth, renderer, exporter, coverage, stats), wires them by name, and runs unit tests and a demo CLI to prove registration, invocation order, and output formatting work end‑to‑end. Includes pitfalls around plugin state and configuration loading.
AI-written summary · about
chapters (6)
- 0:00Introduction to Pluggy
- 3:03Plugin architecture basics
- 10:08Plugin manager responsibilities
- 15:01Entry points and invocation
- 19:00Testing and verification
- 22:17Final product and data sets
related talks
26mPlug life into your codebase: Making established Python codebase pluggable
44mGetting To Your Third Plugin
26mBackstage Plugin Development: Tales from the Trenches
36mKubectl Plugins 101
31mForget Rebuilding, Install Plugins at Runtime
32mAccelerating Collaborative Plugin Development
06mLightning Talk: CF CLI-Plugins for Fun and Profit
39mFantastic Plugins and Where to Find Them
