dohq-teamcity is compatible with Python 2.7 and 3.4+ (dohq means DevOpsHQ).

Use pip to install the latest stable version of dohq-teamcity:

pip install --upgrade dohq-teamcity

The current development version is available on github. Use git and python to install it:

git clone
cd teamcity
python install

Try connect to your TeamCity instance

from dohq_teamcity import TeamCity
tc = TeamCity("", auth=('username', 'password'))