python-phabricator:Phabricator的Python绑定

时间:2021-05-08 21:27:37
【文件属性】:
文件名称:python-phabricator:Phabricator的Python绑定
文件大小:25KB
文件格式:ZIP
更新时间:2021-05-08 21:27:37
Python python-phabricator 安装 $ pip install phabricator 用法 通过实例化使用API​​,然后通过点分符号链调用该方法: from phabricator import Phabricator phab = Phabricator() # This will use your ~/.arcrc file phab.user.whoami() 您还可以使用: phab = Phabricator(host='https://my-phabricator.org/api/', token='api-mytoken') 参数作为关键字参数传递给资源调用: phab.user.find(aliases=["sugarc0de"]) 有关所有方法的文档位于 接口过时 如果Phabricator修改了Conduit,并且包含的interfaces.json
【文件预览】:
python-phabricator-master
----MANIFEST.in(94B)
----.travis.yml(395B)
----README.rst(1KB)
----bin()
--------publish(82B)
----LICENSE(11KB)
----CHANGES(1KB)
----setup.cfg(26B)
----setup.py(1KB)
----.gitignore(48B)
----phabricator()
--------interfaces.json(54KB)
--------tests()
--------__init__.py(11KB)
--------_compat.py(495B)

网友评论