{ "info": { "author": "Jose Diaz-Gonzalez", "author_email": "email@josediazgonzalez.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: System Administrators", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2.7" ], "description": "=============\naws-hostname\n=============\n\nOutputs a valid hostname for a given AWS instance\n\nInstallation\n============\n\nUsing PIP via PyPI::\n\n pip install aws-hostname\n\nUsing PIP via Github::\n\n pip install git+git://github.com/josegonzalez/python-aws-hostname.git#egg=aws-hostname\n\nUsage\n=====\n\nCLI Usage is as follows::\n\nusage: aws-hostname [-h] [-i EC2_INSTANCE_ID] [-r EC2_REGION]\n [-a AWS_ACCESS_KEY_ID] [-s AWS_SECRET_ACCESS_KEY]\n [-t AWS_TAG] [-n] [-u] [-d]\n\nYou can also use the equivalent environment variables in place of command arguments.\n\nThis command will use the instance id and the tag ``aws:autoscaling:groupName`` to construct a valid hostname. It is useful for setting readable hostnames for autoscale groups like so::\n\n aws-hostname -r $REGION -a $ACCESS_ID -s $SECRET_KEY -i $INSTANCE_ID > /etc/hostname\n hostname -F /etc/hostname\n \nYou can also run it with the -u flag to connect using IAM profile instead of the access/secret key.\n\nIn cases where it is run against a non-autoscale group node, it will fallback to the ``Name`` attribute of the instance.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/josegonzalez/python-aws-hostname", "keywords": null, "license": "Copyright (c) 2014 Jose Diaz-Gonzalez\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "aws-hostname", "package_url": "https://pypi.org/project/aws-hostname/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/aws-hostname/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/josegonzalez/python-aws-hostname" }, "release_url": "https://pypi.org/project/aws-hostname/0.0.4/", "requires_dist": null, "requires_python": null, "summary": "Outputs a valid hostname for a given AWS instance", "version": "0.0.4" }, "last_serial": 1633010, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "9991a9bd42b4ce7adde5dfa0151e8901", "sha256": "faa5248676a27fd38f00265766eff259e8a4cfc675cba865391b95a3e0508a91" }, "downloads": -1, "filename": "aws-hostname-0.0.1.tar.gz", "has_sig": false, "md5_digest": "9991a9bd42b4ce7adde5dfa0151e8901", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3656, "upload_time": "2014-05-05T07:25:03", "url": "https://files.pythonhosted.org/packages/26/9c/65b64a8659bc41b87dbcc099a6eeb2d626ed9273778108efe1d342f1d3d0/aws-hostname-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "5659bb5ca601ca915cb95301d72900e2", "sha256": "574b40bfed9d49ac41bf20007298e688925ecea9576909e1eed41920b84bc31e" }, "downloads": -1, "filename": "aws-hostname-0.0.2.tar.gz", "has_sig": false, "md5_digest": "5659bb5ca601ca915cb95301d72900e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3679, "upload_time": "2014-05-05T19:27:37", "url": "https://files.pythonhosted.org/packages/41/89/b425c23cedd99fd4c50725479ed1697233db7409b57009a4b8bc46737c28/aws-hostname-0.0.2.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "5a78f4f85a512d28be1e6c98cb3a7a7f", "sha256": "c61a3648b2179d8be218d0e629b0c06c02c99950ba533be935587f47cbc5f7c7" }, "downloads": -1, "filename": "aws-hostname-0.0.4.tar.gz", "has_sig": false, "md5_digest": "5a78f4f85a512d28be1e6c98cb3a7a7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4086, "upload_time": "2015-07-14T15:53:41", "url": "https://files.pythonhosted.org/packages/55/4f/d407f4ec6a964127a8f8c02b89cd88ba24945e8abf58510ede32459ab285/aws-hostname-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "5a78f4f85a512d28be1e6c98cb3a7a7f", "sha256": "c61a3648b2179d8be218d0e629b0c06c02c99950ba533be935587f47cbc5f7c7" }, "downloads": -1, "filename": "aws-hostname-0.0.4.tar.gz", "has_sig": false, "md5_digest": "5a78f4f85a512d28be1e6c98cb3a7a7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4086, "upload_time": "2015-07-14T15:53:41", "url": "https://files.pythonhosted.org/packages/55/4f/d407f4ec6a964127a8f8c02b89cd88ba24945e8abf58510ede32459ab285/aws-hostname-0.0.4.tar.gz" } ] }