{"id":30237683,"url":"https://github.com/devopshq/teamcity","last_synced_at":"2025-08-15T02:07:31.231Z","repository":{"id":47107632,"uuid":"153228762","full_name":"devopshq/teamcity","owner":"devopshq","description":"dohq-teamcity is a Python package providing access to the JetBrains TeamCity server API.","archived":false,"fork":false,"pushed_at":"2025-06-09T03:05:38.000Z","size":7818,"stargazers_count":32,"open_issues_count":15,"forks_count":12,"subscribers_count":6,"default_branch":"develop","last_synced_at":"2025-06-09T04:20:01.273Z","etag":null,"topics":["devopshq","dohq-teamcity","jetbrains","python","python-library","teamcity","teamcity-api"],"latest_commit_sha":null,"homepage":"https://devopshq.github.io/teamcity/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/devopshq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-10-16T05:42:15.000Z","updated_at":"2025-06-03T15:03:09.000Z","dependencies_parsed_at":"2025-06-09T04:19:12.119Z","dependency_job_id":"c2f6f3aa-535d-4734-b1da-6d23a1ae45bb","html_url":"https://github.com/devopshq/teamcity","commit_stats":{"total_commits":119,"total_committers":8,"mean_commits":14.875,"dds":0.1428571428571429,"last_synced_commit":"7a73e05c0a159337ed317f8b8d8072e478a65ca6"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/devopshq/teamcity","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devopshq%2Fteamcity","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devopshq%2Fteamcity/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devopshq%2Fteamcity/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devopshq%2Fteamcity/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/devopshq","download_url":"https://codeload.github.com/devopshq/teamcity/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/devopshq%2Fteamcity/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270511293,"owners_count":24597666,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["devopshq","dohq-teamcity","jetbrains","python","python-library","teamcity","teamcity-api"],"created_at":"2025-08-15T02:07:29.440Z","updated_at":"2025-08-15T02:07:31.215Z","avatar_url":"https://github.com/devopshq.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dohq-teamcity\n[![docs](https://img.shields.io/badge/docs-published-brightgreen.svg)](https://devopshq.github.io/teamcity/)\n[![build](https://travis-ci.org/devopshq/teamcity.svg?branch=master)](https://travis-ci.org/devopshq/teamcity)\n[![pypi](https://img.shields.io/pypi/v/dohq-teamcity.svg)](https://pypi.python.org/pypi/dohq-teamcity)\n[![license](https://img.shields.io/pypi/l/dohq-teamcity.svg)](https://github.com/devopshq/teamcity/blob/master/LICENSE)\n\n`dohq-teamcity` is a Python package providing access to the JetBrains TeamCity server API. This library support ALL [TeamCity API](https://confluence.jetbrains.com/display/TCD10/REST+API) methods, if you don't find some - create issue, please.\n\n## Installation\n```\n# Latest release\npip install dohq-teamcity\n\n# Develop branch\ngit clone https://github.com/devopshq/teamcity\ncd teamcity\npython setup.py install\n```\n\n\n## Usage\n\n```python\nfrom dohq_teamcity import TeamCity\n\n# username/password authentication\ntc = TeamCity(\"https://teamcity.example.com\", auth=('username', 'password'))\n\n# list all the projects\nprojects = tc.projects.get_projects()\n# OR\n# projects = tc.project_api.get_projects()\nfor project in projects:\n   print(project)\n\n# get the group with name = groupname\ngroup = tc.group.get('name:groupname')\nprint(group)\n\n# get the user with name = username\nuser = tc.user.get('username:devopshq')\nprint(user)\n\n# create a new user and delete\nfrom dohq_teamcity import User\nnew_user = User(name='New user', username='new_user')\nnew_user = tc.users.create_user(body=new_user)\nnew_user.delete()\n\n# other way - create object, connect with exist instance and load it\nimport dohq_teamcity\nbt = dohq_teamcity.BuildType(id='MyBuildTypeId', teamcity=tc)\nbt = bt.read()\n```\n\n## What next?\nSee more examples and full documantation on page: https://devopshq.github.io/teamcity\n\n## How to release?\n1. Bump version in `dohq_teamcity/version.py`\n2. Merge changes to **master** branch\n3. Create Github Release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevopshq%2Fteamcity","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdevopshq%2Fteamcity","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdevopshq%2Fteamcity/lists"}