The cross-platform tool to with the TC server remotely.
Project description
tcclient
Cross-platform tool to work with the TeamCity using REST API. The main goal is to run TeamCity configuration remotely, for example, from a Telegram bot.
Installation
For most users, the recommended method to install is via pip:
pip install tcclient
Import
from tcclient import TCRestClient
Usage
Command from usual user:
import os
from tcclient import TCRestClient
token = os.environ['TOKEN']
base_url = "https://tc.test.local:8080"
client = TCRestClient(base_url=base_url, token=token)
projects = client.get_all_projects()
print(projects.json())
Changelog
0.0.1.post1 (28.03.2021)
- minor fixes (typo and github link)
0.0.1 (28.03.2021)
- initial commit
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tcclient-0.0.1.post1.tar.gz
(3.2 kB
view hashes)
Built Distribution
Close
Hashes for tcclient-0.0.1.post1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cf5e71a0ccad584db90a0cafc7b297b8ece544af399a64b9b7eddb5322f5787 |
|
MD5 | 27c0064c2fc75af256711bcc39425b0c |
|
BLAKE2b-256 | 120fa68854a8a7fb6de774148191b4965b5bac4cd096f2303f8b56237b31f459 |