deis集群的python客户机。
hapydeis的Python项目详细描述
一个围绕deis api的python瘦包装器,目前只提供了一个0级客户机(应该用两个 很快就会有新功能)
安装
pip install git+https://github.com/Grindizer/hapydeis#egg=hapydeis
或者在下载zip或克隆git存储库之后进入开发模式
git clone https://github.com/Grindizer/hapydeis cd hapydeis pip install -e .
或者在git存储库的开发模式下
pip install -e git+https://github.com/Grindizer/hapydeis#egg=hapydeis
用法
from hapydeis import Client mycluster = Client('http://deis.mycluster.example.com') mycluster.authenticate('user', 'just an example here') list_apps = mycluster.apps.get()
开发
要运行所有测试,请运行
py.test