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.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

tritium_remote-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

tritium_remote-1.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

tritium_remote-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

tritium_remote-1.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (14.5 MB view details)

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

File details

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

File metadata

File hashes

Hashes for tritium_remote-1.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 43a8782ab7bcb5ae22f9d2ef06e6489e431215e0d49cf88c347876b1f5985e68
MD5 0525002d6efca3b65f719f0984f1bea7
BLAKE2b-256 1b83c0198167bab3b61bf386eefdb0a4469eb06bd9d3005ad7ad634e0c08b440

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tritium_remote-1.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f450020db0d55d1668004155df3965b4c96242f64bbfe20a0bf5c20101b32646
MD5 3b8f6037b979894db57ae217a355fff7
BLAKE2b-256 549641beef809e9d996dbb2326e001e4d27435067bdf72a24fd7b20922fbcf78

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tritium_remote-1.3.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 23721b0ee3be014b2d85d9c6f6188a5c5ac2c7869028c79c5cb7063e73288e0c
MD5 65844500054179b9af154ba165e4266c
BLAKE2b-256 ed2d57fb9614fbe1f5f64cd303eb5bd2537ada960eaa479a4b51a918d7f2faea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tritium_remote-1.3.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ccb4353b463432453fe037b6fe59e7474b58fc35e2277a05c72744a2e4c3567
MD5 468c8c40431dbb10cb769b35171b7170
BLAKE2b-256 087e3f8562216f329360fe240454ce0658b303945e6b8a9db6aa75057b03775b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tritium_remote-1.3.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ad90e9f0644a61abe29ab08981f10297299e901eb47d5ff8bcd1bb5a8d9d90c
MD5 84389ba95f6c16474968501d4724971d
BLAKE2b-256 4284f4bc862cf3d69f4bcfecf5c4bd7510329cc3ad87e29211cde425b68a264f

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