mec2

Query information about the current ec2 instance


Keywords
aws, ec2
License
GPL-2.0
Install
pip install mec2==0.0.2

Documentation

mec2

Python package to query information about the current ec2 instance. Useful for ec2 instances to configure themselves.

Install:

$ pip install mec2

Command line:

$ mec2 instance_name

Library:

import mec2
print mec2.instance_name()

View available commands in source code.

Push new version to pypi:

$ vim setup.py  # Edit version tag
$ rm -rf dist
$ python setup.py sdist
$ twine upload dist/*