bustard微型的 WSGI 框架
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) ...评论
