Skip to content
Python client for TempoDB
Python Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
docs
tempodb
tests
.gitignore
.travis.yml
LICENSE
Makefile
README.markdown
setup.cfg
setup.py

README.markdown

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

Something went wrong with that request. Please try again.