Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mitsuhiko/pluginbase
A simple but flexible plugin system for Python.
https://github.com/mitsuhiko/pluginbase
Last synced: 25 days ago
JSON representation
A simple but flexible plugin system for Python.
- Host: GitHub
- URL: https://github.com/mitsuhiko/pluginbase
- Owner: mitsuhiko
- License: other
- Created: 2014-06-30T20:51:42.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-05-16T16:23:31.000Z (about 3 years ago)
- Last Synced: 2024-04-16T18:02:24.696Z (about 1 month ago)
- Language: Python
- Size: 76.2 KB
- Stars: 1,082
- Watchers: 42
- Forks: 142
- Open Issues: 3
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Lists
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- Awesome-Python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- Python-Awesome - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Awesome Python / Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- python-awesome-case1 - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- fucking-awesome-python - :octocat: pluginbase - :star: 1063 :fork_and_knife: 145 - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python-master - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome_python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-stars - mitsuhiko/pluginbase - A simple but flexible plugin system for Python. (Python)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-stars - pluginbase - A simple but flexible plugin system for Python. (Python)
- join-awesome-python-interview-topics - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python-cn - pluginbase
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python-cn - 官网
- awesome-python-clone - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-stars - pluginbase
- awesome-python4 - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python-resources-all - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- fucking-awesome-python - :octocat: pluginbase - :star: 913 :fork_and_knife: 137 - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python-zh - pluginbase - 一个简单但灵活的Python插件系统。 (杂项)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python-resources - GitHub
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-stars - pluginbase
- awesome-python-master - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome_python_with_star - mitsuhiko/pluginbase
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesomePython - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- git-github.com-vinta-awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python-cn - 官网
- python-awesome - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- my-awesome-stars - mitsuhiko/pluginbase - A simple but flexible plugin system for Python. (Python)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- fucking_awesome_python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- Mpaperlee-awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome_python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- jimsghstars - mitsuhiko/pluginbase - A simple but flexible plugin system for Python. (Python)
- my-stars - mitsuhiko/pluginbase - A simple but flexible plugin system for Python. (Python)
- starred-awesome - pluginbase - A simple but flexible plugin system for Python. (Python)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python - pluginbase - A simple but flexible plugin system for Python. (Miscellaneous)
- awesome-python-cn - pluginbase
- my-awesome-stars - mitsuhiko/pluginbase - A simple but flexible plugin system for Python. (Python)
README
PluginBase
==========PluginBase is a module for Python that enables the development of flexible plugin systems in Python.
Step 1:
.. code-block:: python
from pluginbase import PluginBase
plugin_base = PluginBase(package='yourapplication.plugins')Step 2:
.. code-block:: python
plugin_source = plugin_base.make_plugin_source(
searchpath=['./path/to/plugins', './path/to/more/plugins'])Step 3:
.. code-block:: python
with plugin_source:
from yourapplication.plugins import my_plugin
my_plugin.do_something_cool()Or alternatively:
.. code-block:: python
my_plugin = plugin_source.load_plugin('my_plugin')
my_plugin.do_something_cool()