{ "info": { "author": "Marc Abramowitz", "author_email": "marc@marc-abramowitz.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "PyTeamCity\n==========\n\n|Latest Version| |Travis CI Build Status| |AppVeyor Build Status|\n|Coveralls Coverage Status|\n\nPython interface to the `REST\nAPI `__ of\n`TeamCity `__\n\nInstallation\n------------\n\n::\n\n pip install pyteamcity\n\nNew API work-in-progress\n------------------------\n\nNote that I am working on a new API currently called\n`pyteamcity.future `__\n(initially added in\n`#37 `__).\n\nGoal here is to create a brand new API that is much more flexible and to\nhave nicer code that is easier to work with. The old code encourages\nadding a zillion methods for different ways of filtering. The new code\nhas an API with a smaller number of methods that are more consistent and\nmore flexible in terms of filtering. It is modeled after the Django ORM\nAPI.\n\nThere's no formal docs for this API yet, but you should be able to\nfigure out how to use it by looking at the `unit\ntests `__.\n\nI am probably not going to merge PRs that add things to the old API,\nbecause I see the new API as the future. I of course am very interested\nin PRs that add things to the new API!\n\nExamples\n--------\n\nConnect to server\n~~~~~~~~~~~~~~~~~\n\n.. code:: python\n\n from pyteamcity import TeamCity\n\n # This initialises the Client with the settings passed. has to be an integer.\n tc = TeamCity('account', 'password', 'server', )\n\nor specify no parameters and it will read settings from environment\nvariables:\n\n- ``TEAMCITY_USER``\n- ``TEAMCITY_PASSWORD``\n- ``TEAMCITY_HOST``\n- ``TEAMCITY_PORT`` (Defaults to 80 if not set)\n\n.. code:: python\n\n from pyteamcity import TeamCity\n\n # Initialises with environment variables: TEAMCITY_{USER,PASSWORD,HOST,PORT}\n tc = TeamCity()\n\nGetting data\n~~~~~~~~~~~~\n\n.. code:: python\n\n tc.get_projects()\n tc.get_project_by_project_id('MyProject')\n tc.get_all_users()\n tc.get_user_by_username('codyw')\n tc.get_all_vcs_roots()\n tc.get_all_build_types()\n tc.get_changes_by_build_id(73450)\n tc.get_build_statistics_by_build_id(73450)\n tc.get_build_tags_by_build_id(73450)\n tc.get_all_changes()\n tc.get_change_by_change_id(16884)\n tc.get_all_builds(start=0, count=3)\n tc.get_build_by_build_id(73450)\n tc.get_server_info()\n tc.get_agents()\n tc.get_all_plugins()\n\nYou can also look at\n`sample.py `__\nor\n`test\\_legacy.py `__\n\nAcknowledgements\n----------------\n\nThis is a heavily-modified fork of\nhttps://github.com/yotamoron/teamcity-python-rest-client so many thanks\nare due to `Yotam Oron `__\n\n.. |Latest Version| image:: https://badge.fury.io/py/pyteamcity.svg\n :target: https://pypi.python.org/pypi/pyteamcity/\n.. |Travis CI Build Status| image:: https://travis-ci.org/SurveyMonkey/pyteamcity.svg?branch=master\n :target: https://travis-ci.org/SurveyMonkey/pyteamcity\n.. |AppVeyor Build Status| image:: https://ci.appveyor.com/api/projects/status/32r7s2skrgm9ubva?svg=true\n :target: https://ci.appveyor.com/project/msabramo/pyteamcity-v7gx2\n.. |Coveralls Coverage Status| image:: https://coveralls.io/repos/github/SurveyMonkey/pyteamcity/badge.svg?branch=master\n :target: https://coveralls.io/github/SurveyMonkey/pyteamcity?branch=master\n\n\nChanges\n=======\n\n0.1.1 (2016-11-09)\n\n- `Fix setup for sub\n package `__\n\nUnreleased\n----------", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/SurveyMonkey/pyteamcity", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "pyteamcity", "package_url": "https://pypi.org/project/pyteamcity/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyteamcity/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/SurveyMonkey/pyteamcity" }, "release_url": "https://pypi.org/project/pyteamcity/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "Use the TeamCity REST API from Python", "version": "0.1.1" }, "last_serial": 2451498, "releases": { "0.0.0": [ { "comment_text": "", "digests": { "md5": "cfd33707777680f70c12208356d9f392", "sha256": "0e6693e35ce55d05f829ff77f8f5c6cee2e50c7ee1b3d0675f6e773810d4ccb8" }, "downloads": -1, "filename": "pyteamcity-0.0.0.tar.gz", "has_sig": false, "md5_digest": "cfd33707777680f70c12208356d9f392", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3854, "upload_time": "2015-02-25T19:37:26", "url": "https://files.pythonhosted.org/packages/54/56/f0f83168e6bebd82b6a192903e87e1ffca4617a877889325884deb5fa596/pyteamcity-0.0.0.tar.gz" } ], "0.0.1": [ { "comment_text": "", "digests": { "md5": "c2f6837c23a1fbe018dba5c3509afead", "sha256": "c78b088a70682002c88c983a5382705815813bd691b06dc43bdb1f9f5e64f727" }, "downloads": -1, "filename": "pyteamcity-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c2f6837c23a1fbe018dba5c3509afead", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4945, "upload_time": "2015-03-11T23:51:02", "url": "https://files.pythonhosted.org/packages/eb/1a/adc40780c07494e4bc32815b41f5bb5174d9ae11405ae001c746c4bc67f3/pyteamcity-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "9c7ea67eb930d77c1394b0dc84a037db", "sha256": "73fe91c15ea1fb4db6fffd1fa895845ae8cf1fb3089e8ddce5c95845bc22734a" }, "downloads": -1, "filename": "pyteamcity-0.1.0.tar.gz", "has_sig": false, "md5_digest": "9c7ea67eb930d77c1394b0dc84a037db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33463, "upload_time": "2016-08-19T23:35:10", "url": "https://files.pythonhosted.org/packages/97/54/481b16aeb0faa90300843ec9a825ebfae86be12c99e94900475324140b33/pyteamcity-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "df1d124c1bbddb3af017cbae5ae657bd", "sha256": "43a5c91e62590259321dec37cfd0dc297905e92d9d2026030a016acf3d0e8cf7" }, "downloads": -1, "filename": "pyteamcity-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "df1d124c1bbddb3af017cbae5ae657bd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12469, "upload_time": "2016-11-09T18:16:18", "url": "https://files.pythonhosted.org/packages/f3/cc/c4e598e5c1a9250ec7088c239732bb4ac195f0439336f6b55389286f179e/pyteamcity-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7aa97fd86a151d3243ed1e31f79852cd", "sha256": "3d9f97fff7f397f2c2484acd5acda7bb48681ec1ff9ed80443a7c374613b0fe1" }, "downloads": -1, "filename": "pyteamcity-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7aa97fd86a151d3243ed1e31f79852cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34983, "upload_time": "2016-11-09T18:15:13", "url": "https://files.pythonhosted.org/packages/07/5b/18104c49d8bb77a8f4ddd80822b223edbbd8e49ffcf539018b686b6b6e4f/pyteamcity-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "df1d124c1bbddb3af017cbae5ae657bd", "sha256": "43a5c91e62590259321dec37cfd0dc297905e92d9d2026030a016acf3d0e8cf7" }, "downloads": -1, "filename": "pyteamcity-0.1.1-py2-none-any.whl", "has_sig": false, "md5_digest": "df1d124c1bbddb3af017cbae5ae657bd", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 12469, "upload_time": "2016-11-09T18:16:18", "url": "https://files.pythonhosted.org/packages/f3/cc/c4e598e5c1a9250ec7088c239732bb4ac195f0439336f6b55389286f179e/pyteamcity-0.1.1-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7aa97fd86a151d3243ed1e31f79852cd", "sha256": "3d9f97fff7f397f2c2484acd5acda7bb48681ec1ff9ed80443a7c374613b0fe1" }, "downloads": -1, "filename": "pyteamcity-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7aa97fd86a151d3243ed1e31f79852cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34983, "upload_time": "2016-11-09T18:15:13", "url": "https://files.pythonhosted.org/packages/07/5b/18104c49d8bb77a8f4ddd80822b223edbbd8e49ffcf539018b686b6b6e4f/pyteamcity-0.1.1.tar.gz" } ] }