SDK for SiaSearch platform API
Project description
SiaSearch API SDK
How to use it?
As an example, this is how you would use the API to query for the velocity of a KITTI drive during a lane change:
from siasearch import auth
sia = auth("user@example.com", "password", "https://kitti.merantix.de")
results = sia.query("dataset_name = 'kitti' AND is_lane_change = 'True'")
segments = results.to_list_of_segments()
velocity_level = segments[0].get_metadata("velocity_level")
Documentation generation
To generate simple Sphinx documentation you need to install Sphinx package
pip install -U Sphinx
and run:
sphinx-build -b html docs/source docs/build
from the package root folder.
And you would get build html documentation in docs/build
folder.
You can serve it running python -m http.server
from docs/build
folder.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
siasearch-0.0.1.tar.gz
(8.3 kB
view hashes)
Built Distribution
siasearch-0.0.1-py3-none-any.whl
(11.3 kB
view hashes)
Close
Hashes for siasearch-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a935b4b8f7b4f5b9c53bb167d5b47d10097edd4ae8930998372eaea57737f276 |
|
MD5 | 6d74a81ab19b23d674657ad9b7574383 |
|
BLAKE2b-256 | edc8e0163f103b5f5d6c093e8354be241a92ddc9a8d8a9d288f4236861ecee13 |