- 授权协议: MIT
- 开发语言: Python
- 操作系统: 跨平台
- 软件首页: https://github.com/channelcat/sanic
- 软件文档: https://github.com/channelcat/sanic
软件介绍
Sanic 是一个基于 Python 3.5+ 的 Web 服务器,与 Flask 有点类似,特点是速度非常快。
速度对比
所有测试都在运行 ubuntu 的 AWS 介质实例上运行,使用1个进程。 每个脚本都传递了一个小的 JSON 响应,并使用100个连接使用 wrk 进行测试。
Hello World 示例
from sanic import Sanic
from sanic.response import json
app = Sanic()
@app.route("/")
async def test(request):
return json({"hello": "world"})
if __name__ == "__main__":
app.run(host="0.0.0.0", port=8000)
具体数学(英文版第2版)
[美] Ronald L. Graham、Donald E. Knuth、Oren Patashnik / 机械工业出版社 / 2002-8 / 49.00元
This book introduces the mathematics that supports advanced computer Programming and the analysis of algorithms. The primary aim of its well-known authors is to provide a solid and relevant base of ma......一起来看看 《具体数学(英文版第2版)》 这本书的介绍吧!
