pycrabapi:为中小型项目提供快速的Python HTTP API

时间:2021-05-10 09:13:34
【文件属性】:
文件名称:pycrabapi:为中小型项目提供快速的Python HTTP API
文件大小:28KB
文件格式:ZIP
更新时间:2021-05-10 09:13:34
Python pycrabapi 信用 (lqs) 原始作者(mapcan) 记录器 主要特征 即用型HTTP API ...如果您愿意也可以放松一下 人性化的API语法...可以自行编写文档 附带有一个并发记录器,该记录器可能会在午夜旋转 ###依赖关系(强烈建议使用pip): Python 2.7 PyMySQL redis Jinja2 simpleflake mock uWSGI ###使用uWSGI运行: 命令行(例如,在18888 http上运行): uwsgi --wsgi文件japi.py --http:18888 示例uWSGI配置文件:api.template.yaml ###从这里构建您自己的api: 看看controllers / internal.py # sample router def index(args, me, meta): routes =
【文件预览】:
pycrabapi-master
----mail()
--------mail_template.tpl(0B)
----controllers()
--------internal.py(2KB)
--------__init__.py(0B)
----log.py(1KB)
----helpers()
--------util.py(7KB)
--------error.py(1KB)
--------__init__.py(0B)
--------format.py(260B)
--------api.py(2KB)
--------mail.py(2KB)
----japi.py(10KB)
----dao()
--------account.py(413B)
--------__init__.py(0B)
----LICENSE(1KB)
----api.template.yaml(435B)
----README.md(1KB)
----singletons.py(2KB)
----.gitignore(25B)
----miscs()
--------logger()
--------__init__.py(0B)

网友评论