Python client to talk to a tshistory time series store through its rest api endpoint (provided in `tshistory_rest`).
dates: do not crash when presented with a stdlib datetime object
highlight the fact that we do not handle plain datetime objects
api/insert: document the assertion failure

clone

read-only
https://hg.sr.ht/~pythonian/tshistory_client
read/write
ssh://hg@hg.sr.ht/~pythonian/tshistory_client

#TSHISTORY CLIENT

This library provides easy access to tshistory instances exposed with the help of tshistory_rest (http end points).

All the base tshistory api is available from there.

#Examples

#Direct invocation

from tshistory_client.api import Client
 
 c = Client('http://my.tshistory.instance/api')
 series = c.get('banana_spot_price')

#Using the tshistory api (preferred way)

from tshistory.api import timeseries
 
 c = timeseries('https://my.tshistory.instance/api')
 series = c.get('banana_spot_price')