Skip to main content

A library for connecting to remote Robots running TritiumOS

Project description

tritium_remote

A library for interacting with Tritium systems. Hosted docs are here (require login).

  • Connects to a running Tritium system by WebSocket
  • Uses GraphQL to send commands and request data

Implemented in Rust with bindings to other languages:

This library is currently only published and tested on Linux. However the rust crate ought to work on other platforms.

This is only to be used on a trusted local network. The Tritium system will be accessed over LAN without encryption.

APIs

Sequence playback

  • Start & stop sequence

Scripting

  • Start & stop scripts
  • Post messages to named channels to which scripts may subscribe

Running Examples

The Rust and Python examples use the TRITIUM_AUTH_TOKEN environment variable to get the JWT access token they need.

To generate an access token...

  1. Log into the Tritium cloud UI
  2. Connect to your locally-running system
  3. Go to the "Scripts" page
  4. Select the API Keys tab
  5. Click "CREATE AN API KEY"
$ export TRITIUM_AUTH_TOKEN="{paste token here}"
$ cargo run --example system_info

License

This project is licensed under either of

at your option.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

tritium_remote-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.6 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

tritium_remote-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.6 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

tritium_remote-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.6 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

tritium_remote-1.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.6 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

tritium_remote-1.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.6 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

File details

Details for the file tritium_remote-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tritium_remote-1.2.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0f75d9304b1b8cec5785807bbd343f3737ca7e4c7a9d8bd6f7ea81bd286261f5
MD5 def0d7741cd1c55b9b097de8c88f1f2b
BLAKE2b-256 cec163484974dbfbd0d59f2a5cd067760f939371aedc6963a280a4c955b40f8d

See more details on using hashes here.

File details

Details for the file tritium_remote-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tritium_remote-1.2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0a7a038f246ceffe281ed6f9a7ee96006761b0486847fc39a3b013f8e6975b2b
MD5 a6dcf77ead04361013e04240d6f5eec4
BLAKE2b-256 3efd75f86f609d64522dfc026d01f57d6e4bf6ca9f7f66666cce117d83ad66e3

See more details on using hashes here.

File details

Details for the file tritium_remote-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tritium_remote-1.2.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d2d71ed72340e56b27450a6e9a4de8c2728e5379fa4eec052a92c17706ae0f85
MD5 5c50f77a4f09258a9ea9c8c98567d65e
BLAKE2b-256 5c13c87ec665adf50481dae7a3fe140bb994ceeaf4f0a146383b3d77d2afd78c

See more details on using hashes here.

File details

Details for the file tritium_remote-1.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tritium_remote-1.2.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 47077122f9e0c0235f97cdac98bb3189ea0548644e01db3b2022d3450487e3b9
MD5 9dc9a954a93837eb3974ceaa7c62b78d
BLAKE2b-256 95c34e902cca86d2f07b1984d2a49a3b22c44f34c02734ce571905ad0e6445ec

See more details on using hashes here.

File details

Details for the file tritium_remote-1.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for tritium_remote-1.2.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c7eda2217f9ebd3905f812923de8aa11eda6a1e3160ce2beefe4ab8c4f0333a
MD5 24cab96228606bd3cc3dfd382026395e
BLAKE2b-256 2e6b9cf737294d9e51091c7c2099d013c444adb3b6b48164ddfabce184601708

See more details on using hashes here.

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