Add python client library and example pattern.  Update README

With better PEP 8 compliance and docstrings.