Skip to content

Latest commit

 

History

History
75 lines (50 loc) · 1.46 KB

README.markdown

File metadata and controls

75 lines (50 loc) · 1.46 KB

TempoDB Python API Client

Build Status

The TempoDB Python API Client makes calls to the TempoDB API. The module is available on PyPi as tempodb.

Install tempodb from PyPI

pip install tempodb

Install tempodb from source

git clone https://github.com/tempodb/tempodb-python.git

cd tempodb-python

python setup.py install

Run unit tests cd path/to/tempodb-python

python setup.py nosetests

Build documentation - if built from source and would like a local copy cd path/to/tempodb-python/docs

make html

cd build/html

firefox index.html

  1. Examples can be found in documentation

  2. After installing tempodb, download tempodb-write-demo.py.

  3. Edit your-api-key and your-api-secret in tempodb-write-demo.py.

  4. Run tempodb-write-demo.py to insert 10 days of test data.

python tempodb-write-demo.py

  1. Download tempodb-read-demo.py

  2. Edit your-api-key and your-api-secret in tempodb-read-demo.py.

  3. Run tempodb-read-demo.py to read back the data you just wrote in.

python tempodb-read-demo.py