Skip to content

vcar/PluginDispatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PluginDispatcher

Flask PluginDispatcher load plugins dynamically

This is a demonstration application to show how we can run multiple flask application within the same interpreter.

Here we suppose we have a main application yoona.py and multiple plugins in the plugins folder

The PluginDispatcher will look at each request if it maches the path /plugins/plugin_name and look for the plugin in the plugins folder, if it's there it will load it.

Installation

git clone https://github.com/vcar/PluginDispatcher.git

pip install -r requirements.txt

python run.py

You can create new plugins and they will load automatically.

About

Flask PluginDispatcher to load plugins dynamically

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages