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
-
Examples can be found in documentation
-
After installing tempodb, download tempodb-write-demo.py.
-
Edit your-api-key and your-api-secret in tempodb-write-demo.py.
-
Run tempodb-write-demo.py to insert 10 days of test data.
python tempodb-write-demo.py
-
Download tempodb-read-demo.py
-
Edit your-api-key and your-api-secret in tempodb-read-demo.py.
-
Run tempodb-read-demo.py to read back the data you just wrote in.
python tempodb-read-demo.py