Load and run plugins for your Flask application
Project description
基于Flask的插件式开发工具(Web program plugin development kit based on flask).
使用概述(Overview)
安装(Installation)
# 正式版(Release)
$ pip install -U Flask-PluginKit
# 开发版(Dev)
$ pip install -U git+https://github.com/staugur/Flask-PluginKit.git
测试用例(TestCase)
$ make dev && make test
普通模式(Usage)
from flask_pluginkit import PluginManager
plugin = PluginManager(app)
工厂模式(The factory pattern)
from flask_pluginkit import PluginManager
plugin = PluginManager()
plugin.init_app(app)
贡献(Contributing)
有关设置开发环境以及如何为Flask-PluginKit做出贡献,请参阅 contributing guidelines.
资源(Resources)
Author https://www.saintic.com
使用 Flask-PluginKit 的项目 https://github.com/topics/flask-pluginkit
基于 Flask-PluginKit 的官方插件 https://github.com/flask-pluginkit
文档(Documentation)
许可证(LICENSE)
说在后面(END)
欢迎提交PR、共同开发!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Flask-PluginKit-2.4.0.tar.gz
(21.3 kB
view hashes)
Built Distribution
Close
Hashes for Flask_PluginKit-2.4.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 548af2428681e341d699f18b3b99c5687fcb4170b3caed980a94c007de2bc641 |
|
MD5 | 08655ff95037def1ba414bdc8f03f01b |
|
BLAKE2b-256 | 8dedb1527077b8726d6db0b0a2f1a7a01f34d4f1d2aef828226b95dc70957868 |