Skip to content
Asterios Raptis edited this page Mar 27, 2026 · 4 revisions

PluginForge Wiki

Application-agnostic plugin framework built on pluggy.

PluginForge wraps pluggy and adds the layers that pluggy does not provide: YAML configuration, plugin lifecycle, enable/disable, dependency resolution, FastAPI integration, Alembic migration support, and i18n.

Quick Links

Architecture Overview

PluginManager
├── Config (YAML)        - app.yaml, plugins/*.yaml, i18n/*.yaml
├── Discovery            - Entry points + dependency resolution
├── Lifecycle            - init -> activate -> deactivate (+ hot-reload)
├── Hooks (pluggy)       - @hookspec / @hookimpl
├── Extensions           - get_extensions(type) for interface-based queries
├── Health Checks        - Plugin health monitoring
├── Security             - Plugin name validation, path traversal prevention
├── FastAPI (optional)   - Route mounting with configurable prefix
├── Alembic (optional)   - Migration directory collection
└── i18n (optional)      - Multilingual strings from YAML

Requirements

  • Python 3.11+
  • pluggy >= 1.5.0
  • PyYAML >= 6.0

Clone this wiki locally