{ "info": { "author": "Rhett Garber", "author_email": "rhettg@gmail.com", "bugtrack_url": null, "classifiers": [ "Topic :: Internet :: WWW/HTTP" ], "description": "tclient: HTTP client for parallel http requests\n=========================\n\nTClient is an http client for doing http requests in parallel. This is really just\na light wrapper around Tornado and uses Tornado's ioloop and httpclient.\n\n\nFeatures\n--------\n\n * Create multiple HTTP requests, have them run in parallel.\n * Convinient API for building requests with query params, forms, or JSON.\n * Integrates with BlueOx for logging and metrics.\n * Testing hooks\n\n\nUse\n---\n\n`tclient.Request` is based on `tornado.httpclient.HTTPRequest`, so you should checkout\nit's [documentation](http://www.tornadoweb.org/en/stable/httpclient.html#request-objects)\n\nIn summary:\n\n req1 = tclient.Request('http://localhost:8888')\n req1.params['search'] = 'turtles in a half-shell'\n\n req2 = tclient.Request('http://localhost:8888')\n req2.method = \"POST\"\n req2.body = {'name': 'Raphael'}\n\n req3 = tclient.Request('http://localhost:8888', method=\"POST\")\n req3.form['name'] = 'Raphael'\n req3.form.add_file(\"tmnt.jpg\", picture_fp)\n\n resp1, resp2, resp3 = tclient.fetch_all([req1, req2, req3], timeout=30)\n for r in (resp1, resp2, resp3):\n r.rethrow()\n\n print resp1.json['results']\n\n### Dependencies\n\n * tornado\n * urllib3 (just for form encoding)\n * pycurl (recommended)\n * blueox (optional)", "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/rhettg/tclient", "keywords": null, "license": "ISC", "maintainer": null, "maintainer_email": null, "name": "tclient", "package_url": "https://pypi.org/project/tclient/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/tclient/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/rhettg/tclient" }, "release_url": "https://pypi.org/project/tclient/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "HTTP client for parallel http requests", "version": "0.0.4" }, "last_serial": 950146, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "295f610f3acc0c58bdfae96598624876", "sha256": "a58b4939219c44f9a1390998c7644067eba30e93e0b1b9cfd18e6a40d19d2f95" }, "downloads": -1, "filename": "tclient-0.0.1.tar.gz", "has_sig": false, "md5_digest": "295f610f3acc0c58bdfae96598624876", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5864, "upload_time": "2013-12-17T23:33:48", "url": "https://files.pythonhosted.org/packages/b7/c1/21b4488475a4449b61f36955baa1ac17072642f43180fe4be66a79d0e86d/tclient-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "aead6a27a0312ddf048bf7eff92b9311", "sha256": "4388392af9ff3a91b001eecbd9b83ff11860993afead150c09a641c034947ee8" }, "downloads": -1, "filename": "tclient-0.0.2.tar.gz", "has_sig": false, "md5_digest": "aead6a27a0312ddf048bf7eff92b9311", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5867, "upload_time": "2013-12-17T23:51:45", "url": "https://files.pythonhosted.org/packages/d5/40/dd3ed9bfff4658b6e66a71dc80f274e0c36d9271a72a216bf0e43d97f29c/tclient-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "e24a9eec09295b5005770140445dcd7f", "sha256": "f88bc429da24c9bf694587dcb845c369ef1595f9d7db6fa2c253d0ae6cc965df" }, "downloads": -1, "filename": "tclient-0.0.3.tar.gz", "has_sig": false, "md5_digest": "e24a9eec09295b5005770140445dcd7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6708, "upload_time": "2013-12-18T00:12:38", "url": "https://files.pythonhosted.org/packages/77/24/359898a73bac2930bd644873b19899c136424f51b15a42987184b0857792/tclient-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "792310e256c58cad0db85f6b08aab5fc", "sha256": "4f283f361ba537c1c64b611befd655037c52aa8c693988c6491c01e79c8a7da9" }, "downloads": -1, "filename": "tclient-0.0.4.tar.gz", "has_sig": false, "md5_digest": "792310e256c58cad0db85f6b08aab5fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6712, "upload_time": "2013-12-20T22:57:36", "url": "https://files.pythonhosted.org/packages/5b/22/fa9e7f61f434611d75bd0d4883600084cd2d7d86539b59a70c1c5738af38/tclient-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "792310e256c58cad0db85f6b08aab5fc", "sha256": "4f283f361ba537c1c64b611befd655037c52aa8c693988c6491c01e79c8a7da9" }, "downloads": -1, "filename": "tclient-0.0.4.tar.gz", "has_sig": false, "md5_digest": "792310e256c58cad0db85f6b08aab5fc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6712, "upload_time": "2013-12-20T22:57:36", "url": "https://files.pythonhosted.org/packages/5b/22/fa9e7f61f434611d75bd0d4883600084cd2d7d86539b59a70c1c5738af38/tclient-0.0.4.tar.gz" } ] }