teamcity-python-rest-client:TeamCity Python REST API 客户端

时间:2021-06-22 22:46:37
【文件属性】:
文件名称:teamcity-python-rest-client:TeamCity Python REST API 客户端
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-22 22:46:37
Python TeamCity Python REST 客户端 它能做什么 此代码可用于轻松访问 TeamCity 的 REST API,并轻松确保任何请求格式正确。 安装 要安装,只需克隆存储库,然后将文件夹teamcity-python-rest-client到所选 IDE 的构建路径中。 使用 PyCharm,这是通过转到设置->项目解释器->单击齿轮->单击“显示所选解释器的路径”来完成的。 在那里您可以将文件夹添加到当前选定的解释器,这将使您的项目可以在本地使用。 在您的服务器中,您必须将 tc.py 放在您的 Python 库目录中(在我安装 CentOS 的情况下,它位于/usr/lib/python2.6/site-packages )。 例子 获取服务器中的所有项目 # This initialises the Client with the settings passed. <
【文件预览】:
teamcity-python-rest-client-master
----sample.py(356B)
----tc.py(12KB)
----__init__.py(0B)
----.gitignore(6B)
----README.md(2KB)

网友评论