{ "info": { "author": "nhumrich", "author_email": "nick@humrich.us", "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\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 (but may be with minor fixes). For now we have tested\nonly upload/download api for s3. More tests coming soon.\n\n\nInstall\n-------\n::\n\n $ pip install -e git+https://github.com/aio-libs/aiobotocore.git@master#egg=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 @asyncio.coroutine\n def go(loop):\n\n bucket = 'dataintake'\n filename = 'dummy.bin'\n folder = 'aiobotocore'\n key = '{}/{}'.format(folder, filename)\n\n session = aiobotocore.get_session(loop=loop)\n client = 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)\n # upload object to amazon s3\n data = b'\\x01'*1024\n resp = yield from 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 = yield from client.get_object_acl(Bucket=bucket, Key=key)\n print(resp)\n\n # delete object from s3\n resp = yield from client.delete_object(Bucket=bucket, Key=key)\n print(resp)\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\nRequirements\n------------\n\n* Python_ 3.3+\n* asyncio_ or 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-------\n\n0.0.1 (xxxx-xx-xx)\n^^^^^^^^^^^^^^^^^^\n\n* Initial release", "description_content_type": null, "docs_url": null, "download_url": "https://pypi.python.org/pypi/aiobotocore-mirror", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/aio-libs/aiobotocore", "keywords": null, "license": "Apache 2", "maintainer": null, "maintainer_email": null, "name": "aiobotocore-mirror", "package_url": "https://pypi.org/project/aiobotocore-mirror/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/aiobotocore-mirror/", "project_urls": { "Download": "https://pypi.python.org/pypi/aiobotocore-mirror", "Homepage": "https://github.com/aio-libs/aiobotocore" }, "release_url": "https://pypi.org/project/aiobotocore-mirror/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "UNKNOWN", "version": "0.0.4" }, "last_serial": 2174010, "releases": { "0.0.4": [ { "comment_text": "", "digests": { "md5": "ba3574962b16c4096824e1df93b0dc35", "sha256": "187febbc1f265dc63204967468350fe67dfa7841b62e15e45a7207a753569316" }, "downloads": -1, "filename": "aiobotocore-mirror-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ba3574962b16c4096824e1df93b0dc35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15603, "upload_time": "2016-06-17T20:44:05", "url": "https://files.pythonhosted.org/packages/eb/8f/8f761663d2980338f1e9267075d4a8fbec37eb22b9758bfda68c412e54cc/aiobotocore-mirror-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ba3574962b16c4096824e1df93b0dc35", "sha256": "187febbc1f265dc63204967468350fe67dfa7841b62e15e45a7207a753569316" }, "downloads": -1, "filename": "aiobotocore-mirror-0.0.4.tar.gz", "has_sig": false, "md5_digest": "ba3574962b16c4096824e1df93b0dc35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15603, "upload_time": "2016-06-17T20:44:05", "url": "https://files.pythonhosted.org/packages/eb/8f/8f761663d2980338f1e9267075d4a8fbec37eb22b9758bfda68c412e54cc/aiobotocore-mirror-0.0.4.tar.gz" } ] }