Adds s-index stuff to Python API

And updates the sindex/api.yaml test file to include tests for
Python.