Python pivot

Rewrite of HRT Bus API in Python