TReK Python
5.3.2
Telemetry/Command API
|
The Python Package provides the TReK Telemetry, Command and Data API's from the Python language. This package is layered atop the existing C++ API (see C++ API for more information). While Python is not as performant as C++, it is an effective means for applications where performance is less critical such as rapid development and testing or to integration with existing Python implementations.
This implementation currently requires Python 3.8+.
To use the TReK Python implementation, the Python package module must be installed in your Python package environment using the "pip" installer (i.e. installing TReK does not do this step). In addition, this package depends on proper installation of the dependent TReK libraries to function and is not a full package installer (one that installs the depedencies for you). Environment variables associated with those installations must be available and are referred below in the platform instructions.
To "get started":
For windows, all the dependent Dynamic Link Libraries (DLLs) are installed by default. The package depends on TREK_LIB environment variable.
To install the TReK Python, locate the .tar.gz below.
For Linux, the Package depends on the following RPMs and depends on the TREKROOT environment variable:
To install the TReK Python, locate the .tar.gz below.
To install the Python Package within your Python environment:
It also requires a newer version of attrs.
Sections