Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 501 Bytes

README.rst

File metadata and controls

28 lines (18 loc) · 501 Bytes

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/*