{ "info": { "author": "David Amrani Hernandez", "author_email": "davidmorenomad@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Other Audience", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Testing" ], "description": "Awspice\n=======\n\n|Version| |PythonVersions| |Docs| |Travis| |Codacy|\n\n.. |Docs| image:: https://readthedocs.org/projects/awspice/badge/?version=latest\n :target: http://awspice.readthedocs.io/en/latest/?badge=latest\n :alt: Read the Docs\n.. |Version| image:: http://img.shields.io/pypi/v/awspice.svg?style=flat\n :target: https://pypi.python.org/pypi/awspice/\n :alt: Version\n.. |Codacy| image:: https://api.codacy.com/project/badge/Grade/de3c0b7119994ee1a6a9736a7b95bf5d\n :target: https://app.codacy.com/app/davidmoremad/awspice?utm_source=github.com&utm_medium=referral&utm_content=Telefonica/awspice&utm_campaign=Badge_Grade_Dashboard\n :alt: Codacy\n.. |Travis| image:: https://travis-ci.org/Telefonica/awspice.svg?branch=master\n :target: https://travis-ci.org/Telefonica/awspice\n :alt: Travis-CI\n.. |PythonVersions| image:: https://img.shields.io/pypi/pyversions/awspice.svg\n :alt: PyPI - Python Version\n\n\nTable of content (Full doc in `ReadTheDocs `_) :\n\n* `Installation <#installation>`_\n* `Configuration <#configuration>`_\n* `Test <#test>`_\n* `Usage <#usage>`_\n\n\n****************\nWhat is Awspice?\n****************\n\nIs a wrapper of Boto3 library to list inventory and manage your AWS infrastructure\nThe objective of the wrapper is to make easier some common tasks in AWS, being able to dig through different regions and accounts.\n\nAwspice make it easy to:\n\n* List all your EC2 instances for multiple regions and accounts\n* Get deployed infraestructure behind a Load Balancer.\n* List all instances with exposed critical ports like 22 or 3389\n* Get info about all certificates of your account/s\n* Find exposed S3 buckets\n\n------------------------------------------------------------------------------------------\n\n.. installation-section\n\n************\nInstallation\n************\n\n.. code-block:: bash\n\n pip install awspice\n\n------------------------------------------------------------------------------------------\n\n.. configuration-section\n\n*************\nConfiguration\n*************\n\nThe client is built and configured using ``awspice.connect()``. This method indicates the type of authentication and region on which you are going to work.\n\n\n.. code-block:: python\n\n import awspice\n\n # Region: eu-west-1 | Profile: Default\n aws = awspice.connect()\n\n # Using profiles\n aws = awspice.connect(region='us-west-2', profile='dev_profile')\n # Using access keys\n aws = awspice.connect('us-west-2', access_key='AKIA***********', secret_key='/HR$4************')\n\n\n\n\n------------------------------------------------------------------------------------------\n\n.. usage-section\n\n*****\nUsage\n*****\n\n**Example**: Get balancer and instances behind a domain.\n\n.. code-block:: python\n\n aws = awspice.connect()\n\n elb = aws.service.elb.get_loadbalancer_by('domain', 'donalddumb.com')\n for elb_instance in elb['Instances']:\n instance = aws.service.ec2.get_instance_by('id', elb_instance['InstanceId'])\n\n\n**Example**: List all unused volumes\n\n.. code-block:: python\n\n all_regions = aws.service.ec2.get_regions()\n volumes = awsmanager.service.ec2.get_volumes_by('status', 'available', regions=all_regions)\n\n\n**Example**: Search instance in all accounts and regions by Public IP\n\n.. code-block:: python\n\n profiles = aws.service.ec2.get_profiles()\n regions = aws.service.ec2.get_regions()\n\n for profile in profiles:\n aws.service.ec2.change_profile(profile)\n\n instance = aws.service.ec2.get_instance_by('publicip', '35.158.163.235', regions=regions)\n\n if instance:\n print 'Instance found: %s (Account: %s, Region: %s)' % (instance['InstanceId'], instance['RegionName'], instance['Authorization']['Value'])\n break\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/davidmoremad", "keywords": "aws amazon cloud platform boto3 wrapper security management region account", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "awspice", "package_url": "https://pypi.org/project/awspice/", "platform": "", "project_url": "https://pypi.org/project/awspice/", "project_urls": { "Homepage": "https://github.com/davidmoremad" }, "release_url": "https://pypi.org/project/awspice/1.7/", "requires_dist": null, "requires_python": "", "summary": "Awspice is a wrapper tool of Boto3 library to list inventory and manage your AWS infrastructure The objective of the wrapper is to abstract the use of AWS, being able to dig through all the data of our account. It belongs to ElevenPaths, Telefonica.", "version": "1.7" }, "last_serial": 5840578, "releases": { "1.2.0": [ { "comment_text": "", "digests": { "md5": "ecb52e73eac2f7ae9005434309514aa8", "sha256": "fcbdadaa70434e69f215581b22728f301dc6c998996640330774d1376cfadd59" }, "downloads": -1, "filename": "awspice-1.2.0.tar.gz", "has_sig": false, "md5_digest": "ecb52e73eac2f7ae9005434309514aa8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13801, "upload_time": "2018-01-23T12:42:28", "url": "https://files.pythonhosted.org/packages/8b/52/c9512d240fc67fa05f9f33fe2e38a5ee06cc673ea99855617fbdf7a3309e/awspice-1.2.0.tar.gz" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "985d9c1b5dfa30448f0efd51ee65fc07", "sha256": "c2f051f081b47913b6e6cc202ee468e35d2a22e4de879c2affcd6f80048c0938" }, "downloads": -1, "filename": "awspice-1.3.tar.gz", "has_sig": false, "md5_digest": "985d9c1b5dfa30448f0efd51ee65fc07", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13818, "upload_time": "2018-01-23T12:54:12", "url": "https://files.pythonhosted.org/packages/e9/73/7688e7014ac3e4100c19b6c8eb38ea5658aa0e93a48479977291ec1a5040/awspice-1.3.tar.gz" } ], "1.3.1": [ { "comment_text": "", "digests": { "md5": "1a2f73102023bc48880b221acbdc8b37", "sha256": "9a6d9ed32c4374dfc225472c0a3a477ce7fd0a1248624a60e34d04e104997657" }, "downloads": -1, "filename": "awspice-1.3.1.tar.gz", "has_sig": false, "md5_digest": "1a2f73102023bc48880b221acbdc8b37", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14226, "upload_time": "2018-01-23T13:40:42", "url": "https://files.pythonhosted.org/packages/22/c6/c2b4990fb723fb87bf97d66c76432c71bafe46ee1f543f3350fbb314d83f/awspice-1.3.1.tar.gz" } ], "1.3.2": [ { "comment_text": "", "digests": { "md5": "da6ed6ceaf2e9edeedc9ebe8beb92f41", "sha256": "65505af81374c57ab261b81f6ea80705530f66cec7c0b6d0a1adec085ba00151" }, "downloads": -1, "filename": "awspice-1.3.2.tar.gz", "has_sig": false, "md5_digest": "da6ed6ceaf2e9edeedc9ebe8beb92f41", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18131, "upload_time": "2018-02-05T08:11:48", "url": "https://files.pythonhosted.org/packages/75/f3/228177ec69dff8df4ebdfd54d5ab3cef34ec4fb6f19b87c8dea62cb9beb6/awspice-1.3.2.tar.gz" } ], "1.3.2.1": [ { "comment_text": "", "digests": { "md5": "22d145846b21ec134a1f01da6e552d8e", "sha256": "18d34ae97003f272f413c1ef88fc8591b8575aa15a328a9475ec7d3ab3932ed5" }, "downloads": -1, "filename": "awspice-1.3.2.1.tar.gz", "has_sig": false, "md5_digest": "22d145846b21ec134a1f01da6e552d8e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20037, "upload_time": "2018-03-09T21:17:43", "url": "https://files.pythonhosted.org/packages/4a/d2/2246ff876cac0568ecb223275efef23fca097955369669e44c7a38a9325d/awspice-1.3.2.1.tar.gz" } ], "1.3.2.2": [ { "comment_text": "", "digests": { "md5": "b57ebd34f40b80a812dd56feef7e4d86", "sha256": "6503c8b4ea710603a8bb08a48337132831adfb4620334cdf1361ad77e8a3bf40" }, "downloads": -1, "filename": "awspice-1.3.2.2.tar.gz", "has_sig": false, "md5_digest": "b57ebd34f40b80a812dd56feef7e4d86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 20051, "upload_time": "2018-03-12T09:34:42", "url": "https://files.pythonhosted.org/packages/ca/87/92be077a7895bd111d05cf9e93ca6b23e5b70e0c27e7a18fecbc37f6dbb7/awspice-1.3.2.2.tar.gz" } ], "1.4.0": [ { "comment_text": "", "digests": { "md5": "5832095adcc052995cc28f5e210709df", "sha256": "38eed23a0fa48298e30fa69ed67dc4cf43c8abbf1c0b95b2c3caa88e1de5d18e" }, "downloads": -1, "filename": "awspice-1.4.0.tar.gz", "has_sig": false, "md5_digest": "5832095adcc052995cc28f5e210709df", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23850, "upload_time": "2018-05-29T16:23:21", "url": "https://files.pythonhosted.org/packages/65/e5/5307bca8b8695ca30808eb4c8c50dcd8eef49844a022f1186a1169502cc9/awspice-1.4.0.tar.gz" } ], "1.4.1": [ { "comment_text": "", "digests": { "md5": "500cf98d93457108439094c94e3eebe7", "sha256": "6570b98b62ec8cd58c164299cbb9a509f9be6a81c1fa0c597dc6e26aeae8a51b" }, "downloads": -1, "filename": "awspice-1.4.1.tar.gz", "has_sig": false, "md5_digest": "500cf98d93457108439094c94e3eebe7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24577, "upload_time": "2018-06-11T08:36:55", "url": "https://files.pythonhosted.org/packages/13/7d/2af284026c847aab14202bdd9a84f2ffbeaebc75d26c7e4e510027e28a8c/awspice-1.4.1.tar.gz" } ], "1.4.2": [ { "comment_text": "", "digests": { "md5": "4349bedfc3d3a8904f14f309206f7f68", "sha256": "2e5f8326c11bec398a8a343a1cfac8bb5fa74f85d95c348a11915b250cf0a63c" }, "downloads": -1, "filename": "awspice-1.4.2.tar.gz", "has_sig": false, "md5_digest": "4349bedfc3d3a8904f14f309206f7f68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24791, "upload_time": "2018-10-05T11:05:32", "url": "https://files.pythonhosted.org/packages/24/cc/d2574e6edde938cfa75d834556e843f7d19ba1b4a53b799ef6b77d08c30b/awspice-1.4.2.tar.gz" } ], "1.4.3": [ { "comment_text": "", "digests": { "md5": "6f63a1edaef23dae2dd2d1a7d8bd28e7", "sha256": "b8687f67c169507e8e612e1bdfdda3621971a62b287da4e6d5141302e50e8766" }, "downloads": -1, "filename": "awspice-1.4.3.tar.gz", "has_sig": false, "md5_digest": "6f63a1edaef23dae2dd2d1a7d8bd28e7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 24998, "upload_time": "2018-10-09T11:05:54", "url": "https://files.pythonhosted.org/packages/12/4b/de875a2c9d84a83e15a634d7345d3e7e3a76e91db90d6220ccea046ec53a/awspice-1.4.3.tar.gz" } ], "1.4.4": [ { "comment_text": "", "digests": { "md5": "79253a3a75262e39682d035b032d1d76", "sha256": "1fde5f85e82788e9af1b30c74853b4b44783dc07db89f2540fcca5314c2bcbd9" }, "downloads": -1, "filename": "awspice-1.4.4.tar.gz", "has_sig": false, "md5_digest": "79253a3a75262e39682d035b032d1d76", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25269, "upload_time": "2018-10-09T13:55:09", "url": "https://files.pythonhosted.org/packages/aa/82/341bc3ffebb8b39dcb757700764e903b699c83d20b668d5414f498214f68/awspice-1.4.4.tar.gz" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "e712834e7ae4713a2512afc81dd7c59a", "sha256": "05ee6e3fc0483b1e305c33138500b9d637556e84911863306c3b8d65af833866" }, "downloads": -1, "filename": "awspice-1.5.tar.gz", "has_sig": false, "md5_digest": "e712834e7ae4713a2512afc81dd7c59a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28485, "upload_time": "2018-12-11T14:41:28", "url": "https://files.pythonhosted.org/packages/a6/c9/e0d219c4f909e39b74148f9665e0e0179421c61c5b632b7a71c0d97b3ad2/awspice-1.5.tar.gz" } ], "1.7": [ { "comment_text": "", "digests": { "md5": "7082dc4e5a4e7d5e469e19da91831c0a", "sha256": "93ba9599cd935457702f4c4b6d8bab309a93e369a4dea38d76d116c8667b9355" }, "downloads": -1, "filename": "awspice-1.7.tar.gz", "has_sig": false, "md5_digest": "7082dc4e5a4e7d5e469e19da91831c0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28446, "upload_time": "2019-09-17T09:26:46", "url": "https://files.pythonhosted.org/packages/54/b4/f182b4b5ce0924e9d98828edef96bc4aa13b35323936621104df26b20440/awspice-1.7.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7082dc4e5a4e7d5e469e19da91831c0a", "sha256": "93ba9599cd935457702f4c4b6d8bab309a93e369a4dea38d76d116c8667b9355" }, "downloads": -1, "filename": "awspice-1.7.tar.gz", "has_sig": false, "md5_digest": "7082dc4e5a4e7d5e469e19da91831c0a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 28446, "upload_time": "2019-09-17T09:26:46", "url": "https://files.pythonhosted.org/packages/54/b4/f182b4b5ce0924e9d98828edef96bc4aa13b35323936621104df26b20440/awspice-1.7.tar.gz" } ] }