Writing Remmina plugins in Python
Problem to solve
Developers can not write plugins in python.
Further details
As discussed here I want to enable developers to write plugins for Remmina in Python.
Proposal
I see three possibilities (please help me complete this list)
-
I don't know if this works! Provide a Python API to interface with Remmina and use Cython to compile the plugin which is using that library. The plugin manager can then load the resulting .so file (hopefully) without any modifications.
-
Extend the plugin manager to be able to read python plugins (I would think about a plugin manager interface and two different implementations (.so libraries and Python files). Enables us to implement other kind of plugin managers later).
-
Write a Python-binding plugin that loads all Python plugins and provides all of them to the plugin manager which needs to be extended to recognize them separately.
Right now I'm a fan of the first approach which I'm analyzing right now. But I'm very open to discuss the other options (or any option you propose).