python phptimeseries reader example