rhino:用于构建RESTful Web服务的Python微框架

时间:2021-05-11 17:45:41
【文件属性】:
文件名称:rhino:用于构建RESTful Web服务的Python微框架
文件大小:81KB
文件格式:ZIP
更新时间:2021-05-11 17:45:41
Python 犀牛 Rhino是用于构建RESTful Web服务的python微框架。 安装 从pypi: $ pip install rhino 从git checkout: $ git clone https://github.com/trendels/rhino.git $ cd rhino $ python setup.py install 要运行测试套件,请如上所述克隆存储库,然后运行: $ pip install -r requirements.txt $ make test 最小的“ Hello World”示例 from rhino import Mapper , get @ get def hello ( request ): return "Hello, world!" app = Mapper () app . add ( '/' , hello ) app
【文件预览】:
rhino-master
----MANIFEST.in(161B)
----.travis.yml(134B)
----README.rst(1KB)
----.coveragerc(350B)
----README.mkd(1KB)
----test()
--------test_context.py(3KB)
--------test_request.py(8KB)
--------vendor()
--------test_callbacks.py(4KB)
--------test_resourcewrapper.py(4KB)
--------test_resource.py(7KB)
--------test_response.py(13KB)
--------test_mapper.py(11KB)
--------ext()
--------test_util.py(4KB)
--------test_static.py(3KB)
--------examples()
--------test_representations.py(3KB)
--------test_http.py(2KB)
--------test_urls.py(4KB)
--------test_wrapper.py(1KB)
--------test_route.py(611B)
----LICENSE(1KB)
----rhino()
--------vendor()
--------http.py(5KB)
--------resource.py(13KB)
--------test.py(4KB)
--------request.py(13KB)
--------mapper.py(27KB)
--------errors.py(6KB)
--------util.py(4KB)
--------__init__.py(623B)
--------ext()
--------static.py(3KB)
--------response.py(14KB)
--------urls.py(1KB)
----requirements.txt(271B)
----examples()
--------tutorial()
--------build_url.py(1KB)
--------conneg.py(730B)
--------content_type_versioning.py(1KB)
--------movie_db()
--------json_api.py(1KB)
--------wiki()
--------__init__.py(0B)
--------nested_mappers()
--------helloworld.py(178B)
----setup.py(858B)
----.gitignore(36B)
----Makefile(402B)

网友评论