用于构建restful web服务的微框架
Rhino的Python项目详细描述
rhino是一个用于构建restful web服务的python微框架。
安装
来自PYPI:
$ pip install rhino
从git签出:
$ git clone https://github.com/trendels/rhino.git $ cd rhino $ python setup.py install
要运行测试套件,请如上图所示克隆存储库,然后运行:
$ pip install -r requirements.txt $ make test
最小的“hello world”示例
fromrhinoimportMapper,get@getdefhello(request):return"Hello, world!"app=Mapper()app.add('/',hello)app.start_server()
文档
错误
请使用github issue tracker报告错误。
许可证
Rhino没有麻省理工学院的执照。查看包含的文件 LICENSE了解详细信息。