Skip to main content

The cross-platform tool to with the TC server remotely.

Project description

Version PyPI - Python Version

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.4 (17.04.2022)
  • external logger added

...

0.0.2 (22.09.2021)

New methods added:

  • get_project_parameters()
  • get_project_parameter()
  • set_project_parameter()
  • get_bt_parameter()
0.0.1.post1 (28.03.2021)
  • minor fixes (typo and github link)
0.0.1 (28.03.2021)
  • initial commit

Project details


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.4.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

tcclient-0.0.4-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file tcclient-0.0.4.tar.gz.

File metadata

  • Download URL: tcclient-0.0.4.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for tcclient-0.0.4.tar.gz
Algorithm Hash digest
SHA256 0283c74c599b00e6f3d4fbf5c097e5051f30d5ec528774ef27c02be0e970c93c
MD5 cc967c9a993b031f5a65b249d1b1b573
BLAKE2b-256 620f03513b1cb59a5c676a4f4af6d4dc334c50287b5877fe6307c6dcd21944a5

See more details on using hashes here.

File details

Details for the file tcclient-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: tcclient-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.10.2

File hashes

Hashes for tcclient-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 74148d9150f6ab2ed1117560425caaa14dbc80acc6a0490f27d94013b7125e19
MD5 b8878c4c6cb8821861f5635691d506d0
BLAKE2b-256 6a073982fcf00c31134a915b9369794952e707c78818265fb4cf8db6417ae9d7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page