Answer the question
In order to leave comments, you need to log in
How to organize a plugin system for a Python application?
There are two projects:
1. Web application on Flask and SQLAlchemy, already working.
2. The idea of implementing a kind of file manager in Python and Kivy, tools are being selected.
They have one common task, the creation of a plugin system. Accordingly the question. How to organize plugin systems for them. Is it possible to use some kind of universal approach? Or will it be necessary to divide this task into two? Is it better to organize from scratch or are there ready-made solutions? Are there any sane articles describing the theoretical part of this task, in relation to Python?
Answer the question
In order to leave comments, you need to log in
There is no universal theoretical part. There are several opinions on Stackoverflow or Habré .
Try looking at projects that use plugin systems. CloudBot comes to mind , you can search further. I once implemented such an architecture in Leonard Bot .
Of the ready-made systems, Yapsy can be noted , but it looks dead and may not be suitable for a Kivy application, so try writing a plugin system yourself - it's not difficult.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question