sparkplatform api library for python 2.7