{ "info": { "author": "Nikolay Novik", "author_email": "nickolainovik@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Web Environment", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "aiobotocore\n===========\n.. image:: https://travis-ci.org/aio-libs/aiobotocore.svg?branch=master\n :target: https://travis-ci.org/aio-libs/aiobotocore\n.. image:: https://codecov.io/gh/aio-libs/aiobotocore/branch/master/graph/badge.svg\n :target: https://codecov.io/gh/aio-libs/aiobotocore\n.. image:: https://img.shields.io/pypi/v/aiobotocore.svg\n :target: https://pypi.python.org/pypi/aiobotocore\n\nAsync client for amazon services using botocore_ and aiohttp_/asyncio_.\n\nMain purpose of this library to support amazon s3 api, but other services\nshould work (may be with minor fixes). For now we have tested\nonly upload/download api for s3, other users report that SQS and Dynamo\nservices work also. More tests coming soon.\n\n\nInstall\n-------\n::\n\n $ pip install aiobotocore\n\n\nBasic Example\n-------------\n\n.. code:: python\n\n import asyncio\n import aiobotocore\n\n AWS_ACCESS_KEY_ID = \"xxx\"\n AWS_SECRET_ACCESS_KEY = \"xxx\"\n\n\n async def go(loop):\n bucket = 'dataintake'\n filename = 'dummy.bin'\n folder = 'aiobotocore'\n key = '{}/{}'.format(folder, filename)\n\n session = aiobotocore.get_session(loop=loop)\n async with session.create_client('s3', region_name='us-west-2',\n aws_secret_access_key=AWS_SECRET_ACCESS_KEY,\n aws_access_key_id=AWS_ACCESS_KEY_ID) as client:\n # upload object to amazon s3\n data = b'\\x01'*1024\n resp = await client.put_object(Bucket=bucket,\n Key=key,\n Body=data)\n print(resp)\n\n # getting s3 object properties of file we just uploaded\n resp = await client.get_object_acl(Bucket=bucket, Key=key)\n print(resp)\n\n # delete object from s3\n resp = await client.delete_object(Bucket=bucket, Key=key)\n print(resp)\n\n # list s3 objects using paginator\n paginator = client.get_paginator('list_objects')\n async for result in paginator.paginate(Bucket=bucket, Prefix=folder):\n for c in result.get('Contents', []):\n print(c)\n\n # get object from s3\n response = await client.get_object(Bucket=bucket, key=key)\n # this will ensure the connection is correctly re-used/closed\n async with response['Body'] as stream:\n bytes = await stream.read()\n\n loop = asyncio.get_event_loop()\n loop.run_until_complete(go(loop))\n\n\nRun Tests\n---------\n\nMake sure you have development requirements installed and your amazon key and\nsecret accessible via environment variables:\n\n::\n\n $ cd aiobotocore\n $ export AWS_ACCESS_KEY_ID=xxx\n $ export AWS_SECRET_ACCESS_KEY=xxx\n $ pip install -Ur requirements-dev.txt\n\nExecute tests suite:\n\n::\n\n $ py.test -v tests\n\n\nMailing List\n------------\n\nhttps://groups.google.com/forum/#!forum/aio-libs\n\n\nRequirements\n------------\n* Python_ 3.4+\n* aiohttp_\n* botocore_\n\n.. _Python: https://www.python.org\n.. _asyncio: http://docs.python.org/3.4/library/asyncio.html\n.. _botocore: https://github.com/boto/botocore\n.. _aiohttp: https://github.com/KeepSafe/aiohttp\n\nChanges\n-------\n0.2.3 (XXXX-XX-XX)\n^^^^^^^^^^^^^^^^^^\n\n0.2.2 (2017-03-07)\n^^^^^^^^^^^^^^^^^^\n* set aiobotocore.__all__ for * imports #121 (thanks @graingert)\n* fix ETag in head_object response #132\n\n0.2.1 (2017-02-01)\n^^^^^^^^^^^^^^^^^^\n* Normalize headers and handle redirection by botocore #115 (thanks @Fedorof)\n\n0.2.0 (2017-01-30)\n^^^^^^^^^^^^^^^^^^\n* add support for proxies (thanks @jjonek)\n* remove AioConfig verify_ssl connector_arg as this is handled by the\n create_client verify param\n* remove AioConfig limit connector_arg as this is now handled by\n by the Config `max_pool_connections` property (note default is 10)\n\n0.1.1 (2017-01-16)\n^^^^^^^^^^^^^^^^^^\n* botocore updated to version 1.5.0\n\n0.1.0 (2017-01-12)\n^^^^^^^^^^^^^^^^^^\n* Pass timeout to aiohttp.request to enforce read_timeout #86 (thanks @vharitonsky)\n (bumped up to next semantic version due to read_timeout enabling change)\n\n0.0.6 (2016-11-19)\n^^^^^^^^^^^^^^^^^^\n\n* Added enforcement of plain response #57 (thanks @rymir)\n* botocore updated to version 1.4.73 #74 (thanks @vas3k)\n\n\n0.0.5 (2016-06-01)\n^^^^^^^^^^^^^^^^^^\n\n* Initial alpha release", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/pypi/aiobotocore", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aio-libs/aiobotocore", "keywords": "", "license": "Apache 2", "maintainer": "", "maintainer_email": "", "name": "aiobotocore-botorange", "package_url": "https://pypi.org/project/aiobotocore-botorange/", "platform": "", "project_url": "https://pypi.org/project/aiobotocore-botorange/", "project_urls": { "Download": "https://pypi.python.org/pypi/aiobotocore", "Homepage": "https://github.com/aio-libs/aiobotocore" }, "release_url": "https://pypi.org/project/aiobotocore-botorange/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Async client for aws services using botocore and aiohttp", "version": "0.1.0" }, "last_serial": 2722681, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "ec0658d813864985596c3dba1c0b73ba", "sha256": "7ffbbe13606152b7fa22be5a2817fe791a335b93c17b9babc9f0cb0d16fe6f23" }, "downloads": -1, "filename": "aiobotocore_botorange-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ec0658d813864985596c3dba1c0b73ba", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 17265, "upload_time": "2017-03-22T10:15:34", "url": "https://files.pythonhosted.org/packages/ec/f4/3dc639b6b6d1175f22b15e66c91d525de1774df7d1ed4a76cd3ba5ba0515/aiobotocore_botorange-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3d5afaff140ee2f3bacb5362ec321cd", "sha256": "62312ea3482bbb38b35a5a7a6a7e71bb3565d6758e839bc638d84e6811dda9e6" }, "downloads": -1, "filename": "aiobotocore-botorange-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f3d5afaff140ee2f3bacb5362ec321cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16525, "upload_time": "2017-03-22T10:15:33", "url": "https://files.pythonhosted.org/packages/0b/89/065ec21b57987daa3a71b3ebe3d96173fe5a6eb082730ce78f60cad1fff4/aiobotocore-botorange-0.1.0.tar.gz" } ], "0.2.3a0": [ { "comment_text": "", "digests": { "md5": "0ae72e6c84642bf7936bf3d60f1a20f4", "sha256": "cfbf9eb97276985dad1b0e872e21af37dbcb22e9b0e55317d2c1c010d7bf96b8" }, "downloads": -1, "filename": "aiobotocore_botorange-0.2.3a0-py3-none-any.whl", "has_sig": false, "md5_digest": "0ae72e6c84642bf7936bf3d60f1a20f4", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 17288, "upload_time": "2017-03-22T10:15:07", "url": "https://files.pythonhosted.org/packages/ef/49/d4676a429c9fbb2a09962b84ef56ab164b49d48dc9360b30ea8313af7b58/aiobotocore_botorange-0.2.3a0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "48d9d0b648843c5a00f014a4efe3f85c", "sha256": "9cbc563b566535af879055dd2f4bfaca07779b79cab98ec1f45d6063654a3f64" }, "downloads": -1, "filename": "aiobotocore-botorange-0.2.3a0.tar.gz", "has_sig": false, "md5_digest": "48d9d0b648843c5a00f014a4efe3f85c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16517, "upload_time": "2017-03-22T10:15:04", "url": "https://files.pythonhosted.org/packages/8e/c1/a0a2e3f3a23eab0b6bafc4446209464482e3c16f2bbc98ec8bb43c00dc53/aiobotocore-botorange-0.2.3a0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ec0658d813864985596c3dba1c0b73ba", "sha256": "7ffbbe13606152b7fa22be5a2817fe791a335b93c17b9babc9f0cb0d16fe6f23" }, "downloads": -1, "filename": "aiobotocore_botorange-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "ec0658d813864985596c3dba1c0b73ba", "packagetype": "bdist_wheel", "python_version": "3.5", "requires_python": null, "size": 17265, "upload_time": "2017-03-22T10:15:34", "url": "https://files.pythonhosted.org/packages/ec/f4/3dc639b6b6d1175f22b15e66c91d525de1774df7d1ed4a76cd3ba5ba0515/aiobotocore_botorange-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f3d5afaff140ee2f3bacb5362ec321cd", "sha256": "62312ea3482bbb38b35a5a7a6a7e71bb3565d6758e839bc638d84e6811dda9e6" }, "downloads": -1, "filename": "aiobotocore-botorange-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f3d5afaff140ee2f3bacb5362ec321cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16525, "upload_time": "2017-03-22T10:15:33", "url": "https://files.pythonhosted.org/packages/0b/89/065ec21b57987daa3a71b3ebe3d96173fe5a6eb082730ce78f60cad1fff4/aiobotocore-botorange-0.1.0.tar.gz" } ] }