python库使与sailsd api的交互变得容易
python-sailsd的Python项目详细描述
一个python库,使与sailsd api的交互变得容易。
要安装:
$ pip install python-sailsd
文档:http://python-sailsd.readthedocs.io/
这个repo还包括sailsd api的一些功能测试。你可以跑 它们通过运行functional_tests.py。
要获得更漂亮的输出,请使用pytest运行这些测试:
$ py.test functional_tests.py -v