{ "info": { "author": "Can Elmas", "author_email": "canelm@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: System Administrators", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: MacOS :: MacOS X", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities" ], "description": "## What?\n\nAn alternate easy to use AWS cli, for some specific jobs.\n\nIt basically provides functions that I need frequently.\n\n## Install\n```bash\npip install eyws\n```\n\n## Permissions Required\n\n**list-costs** and **email-costs** require you to enable Cost Explorer first on the console and give following permissions: \n\n```json\n{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"VisualEditor0\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"ce:GetReservationUtilization\",\n \"ce:GetDimensionValues\",\n \"ce:GetCostAndUsage\",\n \"ce:GetTags\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}\n``` \nAWSConfigRoleForOrganizations is optional for appending organization information to usage costs.\n\n```json\n{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"VisualEditor0\",\n \"Effect\": \"Allow\",\n \"Action\": \"organizations:DescribeOrganization\",\n \"Resource\": \"*\"\n }\n ]\n}\n```\n\nKeep in mind that each paginated Cost Explorer API request will cost you $0.01 ([Learn more](https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/cost-explorer-what-is.html)).\n\n**list-instances**, **list-zones**, **list-regions**, **list-images**, **list-key-pairs**, **list-sec-groups** require:\n\n```json\n{\n \"Version\": \"2012-10-17\",\n \"Statement\": [\n {\n \"Sid\": \"VisualEditor0\",\n \"Effect\": \"Allow\",\n \"Action\": [\n \"ec2:DescribeInstances\",\n \"ec2:DescribeAvailabilityZones\",\n \"ec2:DescribeRegions\",\n \"ec2:DescribeImages\", \n \"ec2:DescribeKeyPairs\",\n \"ec2:DescribeSecurityGroups\"\n ],\n \"Resource\": \"*\"\n }\n ]\n}\n```\n\n## Usage\n```bash\nUsage: eyws [options]\n\n can be:\n\t\tcreate-instances\n\t\tstop-instances\n\t\tterminate-instances\n\t\tlist-instances\n\t\tlist-zones\n\t\tlist-regions\n\t\tlist-images\n\t\tlist-sec-groups\n\t\tlist-costs\n\t\tlist-key-pairs\n\t\tlist-costs\n\t\temail-costs\n\t\tinstall-docker\n\nOptions:\n --version show program's version number and exit\n -h, --help Show this help message and exit\n -p PROFILE, --profile=PROFILE\n aws profile to use (~/.aws/config) (default=default\n profile)\n -c Instance Count, --count=Instance Count\n Number of instances to launch (default=1)\n -n Name Tag, --name=Name Tag\n Append a name tag to instances\n -t Instance Type, --instance-type=Instance Type\n Type of instances to launch (default=t2.micro)\n -r Region, --region=Region\n EC2 region to list and launch instances in\n (default=.aws/config)\n -z Zone, --zone=Zone Availability zone to list and launch instances in\n (default=random when launching instances)\n -a Ami, --ami=Ami AMI ID to use (default=ami-de8fb135)\n -k KEY_PAIR, --key-pair=KEY_PAIR\n Key pair name to use on instances\n -i IDENTITY, --identity=IDENTITY\n SSH private key file to connect to instances\n -u USER, --user=USER SSH user to connect as to instances\n -e Size, --ebs-vol-size=Size\n EBS volume size in GB to attach each instance\n (default=8)\n --ebs-vol-type=Volume Type\n Volume type to attach (default=gp2)\n types=[('standard', 'Magnetic'), ('io1', 'Provisioned\n IOPS SSD'), ('gp2', 'General Purpose SSD'), ('sc1',\n 'Cold HDD'), ('st1', 'Throughput Optimized HDD')]\n --ebs-delete=Delete On Termination\n Delete volume on termination (default=True)\n --ebs-vol-name=EBS_VOL_NAME\n Volume name (default=/dev/sda1)\n --iops=IOPS IOPS. Not supported for volume type gp2 (default=100)\n -s Security Group Name, --sec-group=Security Group Name\n Security Group name to use for launching instances\n --instance-id=instance Id\n instance id to start/stop/destroy/install\n --days=DAYS Usage cost charged since days\n --months=MONTHS Months to check costs for. 1 means current month.\n (default=1)\n --ignore-service-usage\n Do not display costs for each service type\n --emails=EMAILS Comma separated (without space) email addresses to notify i.e.\n can@x.com,b@y.com\n --template=TEMPLATE Jinja template file\n --smtp-host=SMTP_HOST\n SMTP host to use for sending emails\n --smtp-port=SMTP_PORT\n SMTP port to use for sending emails\n --smtp-from=SMTP_FROM\n Sender email address\n --dry-run Dry run operations\n --install-docker Install Docker on instances\n --do-not-wait Do not wait until instances are fully up and running\n```\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/canelmas/eyws", "keywords": "aws cli", "license": "Apache License 2.0", "maintainer": "", "maintainer_email": "", "name": "eyws", "package_url": "https://pypi.org/project/eyws/", "platform": "", "project_url": "https://pypi.org/project/eyws/", "project_urls": { "Homepage": "https://github.com/canelmas/eyws" }, "release_url": "https://pypi.org/project/eyws/1.0.0b5/", "requires_dist": [ "jinja2 (>=2.10)", "python-dateutil (>=2.7.3)", "boto3 (==1.8.1)", "botocore (==1.11.1)" ], "requires_python": ">=3.1", "summary": "Daily use alternate AWS CLI", "version": "1.0.0b5" }, "last_serial": 4398075, "releases": { "1.0.0b1": [ { "comment_text": "", "digests": { "md5": "7977aa563cebb377e851765dc3ad3e28", "sha256": "5375c28b40d6d62fc611eb11d859feba50bd31b5c5a599caf7c658a9f17d6c81" }, "downloads": -1, "filename": "eyws-1.0.0b1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7977aa563cebb377e851765dc3ad3e28", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.1", "size": 8716, "upload_time": "2018-08-26T12:52:48", "url": "https://files.pythonhosted.org/packages/b3/95/89f3c20a2ee4b002e8a2145c7eecb89125fa0de2f20d9374c32ca0b0eaf2/eyws-1.0.0b1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "94efbae78715b7dac596368639285941", "sha256": "ff539ba448394829e21e58d342c85c68cba8fccce496a55d597310ce2373211b" }, "downloads": -1, "filename": "eyws-1.0.0b1.tar.gz", "has_sig": false, "md5_digest": "94efbae78715b7dac596368639285941", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.1", "size": 9070, "upload_time": "2018-08-26T12:52:49", "url": "https://files.pythonhosted.org/packages/cb/94/6a5617fcfa37e730edc0f87e05e5add69e3dbaacc3e266142a0a35b0ac55/eyws-1.0.0b1.tar.gz" } ], "1.0.0b2": [ { "comment_text": "", "digests": { "md5": "a698f91a5a4cc48d20b592f6742dc493", "sha256": "0fd321007867a2bee51f7022106108be9c4f249c612218df8f38d53c45685571" }, "downloads": -1, "filename": "eyws-1.0.0b2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "a698f91a5a4cc48d20b592f6742dc493", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.1", "size": 12847, "upload_time": "2018-08-26T14:25:30", "url": "https://files.pythonhosted.org/packages/d8/50/89f74ad20ca0ad0331b17c023fc30cf3d35e7ebb3c392ef216df78f90215/eyws-1.0.0b2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7ace134a708eaf3d311296abf3d1f30", "sha256": "d9e27294299ae031393d175e1cbc276982d1ec6547ce46d5c7547b60e08fe084" }, "downloads": -1, "filename": "eyws-1.0.0b2.tar.gz", "has_sig": false, "md5_digest": "b7ace134a708eaf3d311296abf3d1f30", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.1", "size": 9176, "upload_time": "2018-08-26T14:25:33", "url": "https://files.pythonhosted.org/packages/7f/02/16665f9f9a62a4e3664b23e3c3435d786b02832632ad675dcaa147d12013/eyws-1.0.0b2.tar.gz" } ], "1.0.0b3": [ { "comment_text": "", "digests": { "md5": "1b7f052512925766c0d0991892700d50", "sha256": "346a8a9b7f88b242f29d70c5393537a20a167fe22bf405948495c80c44f56134" }, "downloads": -1, "filename": "eyws-1.0.0b3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "1b7f052512925766c0d0991892700d50", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.1", "size": 13035, "upload_time": "2018-08-28T07:43:27", "url": "https://files.pythonhosted.org/packages/5f/97/596d69f67b2ed1df3a115a314fe4ef62da23c522325eead730e631f09608/eyws-1.0.0b3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b2308d060f55b5565bccb50bdd8d68e4", "sha256": "6f76c85e5d95462f2c2311f20e99e2be23f3bece76744056d1b53477d3ee863a" }, "downloads": -1, "filename": "eyws-1.0.0b3.tar.gz", "has_sig": false, "md5_digest": "b2308d060f55b5565bccb50bdd8d68e4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.1", "size": 9810, "upload_time": "2018-08-28T07:43:30", "url": "https://files.pythonhosted.org/packages/2d/fe/d9c619f69e8a40f4bd6daacca6b822c8982f273b181328bdb950a0b9f246/eyws-1.0.0b3.tar.gz" } ], "1.0.0b4": [ { "comment_text": "", "digests": { "md5": "eb6d40d6d0a89e0822df596fff5f9dbc", "sha256": "909ce452772e2ff12f56c1244ac09cd89d935c6410c24391e2ffff2fee830387" }, "downloads": -1, "filename": "eyws-1.0.0b4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "eb6d40d6d0a89e0822df596fff5f9dbc", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.1", "size": 16296, "upload_time": "2018-08-31T08:02:27", "url": "https://files.pythonhosted.org/packages/5c/f3/7ea94cdd462276f14d03efaa67c9b8eb93982e92cebc48e5de50c3e91a4c/eyws-1.0.0b4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d97d1f4e3f7160fd25b6539bb00e2fee", "sha256": "3cdb476d647219bb4ec33789f23acce623fd33c096b580d231df3e29d085f8a1" }, "downloads": -1, "filename": "eyws-1.0.0b4.tar.gz", "has_sig": false, "md5_digest": "d97d1f4e3f7160fd25b6539bb00e2fee", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.1", "size": 11378, "upload_time": "2018-08-31T08:02:30", "url": "https://files.pythonhosted.org/packages/48/8f/70399d46f07db79ae24cccac73c49727d5bf786f33d34d68ee3e9a1ce6ab/eyws-1.0.0b4.tar.gz" } ], "1.0.0b5": [ { "comment_text": "", "digests": { "md5": "4408057de582541067c947e239fe331a", "sha256": "39e172f78984aca795a355e16ea918dddfeadb978841c526badebb06fd930373" }, "downloads": -1, "filename": "eyws-1.0.0b5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4408057de582541067c947e239fe331a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.1", "size": 18174, "upload_time": "2018-10-20T21:51:53", "url": "https://files.pythonhosted.org/packages/19/84/c7553558701d9c9eb6e3084a8cda2babdabf400f4eeda34a34b2471198fa/eyws-1.0.0b5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7fcc46530cf0ce621f73bbf66b65f9e", "sha256": "19baf25046baa6ce7ea5e5db0ec6eb140d40cd6fcfc3cee305a2d160bc08c365" }, "downloads": -1, "filename": "eyws-1.0.0b5.tar.gz", "has_sig": false, "md5_digest": "c7fcc46530cf0ce621f73bbf66b65f9e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.1", "size": 13248, "upload_time": "2018-10-20T21:51:55", "url": "https://files.pythonhosted.org/packages/4d/45/a1db48431de2682690fbdb5f7c348ff65253277fbce94235a4af956d60e5/eyws-1.0.0b5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4408057de582541067c947e239fe331a", "sha256": "39e172f78984aca795a355e16ea918dddfeadb978841c526badebb06fd930373" }, "downloads": -1, "filename": "eyws-1.0.0b5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4408057de582541067c947e239fe331a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.1", "size": 18174, "upload_time": "2018-10-20T21:51:53", "url": "https://files.pythonhosted.org/packages/19/84/c7553558701d9c9eb6e3084a8cda2babdabf400f4eeda34a34b2471198fa/eyws-1.0.0b5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c7fcc46530cf0ce621f73bbf66b65f9e", "sha256": "19baf25046baa6ce7ea5e5db0ec6eb140d40cd6fcfc3cee305a2d160bc08c365" }, "downloads": -1, "filename": "eyws-1.0.0b5.tar.gz", "has_sig": false, "md5_digest": "c7fcc46530cf0ce621f73bbf66b65f9e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.1", "size": 13248, "upload_time": "2018-10-20T21:51:55", "url": "https://files.pythonhosted.org/packages/4d/45/a1db48431de2682690fbdb5f7c348ff65253277fbce94235a4af956d60e5/eyws-1.0.0b5.tar.gz" } ] }