{ "info": { "author": "Dmitry Orlov ", "author_email": "me@mosquito.su", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "rest-client\n===========\n\n.. image:: https://travis-ci.org/mosquito/rest-client.svg\n :target: https://travis-ci.org/mosquito/rest-client\n\n.. image:: https://img.shields.io/pypi/v/rest-client.svg\n :target: https://pypi.python.org/pypi/rest-client/\n :alt: Latest Version\n\n.. image:: https://img.shields.io/pypi/wheel/rest-client.svg\n :target: https://pypi.python.org/pypi/rest-client/\n\n.. image:: https://img.shields.io/pypi/pyversions/rest-client.svg\n :target: https://pypi.python.org/pypi/rest-client/\n\n.. image:: https://img.shields.io/pypi/l/rest-client.svg\n :target: https://pypi.python.org/pypi/rest-client/\n\n\nRESTful Client for tornado with support cookies.\n\nExample::\n\n # encoding: utf-8\n from tornado.ioloop import IOLoop\n from tornado.gen import coroutine, Return\n from rest_client.async import RESTClient\n\n io_loop = IOLoop.current()\n\n @coroutine\n def repo_list():\n client = RESTClient(headers={'User-Agent': 'curl/7.43.0'})\n # check api\n yield client.get('https://api.github.com/users/octocat/orgs')\n\n response = yield client.get('https://api.github.com/repos/vmg/redcarpet/issues?state=closed')\n data = sum(map(lambda x: x.comments, response.body))\n print('Total comments: {0}'.format(data))\n\n exit(io_loop.run_sync(repo_list))", "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/mosquito/rest-client", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rest-client", "package_url": "https://pypi.org/project/rest-client/", "platform": "all", "project_url": "https://pypi.org/project/rest-client/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/mosquito/rest-client" }, "release_url": "https://pypi.org/project/rest-client/0.3.8/", "requires_dist": null, "requires_python": null, "summary": "RESTful Client for tornado", "version": "0.3.8" }, "last_serial": 2680277, "releases": { "0.3.0": [], "0.3.1": [ { "comment_text": "", "digests": { "md5": "b01ef89fd7af636c052018300f4cac3d", "sha256": "7972c40f715be934e8315f890013df9f59893efd487a7842a637e1d002538fc6" }, "downloads": -1, "filename": "rest-client-0.3.1.tar.gz", "has_sig": false, "md5_digest": "b01ef89fd7af636c052018300f4cac3d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4312, "upload_time": "2016-07-20T11:31:37", "url": "https://files.pythonhosted.org/packages/bc/97/82d9827c1f0f40f6c74016bfebaa963c6940c9e20e620bec4fee52c90cc3/rest-client-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "6e5285383aa7b39d025858b946a08c7f", "sha256": "d0429da918153fa1ceb47f12a4a32bd5d0b0dbbcc81293be0aeae39c160ea1d9" }, "downloads": -1, "filename": "rest-client-0.3.2.tar.gz", "has_sig": false, "md5_digest": "6e5285383aa7b39d025858b946a08c7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4377, "upload_time": "2016-07-21T12:48:58", "url": "https://files.pythonhosted.org/packages/6b/44/e07f4e2f765cac332756fa5f0f764081a81af27b542e4617af749cc64e87/rest-client-0.3.2.tar.gz" } ], "0.3.3": [ { "comment_text": "", "digests": { "md5": "d7a2b430e7521c80944ac228ac34c36f", "sha256": "2d424d288e48b74a3112cb22b2b61b32affb2fd0a50e5703457929552e52cdcc" }, "downloads": -1, "filename": "rest-client-0.3.3.tar.gz", "has_sig": false, "md5_digest": "d7a2b430e7521c80944ac228ac34c36f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4422, "upload_time": "2016-07-27T15:28:31", "url": "https://files.pythonhosted.org/packages/3d/42/c50346a4d5ea831dd1d94832d7d7b007a99256675e126a2d968c6a2e0dc8/rest-client-0.3.3.tar.gz" } ], "0.3.4": [ { "comment_text": "", "digests": { "md5": "1b9107eecc859c421e559dbfa6b478b4", "sha256": "bc79412bc198c5f5bf80c2eb05291d050c8fb8334ca2456ed8b2a02134f62aa5" }, "downloads": -1, "filename": "rest-client-0.3.4.tar.gz", "has_sig": false, "md5_digest": "1b9107eecc859c421e559dbfa6b478b4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4421, "upload_time": "2016-07-27T15:30:27", "url": "https://files.pythonhosted.org/packages/1c/08/6b0aab4e7c00949b3a6cf3d75372484c7237164035fd400fe1ef6e6e60d9/rest-client-0.3.4.tar.gz" } ], "0.3.5": [ { "comment_text": "", "digests": { "md5": "6d974d707ea5e98657a30aa011653930", "sha256": "f8432c0a46c9f6cb22f8bdd9bf6ec6484ecaf58a2d06af329293f17babd9e092" }, "downloads": -1, "filename": "rest-client-0.3.5.tar.gz", "has_sig": false, "md5_digest": "6d974d707ea5e98657a30aa011653930", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4442, "upload_time": "2016-09-27T09:45:38", "url": "https://files.pythonhosted.org/packages/ae/b6/9c2c5f893fb27298b73700c156458566cd2a7ea3c95556ba9361dd1ec45a/rest-client-0.3.5.tar.gz" } ], "0.3.6": [ { "comment_text": "", "digests": { "md5": "abe7c549037b92fb4aedabeba1064951", "sha256": "b56ea11bb6b3aeb086b4e0d2257ac8c22e7ff0764874874a07f58ac9849482a0" }, "downloads": -1, "filename": "rest-client-0.3.6.tar.gz", "has_sig": false, "md5_digest": "abe7c549037b92fb4aedabeba1064951", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4431, "upload_time": "2016-09-27T11:36:30", "url": "https://files.pythonhosted.org/packages/7e/05/b3f0307d929fd56a6018b800b9f2134b45fdb1e9a99d230ed6b2b4ba0210/rest-client-0.3.6.tar.gz" } ], "0.3.7": [ { "comment_text": "", "digests": { "md5": "4ed19b25223f22773d705bb57ae151b8", "sha256": "976b4f2f2d0798141e6a31e91a0493fa0c1dcf6676df013368be1fc341745d06" }, "downloads": -1, "filename": "rest-client-0.3.7.tar.gz", "has_sig": false, "md5_digest": "4ed19b25223f22773d705bb57ae151b8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4432, "upload_time": "2017-03-03T11:47:03", "url": "https://files.pythonhosted.org/packages/59/fe/dbd5f77be43dd865579de2d31ed084cb6bc04ba1a25c39de9ea734f21fa1/rest-client-0.3.7.tar.gz" } ], "0.3.8": [ { "comment_text": "", "digests": { "md5": "7cde8e93242bcc9b9200998318a3a940", "sha256": "48272968da18047fef84dc3317a31a6bff16195ab44588c3aabbd4dccc6e3c5f" }, "downloads": -1, "filename": "rest-client-0.3.8.tar.gz", "has_sig": false, "md5_digest": "7cde8e93242bcc9b9200998318a3a940", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4448, "upload_time": "2017-03-03T11:52:08", "url": "https://files.pythonhosted.org/packages/08/dc/ef96cdb16bd9eeab57ed73658b2d28716d50e1180ccb31cfff3c98de4b3d/rest-client-0.3.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7cde8e93242bcc9b9200998318a3a940", "sha256": "48272968da18047fef84dc3317a31a6bff16195ab44588c3aabbd4dccc6e3c5f" }, "downloads": -1, "filename": "rest-client-0.3.8.tar.gz", "has_sig": false, "md5_digest": "7cde8e93242bcc9b9200998318a3a940", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4448, "upload_time": "2017-03-03T11:52:08", "url": "https://files.pythonhosted.org/packages/08/dc/ef96cdb16bd9eeab57ed73658b2d28716d50e1180ccb31cfff3c98de4b3d/rest-client-0.3.8.tar.gz" } ] }