Skip to main content

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

Metadata

Release files for tcclient 0.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tcclient 0.0.4
File Size Uploaded Provenance Actions
tcclient-0.0.4.tar.gz 3.2 kB Without provenance Details for tcclient-0.0.4.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tcclient 0.0.4
File Interpreter ABI Platform Actions
tcclient-0.0.4-py3-none-any.whl Python 3 none any Details for tcclient-0.0.4-py3-none-any.whl

Total release size: 6.5 kB

Release files / tcclient-0.0.4.tar.gz

Download URL tcclient-0.0.4.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
0283c74c599b00e6f3d4fbf5c097e5051f30d5ec528774ef27c02be0e970c93c
BLAKE2b-256 checksum
How to use checksums
620f03513b1cb59a5c676a4f4af6d4dc334c50287b5877fe6307c6dcd21944a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Release files / tcclient-0.0.4-py3-none-any.whl

Download URL tcclient-0.0.4-py3-none-any.whl
Size 3.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
74148d9150f6ab2ed1117560425caaa14dbc80acc6a0490f27d94013b7125e19
BLAKE2b-256 checksum
How to use checksums
6a073982fcf00c31134a915b9369794952e707c78818265fb4cf8db6417ae9d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.10.2

Security for tcclient 0.0.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page