可恢复库的sqlalchemy集成
restible-sqlalchem的Python项目详细描述
restable sqlalchemy是提供django与 restible。包括基础资源 类SqlAlchemyResource,可用于根据 SQLAlchemy模型定义
注意
可以找到Circleci构建 here
安装
$ pip install restible-sqlalchemy
贡献
设置开发回购
$ git clone git@github.com:novopl/restible-sqlalchemy.git $ cd restible-sqlalchemy $ virtualenv env $ source ./env/bin/activate $ pip install -r requirements.txt -r ops/devrequirements.txt $ peltak git add-hooks
运行测试
config:测试类型在pelconf.py和 pytest配置在ops/tools/pytest.ini中定义。
$ peltak test
起毛
config:要lint的位置列表在pelconf.py中定义,并且 linters配置在ops/tools/{pylint,pep8}.ini中定义。
$ peltak lint
生成文档
config:文档文件和常规配置的列表位于 pelconf.py,sphinx配置在docs/conf.py中定义。
$ peltak docs