Skip to main content

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.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
 pip install sphinx-rtd-theme

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


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.3.tar.gz (12.4 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page