微型的 WSGI 框架 bustard

码农软件 · 软件分类 · Web框架 · 2019-03-25 14:13:45

软件介绍

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) ...

本文地址:https://www.codercto.com/soft/d/2124.html

The Information

The Information

James Gleick / Vintage / 2012-3-6 / USD 16.95

James Gleick, the author of the best sellers Chaos and Genius, now brings us a work just as astonishing and masterly: a revelatory chronicle and meditation that shows how information has become th......一起来看看 《The Information》 这本书的介绍吧!

JS 压缩/解压工具
JS 压缩/解压工具

在线压缩/解压 JS 代码

正则表达式在线测试
正则表达式在线测试

正则表达式在线测试

HSV CMYK 转换工具
HSV CMYK 转换工具

HSV CMYK互换工具