Python AWS EMR Status Arduino LEDs
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README.md
arduino-leds-serial-read.ino
emr_status.py
requirements.txt

README.md

Python AWS EMR Status via Arduino LEDs

See blog post here

Initial python setup:

# install pip
sudo easy_install pip

# check pip version
pip --version
# pip 8.1.1 from /Library/Python/2.7/site-packages (python 2.7)

# upgrade to latest pip
sudo pip install --upgrade pip

# check pip version
pip --version
# pip 9.0.1 from /Library/Python/2.7/site-packages (python 2.7)

# (optional) fix six osx issue:
sudo pip install --ignore-installed six

# install virtualenvwrapper
sudo pip install virtualenvwrapper

# create virtual env for pip packages
mkvirtualenv -p /usr/bin/python2.7 emr_status

# use virtual env
workon emr_status

# install pip packages
pip install -r requirements.txt

Execute script:

python emr_status.py