Quickstart#
Our SDK has a Python interface and supports Python 3.12+.
Install our SDK library:
pip install tinesight
Sign up at `here <https://tinesight.com`__ and note your username/password.
Register your device and save the Tinesight-signed certificate.
from tinesight.registrar import TinesightRegistrar
# declare a registrar object, login, and register a device
tsr = TinesightRegistrar()
tsr.login(my_username, my_password) # obviously put your user/password combo
device123_cert: str = tsr.register_device(path_to_my_key, "device123")
# save the signed certificate along with your existing key
# declare a tinesight client with your signed certificate and invoke our API!
tsc = TinesightClient(path_to_my_key, path_to_my_cert)
tsc.classify(my_image)