Siasearch SDK
Siasearch SDK is a way to programmatically interface with the Siasearch software. It provides an alternative interface to the GUI and allows users to easily query for, view and manipulate the data fetched.
>>> from siasearch import SiaSearch
>>> sia = SiaSearch.login("http://custom-domain.siasearch.de", "user@example.com", "password")
<SiaSearch object with user `user@example.com` connected to `http://custom-domain.siasearch.de`>
>>> cols = sia.columns()
>>> cols
<Columns object containing columns: ['acceleration_level', 'curved_trajectory', 'dataset_name', 'forward_velocity',...
>>> cols.curved_trajectory.levels
["'LEFT_BEND'", "'NO_BEND'", "'RIGHT_BEND'"]
>>> query = sia.query("dataset_name = 'kitti' AND curved_trajectory = 'LEFT_BEND'")
Query("dataset_name = 'kitti' AND curved_trajectory = 'LEFT_BEND'")
>>> sequences = query.all()
>>> sequences
<Sequences class with 54 segments>
Installing siasearch
Siasearch is available on PyPi
pip install siasearch
How to use it?
See docs
Documentation
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.
Metadata
Release files for siasearch 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| siasearch-0.0.8.tar.gz | 18.1 kB | Without provenance | Details for siasearch-0.0.8.tar.gz |
Release files / siasearch-0.0.8.tar.gz
| Download URL | siasearch-0.0.8.tar.gz |
|---|---|
| Size | 18.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3733164ad3e216bd8438d2db49b061efc877ba0c42bd3448aa1fcd13317ca15
|
|
BLAKE2b-256 checksum How to use checksums |
6208661e6a7ca538ba77b19adc3c227c195c7c19fdd6472d4ffb0925ff54a875
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.8.0
|
Security for siasearch 0.0.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.