{ "info": { "author": "Jakub Jarosz", "author_email": "qba73@postpro.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing" ], "description": "============\ncircleclient\n============\n\n.. image:: https://travis-ci.org/qba73/circleclient.svg?branch=master\n :target: https://travis-ci.org/qba73/circleclient\n :alt: Travis CI Build Status\n\n.. image:: https://pypip.in/v/circleclient/badge.png\n :target: https://pypi.python.org/pypi/circleclient\n :alt: Latest Version\n\n.. image:: https://pypip.in/license/circleclient/badge.png\n :target: https://pypi.python.org/pypi/circleclient/\n :alt: License\n\n.. image:: https://pypip.in/d/circleclient/badge.png\n :target: https://crate.io/packages/circleclient?version=latest\n :alt: Downloads\n\n\n\nPython client library for CircleCI API.\n\nFeatures\n========\n\n* Retrieve information about user\n* List followed repositories\n* Return status of recent builds for given project\n* Start build\n* Create parametrized builds\n* List build artifacts\n* Cancel build\n* Retry build\n* Clear build cache\n\n\nInstallation\n============\n\n.. code:: python\n\n pip install circleclient\n\n\nUsage\n=====\n\nRetrieve information about User\n-------------------------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Retrieve User data\n client.user.info()\n\n\nList projects followed by the user\n----------------------------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Retrieve information about projects\n client.projects.list_projects()\n\n\nTrigger new build\n-----------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Trigger build\n client.build.trigger('', '', '')\n\n\nTrigger new parametrized build\n------------------------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Trigger parametrized build\n client.build.trigger('', '', '', ''='')\n\n\nCancel running build\n--------------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Cancel build\n client.build.cancel('', '', '')\n\n\nRetry build\n-----------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Retry build\n client.build.retry('', '', '')\n\n\nList build artifacts\n--------------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # List build artifacts\n client.build.artifacts('', '', '')\n\n\nRetrieve build status\n---------------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Retrieve build status\n client.build.status('', '', '')\n\n\nRetrieve information about builds across all projects\n-----------------------------------------------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Retrieve build status\n # Default limit=30, offset=0\n client.build.recent_all_projects(limit=, offset=0)\n client.build.recent_all_projects()\n\n\nRetrieve information about recent build(s)\n------------------------------------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Retrieve build status\n # Default limit=30, offset=0, branch=None\n client.build.recent('', '', limit='', offset='')\n\n # Retrieve last 10 builds of branch master\n client.build.recent('', '', limit=10, branch='master')\n\n # Retrieve last build of branch develop\n client.build.recent('', '', branch='develop')\n\n\nRetrieve filtered information about recent build(s)\n---------------------------------------------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(token)\n\n # Retrieve build status and filter results\n client.build.recent('',\n '',\n branch='master',\n status_filter='completed')\n\n client.build.recent('',\n '',\n branch='develop',\n status_filter='successful')\n\n client.build.recent('',\n '',\n limit=10,\n status_filter='failed')\n\n client.build.recent('',\n '',\n status_filter='running') \n\n\nClear build cache\n-----------------\n\n.. code:: python\n\n import os\n from circleclient import circleclient\n\n token = os.environ['API_TOKEN']\n client = circleclient.CircleClient(api_token=token)\n\n # Clear build cache\n client.cache.clear(username='', project='')\n\n\n\nDocumentation\n-------------\n\nThe full documentation is at http://circleclient.rtfd.org.\n\n\n\nHistory\n-------\n\n0.1.6 (2015-09-04)\n++++++++++++++++++\n\n* Updated documentation\n\n\n0.1.5 (2015-31-03)\n++++++++++++++++++\n\n* Filter recent builds by build status: completed, successful, failed, running\n\n\n0.1.4 (2014-21-09)\n++++++++++++++++++\n\n* Retrieving information about single and multiple builds.\n* Retrieving a limited number of builds with optional offset.\n* Retrieving build information about specific branch.\n\n\n0.1.3 (2014-25-07)\n++++++++++++++++++\n\n* Add support for parametrized builds\n* Add support for listing build artifacts\n\n0.1.2 (2014-07-07)\n++++++++++++++++++\n\n* Add support for clearing cache \n\n\n0.1.1 (2014-30-06)\n++++++++++++++++++\n\n* Add support for retrying builds\n\n\n0.1.0 (2014-29-06)\n++++++++++++++++++\n\n* First release on PyPI.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/qba73/circleclient/", "keywords": "ci,testing,qa,circleclient", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "circleclient", "package_url": "https://pypi.org/project/circleclient/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/circleclient/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/qba73/circleclient/" }, "release_url": "https://pypi.org/project/circleclient/0.1.6/", "requires_dist": null, "requires_python": null, "summary": "Python client for CircleCI API", "version": "0.1.6" }, "last_serial": 1498198, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "82cf1205e4540acb037f4bc9fe71d264", "sha256": "a72cca44af74f005b8b81bd5f015e7416d1d7aec8f5b83a805bb39c9b022ae6b" }, "downloads": -1, "filename": "circleclient-0.1.1.tar.gz", "has_sig": false, "md5_digest": "82cf1205e4540acb037f4bc9fe71d264", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3360, "upload_time": "2014-07-01T06:43:15", "url": "https://files.pythonhosted.org/packages/88/1e/87457183dd6262765106cbc981232256ca55bf5dc67ec8aa83f3cc35112d/circleclient-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "c8dcc592a70168ff8a071fac9ecfd4d7", "sha256": "a90b4a141a1484d040906de861f4c2e01ec4e0dfaafb4e9f8c07ced2a7ab0797" }, "downloads": -1, "filename": "circleclient-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c8dcc592a70168ff8a071fac9ecfd4d7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3663, "upload_time": "2014-07-08T22:06:16", "url": "https://files.pythonhosted.org/packages/5a/9b/d21b7311f05f93bafb0f878dafed7ba696e4291801fc308998104fdd578d/circleclient-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "8a6a250d41fa09575eb3cb6d7a63232f", "sha256": "49877dcdc1fbbac20e4bb1d4ba76444c3947aed5c75111b152bc942b89eb9129" }, "downloads": -1, "filename": "circleclient-0.1.3.tar.gz", "has_sig": false, "md5_digest": "8a6a250d41fa09575eb3cb6d7a63232f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3771, "upload_time": "2014-07-25T12:29:30", "url": "https://files.pythonhosted.org/packages/88/09/2210488ed84842da37f6610490d6c5daef9a7ec6ea57185af5ab6fbe1008/circleclient-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "e18dad06094d7e62d2e9720f2b4f8c43", "sha256": "fc3aa38f63524351cb4c61d54221e5065214dfa9e1cc967e4552b4391caaa88d" }, "downloads": -1, "filename": "circleclient-0.1.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e18dad06094d7e62d2e9720f2b4f8c43", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 7744, "upload_time": "2014-09-21T08:58:39", "url": "https://files.pythonhosted.org/packages/bf/47/0036494f2720a0454afc7b9c8f575fc03fe4271fc063616c41689f1ec47f/circleclient-0.1.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c6d061ef4853b65a50dbfdd95122caab", "sha256": "870a86ed2d35ded1c2e9dbd5c90569d25341ec2e66aced9551ef3af317b60e95" }, "downloads": -1, "filename": "circleclient-0.1.4.tar.gz", "has_sig": false, "md5_digest": "c6d061ef4853b65a50dbfdd95122caab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6559, "upload_time": "2014-09-21T08:58:16", "url": "https://files.pythonhosted.org/packages/98/e9/e9aa19b27d382f5ddc0cb4eea4100ffc662a4d0ed5cd5b1b74ef0f39ce5a/circleclient-0.1.4.tar.gz" } ], "0.1.5": [ { "comment_text": "", "digests": { "md5": "3369fb014d34d61dae13737916861640", "sha256": "ca1b632659eda5f3039e1598790cb99d0a977afe0ec6363e06da9ac64abc3ac6" }, "downloads": -1, "filename": "circleclient-0.1.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "3369fb014d34d61dae13737916861640", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6356, "upload_time": "2015-03-31T06:44:03", "url": "https://files.pythonhosted.org/packages/3f/27/a987281171a6c38e3cb1fabe45cc85249a3815fec963c63f0419710bcf5a/circleclient-0.1.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cc056fc6e5c2a7644a666c9a23e78267", "sha256": "6caf5acfc3d836e3721d048e519b09214e0cf7038b561e9959904148d5e0d94b" }, "downloads": -1, "filename": "circleclient-0.1.5.tar.gz", "has_sig": false, "md5_digest": "cc056fc6e5c2a7644a666c9a23e78267", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5658, "upload_time": "2015-03-31T06:42:22", "url": "https://files.pythonhosted.org/packages/0c/cd/7de45bd80a108bf2d12dc6d080f4553d7ca3627697787e0d094a8d9806e6/circleclient-0.1.5.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "607b275954089344841ef3f3a72c6a86", "sha256": "8e35a271a99c5a2a1ea4d011ffac1cccc81ad69bffa32e73efc018658062cd55" }, "downloads": -1, "filename": "circleclient-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "607b275954089344841ef3f3a72c6a86", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6884, "upload_time": "2015-04-09T21:08:34", "url": "https://files.pythonhosted.org/packages/f1/75/121a9cdf005b96a555ae171de2fa27e94e03511e10aa5c8e6a1c926e32e8/circleclient-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ecca448fd0a9860fa2d4b62c03bf230", "sha256": "7aadf04294b5d8e9b668e749d8781c1aecfd022b1627349fa2d9473b3f4ce0b6" }, "downloads": -1, "filename": "circleclient-0.1.6.tar.gz", "has_sig": false, "md5_digest": "2ecca448fd0a9860fa2d4b62c03bf230", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5844, "upload_time": "2015-04-09T21:08:30", "url": "https://files.pythonhosted.org/packages/bf/8f/ae7814ce40c7d42f1d7d7cf504e10dba2eeca4cf912cccf69b51adaf645e/circleclient-0.1.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "607b275954089344841ef3f3a72c6a86", "sha256": "8e35a271a99c5a2a1ea4d011ffac1cccc81ad69bffa32e73efc018658062cd55" }, "downloads": -1, "filename": "circleclient-0.1.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "607b275954089344841ef3f3a72c6a86", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 6884, "upload_time": "2015-04-09T21:08:34", "url": "https://files.pythonhosted.org/packages/f1/75/121a9cdf005b96a555ae171de2fa27e94e03511e10aa5c8e6a1c926e32e8/circleclient-0.1.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2ecca448fd0a9860fa2d4b62c03bf230", "sha256": "7aadf04294b5d8e9b668e749d8781c1aecfd022b1627349fa2d9473b3f4ce0b6" }, "downloads": -1, "filename": "circleclient-0.1.6.tar.gz", "has_sig": false, "md5_digest": "2ecca448fd0a9860fa2d4b62c03bf230", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5844, "upload_time": "2015-04-09T21:08:30", "url": "https://files.pythonhosted.org/packages/bf/8f/ae7814ce40c7d42f1d7d7cf504e10dba2eeca4cf912cccf69b51adaf645e/circleclient-0.1.6.tar.gz" } ] }