rest库是对木犀团队后端项目的总结。
rest 提供了如下几种类型的工具方便API的编写:
- cli命令行工具
- decorator装饰器工具
- authflask-httpauth扩展对象
- 这个flask项目使用mana和rest构建了一个提供基本CRUD API服务的web应用
从源码安装, rest只是某个人对API的编写总结, 从源码安装方便大家修改源码,把自己的思想融入进去
$ git clone https://github.com/neo1218/rest.git
$ cd rest
$ pip install (--editable) .