{ "info": { "author": "Justin Patrin", "author_email": "papercrane@reversefold.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# aws-utilities\n\nThis package includes various command-line utilities for use with aws.\n\n## Installation\n### pip\n```\npip install aws-utilities\n```\n\n### pipx\n```\npipx install aws-utilities\n```\n\n### git\nTo set up a local checkout with [pyenv](https://github.com/pyenv/pyenv) run these commands:\n```\ngit clone https://github.com/reversefold/aws-utilities.git\ncd aws-utilities\npyenv virtualenv 3.6.5 aws-utilities\npyenv local aws-utilities\npip install -r dev-requirements.txt\n./sync-requirements.sh\n```\n\n## Scripts\n### tail_cloudwatch_logs.py\n\nGet the last `n` lines of a cloudwatch log group and follow the output in realtime as it is written to CloudWatch Logs. Has the ability to use any profile set up in your `~/.aws/credentials` so working across multiple accounts is easy.\n\nInspired by [cw](https://github.com/lucagrulla/cw).\n\n\n### tail_stack_events.py\n\nGet the last `n` events for a CloudFormation stack and all of its nested stacks and follow the events in realtime. This utility can give you a view into all of the events happening in any size CloudFormation stack, even if it has multiple levels of nested stacks. When this script is started up it finds all nested stacks and follows their events as well if the stack is in any status which includes IN_PROGRESS. When following stack events, nested stacks will be dynamically added to and removed from the set of stacks being queried for events as nested stacks go into the various `IN_PROGRESS` and `COMPLETE` states. This lets you get a complete picture of what is going on while also making the minimum number of API calls.\n\nIn postmortem mode this script will find the events that caused the last stack update to fail. It will follow nested stack failures until it finds the specific resource that caused the failure.\n\nOriginally inspired by [tail-stack-events](https://github.com/tmont/tail-stack-events) and [cfn-tail](https://github.com/taimos/cfn-tail).\n\n\n### aws_switch.py\n\nA quick and dirty script to make any one of your configured aws profiles the default profile. Useful when you're using tools which don't support profiles or when you work in distinct profiles at distinct times.\n\n\n### wait_for_stack_complete.py\n\nA simple script for running on an ec2 instance. No parameters are taken. Finds the CloudFormation stack that the instance resides in and polls until the stack is in a `COMPLETE` state. If the stack has a parent stack it will watch that one instead. Has retries with exponential backoff (up to 5m) for all API calls so as to not overload the AWS APIs when used in a large environment. This script is particularly useful for UserData or cfn-init scripts which need to wait for other resources to be created and attached, such as EBS volumes not included in the instance's BlockDeviceMapping.\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/reversefold/aws-utilities", "keywords": "", "license": "MIT", "maintainer": "Justin Patrin", "maintainer_email": "papercrane@reversefold.com", "name": "aws-utilities", "package_url": "https://pypi.org/project/aws-utilities/", "platform": "", "project_url": "https://pypi.org/project/aws-utilities/", "project_urls": { "Homepage": "https://github.com/reversefold/aws-utilities", "Repository": "https://github.com/reversefold/aws-utilities.git" }, "release_url": "https://pypi.org/project/aws-utilities/1.3.1/", "requires_dist": [ "ansiwrap (>=0.8.4,<0.9.0)", "boto3 (>=1.9,<2.0)", "colorama (>=0.4.1,<0.5.0)", "docopt (>=0.6.2,<0.7.0)", "ec2-metadata (>=2.0,<3.0)", "eventlet (>=0.24.1,<0.25.0)", "tenacity (>=5.0,<6.0)", "urllib3 (>=1.24,<1.25)" ], "requires_python": ">=3.6,<4.0", "summary": "Utilities for use with aws.", "version": "1.3.1" }, "last_serial": 5443924, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "2f4d66ef81826fea33047843e5c125a2", "sha256": "127569155b1ec8f948c7ee02e0a2f0a31450d4f3b1571307699d9b340ee016f3" }, "downloads": -1, "filename": "aws-utilities-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2f4d66ef81826fea33047843e5c125a2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5453, "upload_time": "2018-11-20T04:31:09", "url": "https://files.pythonhosted.org/packages/83/92/1ce4fda6eff3ff9b9b426b54c53358126dd618296132e245150a598e6457/aws-utilities-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e03d518f3886dd9a85f140b21bd4fc97", "sha256": "a4b365c7e2a499e9150762c575ddd354eeaaa8e3ebdcf9dc1240e9224ba0c7db" }, "downloads": -1, "filename": "aws-utilities-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e03d518f3886dd9a85f140b21bd4fc97", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5711, "upload_time": "2018-11-20T18:45:11", "url": "https://files.pythonhosted.org/packages/f7/ee/8cfe06364fbcb18eece3c1abd0847caac95d732c49154bbf75b41f0d9a37/aws-utilities-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "f013ba16246afb48f634034244db11e6", "sha256": "9b7b97bc5e8a957b4b958b81a939f7ff3db5beb398330ec0e574c35102b2d809" }, "downloads": -1, "filename": "aws-utilities-0.1.2.tar.gz", "has_sig": false, "md5_digest": "f013ba16246afb48f634034244db11e6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5755, "upload_time": "2018-11-20T18:52:43", "url": "https://files.pythonhosted.org/packages/4c/5d/7477ae816d342c3c23ef84fabd58a5a17462dae43080fd8b67b15296d92a/aws-utilities-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "46128a2792457e23e2a8cd3ce5550d2f", "sha256": "975a67e51ec19a0c151cc770837d5cd17418fa2e5b34a7f633a25cf54a72e92d" }, "downloads": -1, "filename": "aws-utilities-0.1.3.tar.gz", "has_sig": false, "md5_digest": "46128a2792457e23e2a8cd3ce5550d2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7212, "upload_time": "2018-11-20T20:30:13", "url": "https://files.pythonhosted.org/packages/12/fa/a371f87fb47eb7ff4469a5efd0400f9c4bf744c7caede623ab5d5dcabc3a/aws-utilities-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "30623eaf3f608bdff3c5c96c08d9da61", "sha256": "d2695a057214a296c554dc181f6b014eb0cf30257b4a242e879479f3d189f0af" }, "downloads": -1, "filename": "aws-utilities-0.2.0.tar.gz", "has_sig": false, "md5_digest": "30623eaf3f608bdff3c5c96c08d9da61", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7460, "upload_time": "2018-11-20T20:52:56", "url": "https://files.pythonhosted.org/packages/93/27/528ffab0aa4f58dc0c1e815a80d0019b2e71c833644783a50d8a7248dfad/aws-utilities-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "f025df4202c295ce02fd5028ebc8996c", "sha256": "8f7793c7414b50fcafc1cd5e0ea6a3dd6c50d454ff0e92698080642087c2b583" }, "downloads": -1, "filename": "aws-utilities-0.3.0.tar.gz", "has_sig": false, "md5_digest": "f025df4202c295ce02fd5028ebc8996c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7612, "upload_time": "2019-02-06T01:48:14", "url": "https://files.pythonhosted.org/packages/c5/4c/4179e1c5c2d81f52c36e348ddea1e719b69df242a7e53297fc6bb6d9be23/aws-utilities-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "8a6d336d6c5054bd7cf9b86f74d4c151", "sha256": "f8cd9467e4741b62034a97eec3f617f3737654dad58fc1c4b547803b9c5e9bab" }, "downloads": -1, "filename": "aws-utilities-0.4.0.tar.gz", "has_sig": false, "md5_digest": "8a6d336d6c5054bd7cf9b86f74d4c151", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8635, "upload_time": "2019-02-14T23:24:08", "url": "https://files.pythonhosted.org/packages/95/a2/2acff9f64ab06c2b39cdad52cedf8bfc7b6f3f66c92b0d46bec644aff4a5/aws-utilities-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "4ea89bbcbbd4f8e0fff2cf7a50603c91", "sha256": "49380b23a2c3870afc5df8c39fe83518cc5f87d61e8ad8b1ac0dbc1f1584b947" }, "downloads": -1, "filename": "aws-utilities-0.4.1.tar.gz", "has_sig": false, "md5_digest": "4ea89bbcbbd4f8e0fff2cf7a50603c91", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8643, "upload_time": "2019-02-15T00:35:09", "url": "https://files.pythonhosted.org/packages/18/3a/fb0ec43f8184e1e8e9462599030d6b07445e30429ffd09c939ed4c06d229/aws-utilities-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "367ffbb329bab83a6af84c705664027c", "sha256": "906ad3319e2e5079800fcfff88689e78bc29704e78d26b143f60e3ea72f1dfe2" }, "downloads": -1, "filename": "aws-utilities-0.4.2.tar.gz", "has_sig": false, "md5_digest": "367ffbb329bab83a6af84c705664027c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8669, "upload_time": "2019-03-05T19:39:53", "url": "https://files.pythonhosted.org/packages/ee/f2/471e67b168bfed7dc900d9b1ece8f6aeb819eb5287241022aa0fd20b6ddc/aws-utilities-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "fdeff14e8bf38d28ec1b05bbac60d07f", "sha256": "79c2d5f69ab6e93a18a491ce0b7e098bc41d7f2cdae338995ea5a2aa373d5d01" }, "downloads": -1, "filename": "aws-utilities-0.4.3.tar.gz", "has_sig": false, "md5_digest": "fdeff14e8bf38d28ec1b05bbac60d07f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8666, "upload_time": "2019-03-05T19:45:03", "url": "https://files.pythonhosted.org/packages/4b/30/ca88d219c10b69a8097ef904c0f715f4f4578d19e3dcc47ede22dc854edf/aws-utilities-0.4.3.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "55d05095e28f24cc23b246b90f8720dd", "sha256": "81fdcd1bedb0b9337bbc3832c007b697803273f9812b08c130701d130426f820" }, "downloads": -1, "filename": "aws-utilities-0.5.0.tar.gz", "has_sig": false, "md5_digest": "55d05095e28f24cc23b246b90f8720dd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9240, "upload_time": "2019-03-27T00:40:55", "url": "https://files.pythonhosted.org/packages/e9/05/3620288583a8c1976cae50f10713994f4d2cc00d640d3669534921bfae44/aws-utilities-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "ab2bebfbc7eed5fa5b5fa19ee39ab367", "sha256": "55f3561aac3fa771695b8c371b0d292e7fbad1b9cc3581dc99278700b2fb3d5a" }, "downloads": -1, "filename": "aws-utilities-0.5.1.tar.gz", "has_sig": false, "md5_digest": "ab2bebfbc7eed5fa5b5fa19ee39ab367", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9891, "upload_time": "2019-04-01T21:24:44", "url": "https://files.pythonhosted.org/packages/3c/a3/8c26d0564f5774c2f09708f5a775143ef605cfe44a726ab35c49505d09b3/aws-utilities-0.5.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "83b0f53558e54120b14d7b40d6b954dd", "sha256": "3869f6ece8f3755287d69b4da4344d6632205570c7e4d3a331aa97c9f17d0761" }, "downloads": -1, "filename": "aws_utilities-1.0.0-py3-none-any.whl", "has_sig": false, "md5_digest": "83b0f53558e54120b14d7b40d6b954dd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 11891, "upload_time": "2019-04-29T00:59:59", "url": "https://files.pythonhosted.org/packages/1f/32/a07c166da71d3de3c85411f6af95b6e1cd0279c6d261239ee35ba77267bc/aws_utilities-1.0.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "88ad37faef279d1b96afa90648eda32c", "sha256": "9d26258843d644c37f002897b762608497352ddad95ef1845cd5ca857a115db7" }, "downloads": -1, "filename": "aws-utilities-1.0.0.tar.gz", "has_sig": false, "md5_digest": "88ad37faef279d1b96afa90648eda32c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 11114, "upload_time": "2019-04-29T00:59:56", "url": "https://files.pythonhosted.org/packages/24/34/7722c3ff475ee6e68394d271c0798758e71d6b5ac501a2e14585ff3feca5/aws-utilities-1.0.0.tar.gz" } ], "1.0.0.post1": [ { "comment_text": "", "digests": { "md5": "ef6a229a8c5a13a4ba577000085b9458", "sha256": "1c391e6bc5cc2c17ff3bd586cd2e857a6707a5a5bc88735ab01fab66bba6b600" }, "downloads": -1, "filename": "aws_utilities-1.0.0.post1-py3-none-any.whl", "has_sig": false, "md5_digest": "ef6a229a8c5a13a4ba577000085b9458", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 11987, "upload_time": "2019-04-29T01:12:01", "url": "https://files.pythonhosted.org/packages/28/1a/62df2326a9f19139edec9d7e3bc5c7a10f4d870c78db0528e7b85578f040/aws_utilities-1.0.0.post1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "da7894881129ab2bf7762300d28c552b", "sha256": "a7d44efab9378c60603fbf3810c004bf10605c132ff46abb3c79e6db3ab2bbab" }, "downloads": -1, "filename": "aws-utilities-1.0.0.post1.tar.gz", "has_sig": false, "md5_digest": "da7894881129ab2bf7762300d28c552b", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 11233, "upload_time": "2019-04-29T01:11:58", "url": "https://files.pythonhosted.org/packages/e2/04/5a2a586f0a23eb863fdce00d859055784396666ba38388453184154f10bb/aws-utilities-1.0.0.post1.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "3798d1e2fd6e47d1f41bffac7ef8a7d9", "sha256": "f27b75ca8948cab978998de730ebe921041f6b01f6e260934d7cffe6e0ce619a" }, "downloads": -1, "filename": "aws_utilities-1.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "3798d1e2fd6e47d1f41bffac7ef8a7d9", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 11890, "upload_time": "2019-05-10T18:34:31", "url": "https://files.pythonhosted.org/packages/0e/75/a03f249458f9258a3bef00ddebbf451e106ed1f7d7cefea974e603533f94/aws_utilities-1.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "11af355464bab634903d402e6be6de84", "sha256": "6ccb4b3e2f1c1a10e99e788b14b087c24580457ad01742b2a967be79efd4cb5a" }, "downloads": -1, "filename": "aws-utilities-1.0.1.tar.gz", "has_sig": false, "md5_digest": "11af355464bab634903d402e6be6de84", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 11126, "upload_time": "2019-05-10T18:34:29", "url": "https://files.pythonhosted.org/packages/e9/f3/6490896403a67d1b738ec4cf261190819db9d4951b2ed69a2652000ca744/aws-utilities-1.0.1.tar.gz" } ], "1.2.0": [ { "comment_text": "", "digests": { "md5": "930a69ad770848c1d14e61668abc576f", "sha256": "fc149af5c898c934d33ad10fb87e3e3aff24531d431df590669d439bee11b059" }, "downloads": -1, "filename": "aws_utilities-1.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "930a69ad770848c1d14e61668abc576f", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 14056, "upload_time": "2019-05-15T18:18:20", "url": "https://files.pythonhosted.org/packages/db/8e/a3a88e47899c74b43c729a7564ec5a7702751e7431025537fb6de16c1801/aws_utilities-1.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62df9e61686a065d49a98f9e3c00e386", "sha256": "8e69819d34aaf8ccbef4b61e224b1ea439ece924a5cade7f4cfa2cc9958f89b8" }, "downloads": -1, "filename": "aws-utilities-1.2.0.tar.gz", "has_sig": false, "md5_digest": "62df9e61686a065d49a98f9e3c00e386", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 11527, "upload_time": "2019-05-15T18:18:18", "url": "https://files.pythonhosted.org/packages/e6/ce/5efdb691ee76e8f9b374c26f3db34351a2ba69921ba61700890d58488ed9/aws-utilities-1.2.0.tar.gz" } ], "1.3.0": [ { "comment_text": "", "digests": { "md5": "1b8660a873c6e787da4a9cc5fbb07f61", "sha256": "01e6228965bee22e8f695652b7a1c326902a332524b692b5a8bbe2c8e94e276e" }, "downloads": -1, "filename": "aws_utilities-1.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "1b8660a873c6e787da4a9cc5fbb07f61", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 14192, "upload_time": "2019-06-24T17:57:10", "url": "https://files.pythonhosted.org/packages/13/57/d4b32b50fa39e05d9d5ddbc4af0c797c0f46a88587c04fdc1a124ede6623/aws_utilities-1.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af87b56486d084909ca3e427ed65591c", "sha256": "2ed8fbffbacef7d3ca299a1f212e9a87c54911b1c784e04bf54fa8f2eb7b1e10" }, "downloads": -1, "filename": "aws-utilities-1.3.0.tar.gz", "has_sig": false, "md5_digest": "af87b56486d084909ca3e427ed65591c", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 11692, "upload_time": "2019-06-24T17:57:08", "url": "https://files.pythonhosted.org/packages/56/7d/b657f07255a8bd9a09a0d21d968dad6287dcb6ebceae2a757d62b5001d9d/aws-utilities-1.3.0.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "252b52c98466e49b4d2203feb86edf60", "sha256": "57e39164e22530e9b1cd3b69e56bb25d4af860f20a0c78788368a7b3259b5f27" }, "downloads": -1, "filename": "aws_utilities-1.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "252b52c98466e49b4d2203feb86edf60", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 14246, "upload_time": "2019-06-25T05:56:30", "url": "https://files.pythonhosted.org/packages/64/65/b3a58f25a590354be3d77b2908fe6d53cf6d3a9de3f367b7e991a228b2ff/aws_utilities-1.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba20cc465d025edf57fe7f4d7db11ce1", "sha256": "2f56c218eba265e45a40a26b74478a82c7f495d669f4603ea1c8b528b382a4f2" }, "downloads": -1, "filename": "aws-utilities-1.3.1.tar.gz", "has_sig": false, "md5_digest": "ba20cc465d025edf57fe7f4d7db11ce1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 11822, "upload_time": "2019-06-25T05:56:28", "url": "https://files.pythonhosted.org/packages/3b/66/0785b37a70dd8b089fa8414bf701fe89daa5e58126ec8e21d7b973afbc34/aws-utilities-1.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "252b52c98466e49b4d2203feb86edf60", "sha256": "57e39164e22530e9b1cd3b69e56bb25d4af860f20a0c78788368a7b3259b5f27" }, "downloads": -1, "filename": "aws_utilities-1.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "252b52c98466e49b4d2203feb86edf60", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6,<4.0", "size": 14246, "upload_time": "2019-06-25T05:56:30", "url": "https://files.pythonhosted.org/packages/64/65/b3a58f25a590354be3d77b2908fe6d53cf6d3a9de3f367b7e991a228b2ff/aws_utilities-1.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ba20cc465d025edf57fe7f4d7db11ce1", "sha256": "2f56c218eba265e45a40a26b74478a82c7f495d669f4603ea1c8b528b382a4f2" }, "downloads": -1, "filename": "aws-utilities-1.3.1.tar.gz", "has_sig": false, "md5_digest": "ba20cc465d025edf57fe7f4d7db11ce1", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6,<4.0", "size": 11822, "upload_time": "2019-06-25T05:56:28", "url": "https://files.pythonhosted.org/packages/3b/66/0785b37a70dd8b089fa8414bf701fe89daa5e58126ec8e21d7b973afbc34/aws-utilities-1.3.1.tar.gz" } ] }