Skip to content

Instantly share code, notes, and snippets.

@dorneanu
dorneanu / plugin_architecture.md
Last active April 17, 2024 00:15
Python: Implement basic plugin architecture with Python and importlib

Implementing a basic plugin architecture shouldn't be a complicated task. The solution described here is working but you still have to import every plugin (inheriting from the base class).

This is my solution:

Basic project structure

$ tree