Add doc strings to the python driver

Review 966 by @tryneus
Closes #808