{ "info": { "author": "Simon Hewitt", "author_email": "simon@qudos.com.com", "bugtrack_url": null, "classifiers": [], "description": "botocore-tornado\n================\n\nThis module provides subclasses of `botocore `__\nclasses that use the tornado AsyncHTTPClient to make requests. As far as \npossible, the api is kept the same as the botocore api, the only difference is \nthat Operation.call returns a Future that is resolved when the http request is \ncomplete.\n\n\nInstallation\n------------\n\n.. code-block:: bash\n\n pip install botocore-tornado\n\n\nExample\n-------\n\nUploading a file to S3:\n\n.. code-block:: python\n\n import botocore.session\n\n session = botocore.session.get_session()\n s3 = session.get_service('s3')\n endpoint = s3.get_endpoint(region)\n\n fp = open('./testfile.txt', 'rb')\n operation = s3.get_operation('PutObject')\n http_response, response_data = operation.call(endpoint,\n bucket=bucket,\n key=key + '/' + filename,\n body=fp)\n\n\nUsing botocore-tornado:\n\n.. code-block:: python\n\n from tornado.ioloop import IOLoop\n from tornado import gen\n import botocore_tornado.session\n\n @gen.coroutine\n def main_async():\n session = botocore_tornado.session.get_session()\n s3 = session.get_service('s3')\n endpoint = s3.get_endpoint(region)\n\n fp = open('./testfile.txt', 'rb')\n operation = s3.get_operation('PutObject')\n http_response, response_data = yield operation.call(endpoint,\n bucket=bucket,\n key=key + '/' + filename,\n body=fp)\n print response_data\n\n IOLoop.instance().run_sync(main_async)", "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/qudos-com/botocore-tornado", "keywords": null, "license": "The MIT License (MIT)\n\nCopyright (c) 2015 Simon Hewitt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "botocore-tornado", "package_url": "https://pypi.org/project/botocore-tornado/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/botocore-tornado/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/qudos-com/botocore-tornado" }, "release_url": "https://pypi.org/project/botocore-tornado/0.93.1/", "requires_dist": null, "requires_python": null, "summary": "botocore subclasses that uses AsyncHTTPClient", "version": "0.93.1" }, "last_serial": 1605531, "releases": { "0.85.0": [ { "comment_text": "", "digests": { "md5": "31bf20a8bbdb5e5a24b2729cd93b878f", "sha256": "e96c892ee781eb0677f3bcd498c34cfdb24ef1acf337b776a87d6ecb27adf227" }, "downloads": -1, "filename": "botocore-tornado-0.85.0.a.tar.gz", "has_sig": false, "md5_digest": "31bf20a8bbdb5e5a24b2729cd93b878f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5281, "upload_time": "2015-01-31T00:02:09", "url": "https://files.pythonhosted.org/packages/08/44/45f1e8f807e76a7b5baa40e11c68c730ace09e1a937b7bbdf51fc5dd1d56/botocore-tornado-0.85.0.a.tar.gz" } ], "0.85.0.1": [ { "comment_text": "", "digests": { "md5": "e6ae2964fb3e1e35f695490b9188ee78", "sha256": "169f90d22eeafcafc3a3af4ba696cf9cf60a0c623a1622bcf06785b93a95a9d4" }, "downloads": -1, "filename": "botocore-tornado-0.85.0.1.tar.gz", "has_sig": false, "md5_digest": "e6ae2964fb3e1e35f695490b9188ee78", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5299, "upload_time": "2015-01-31T00:20:44", "url": "https://files.pythonhosted.org/packages/b7/ec/13e10c8a20f91212cf316099097fdfe453db82dd6ff96ffd8887688f121a/botocore-tornado-0.85.0.1.tar.gz" } ], "0.85.0.2": [ { "comment_text": "", "digests": { "md5": "ca66ff692bc266e5d391e14b399c4d67", "sha256": "262bc8727e820b67b2cc0e04b8d36ae65914267fa2b4ba91f89d9ad3eaa6c546" }, "downloads": -1, "filename": "botocore-tornado-0.85.0.2.tar.gz", "has_sig": false, "md5_digest": "ca66ff692bc266e5d391e14b399c4d67", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5329, "upload_time": "2015-01-31T00:24:14", "url": "https://files.pythonhosted.org/packages/d5/44/8aa05748d010a3a9bf59cf8c0f24c51247f75f9b290d96e818417f81557e/botocore-tornado-0.85.0.2.tar.gz" } ], "0.85.0.3": [ { "comment_text": "", "digests": { "md5": "53e8587b88638ae48abbebbec0be7ef4", "sha256": "334df6dec22f8b43d130f4d2ce793b63343a2bd5da84384a43b1b6a389936710" }, "downloads": -1, "filename": "botocore-tornado-0.85.0.3.tar.gz", "has_sig": false, "md5_digest": "53e8587b88638ae48abbebbec0be7ef4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5330, "upload_time": "2015-01-31T00:25:15", "url": "https://files.pythonhosted.org/packages/53/7d/79a0e34a04118f39334147357f7e67a511f82543adc0b2e11b8f7e147787/botocore-tornado-0.85.0.3.tar.gz" } ], "0.93.0": [ { "comment_text": "", "digests": { "md5": "19455b8091450505788b63ea8c3d383e", "sha256": "d0c3e9f14f5302d90a7377df7b03d56e27dfecdc2ac9fdf541bba3c590f032ec" }, "downloads": -1, "filename": "botocore-tornado-0.93.0.tar.gz", "has_sig": false, "md5_digest": "19455b8091450505788b63ea8c3d383e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5808, "upload_time": "2015-02-26T00:05:29", "url": "https://files.pythonhosted.org/packages/bc/fc/ccac9c1d6dd776917a176cf3dc97aa0869d84529bdadd119f9aedbbf4322/botocore-tornado-0.93.0.tar.gz" } ], "0.93.1": [ { "comment_text": "", "digests": { "md5": "f919966df58e35c35d662b3cb7c73b21", "sha256": "9b42db43636c36016608786c721b0a41d241426290f3bd9a5bacf9759ab226e3" }, "downloads": -1, "filename": "botocore-tornado-0.93.1.tar.gz", "has_sig": false, "md5_digest": "f919966df58e35c35d662b3cb7c73b21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5814, "upload_time": "2015-06-24T22:41:47", "url": "https://files.pythonhosted.org/packages/52/2e/3b2659bcc77d04a9892e7621f543a52721fc3d1f604cc133e0b3a1e85473/botocore-tornado-0.93.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f919966df58e35c35d662b3cb7c73b21", "sha256": "9b42db43636c36016608786c721b0a41d241426290f3bd9a5bacf9759ab226e3" }, "downloads": -1, "filename": "botocore-tornado-0.93.1.tar.gz", "has_sig": false, "md5_digest": "f919966df58e35c35d662b3cb7c73b21", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5814, "upload_time": "2015-06-24T22:41:47", "url": "https://files.pythonhosted.org/packages/52/2e/3b2659bcc77d04a9892e7621f543a52721fc3d1f604cc133e0b3a1e85473/botocore-tornado-0.93.1.tar.gz" } ] }