- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/mozillazg/bustard
- 软件文档: https://github.com/mozillazg/bustard
软件介绍
bustard 是一个微型的 WSGI 框架。
主要特性:
router
orm
request and response
cookies and session
template engine
wsgi server
安装:
pip install bustard pip install psycopg2 # if you need orm feature
示例:
from bustard.app import Bustard
app = Bustard()
@app.route('/')
def helloword(request):
return 'hello world'
if __name__ == '__main__':
app.run()运行:
$ python hello.py
WSGIServer: Serving HTTP on ('127.0.0.1', 5000) ...
