Eros CLI Interface
This is a terminal based interface to interact with eros. Its built ontop eros-core-python.
Recommended installation
Step 1: Install the Package with PIP
Install the package using pip. Run the command:
pip install git+https://github.com/Florioo/eros-cli-python
This method of installation and the function of the installation in the following action:
Step 2: Verify Installation
After installation, you can verify if Eros was installed correctly. Run the command:
eros --help
If the installation was successful, this command should show the help menu
If the above failed, ther might be something wrong with your python path (or with the package installation), try the following as a workaround:
python -m eros_cli.entrypoint --help
Installation from source
Follow the steps below to install Eros-View:
Step 1: Clone the Repository
Clone the repository to your local machine. Use the command below:
git clone git@github.com:Florioo/eros-cli-python.git
Step 2: Navigate to the Directory
Navigate to the cloned repository's directory using the command:
cd eros-cli-python
Step 3: Install the Package
Install the package using pip. Run the command:
pip install .
Step 4: Verify Installation
After installation, you can verify if Eros-View was installed correctly. Run the command:
eros --help
If the installation was successful, this command should show the help menu of Eros-View.
Usage
To start an application we need to use the following commands
eros [OPTIONS] <transport [OPTIONS]> <application1 [OPTIONS]> <application2 [OPTIONS]...>
EROS arguments
Optional Arguments:
--debug: Is flag set, eros cli will be launced in debug mode
Transport
Here the transport is configured
UART
To select UART, use the uart option, the following arguments can be provided
uart --port [PORT] --baud [BAUD_RATE] --vid [VENDOR_ID]
Optional Arguments:
[PORT]: Port for UART communication (default is "auto", this will auto select uart based on vendor id)[BAUD_RATE]: Baud rate for UART communication (default is 2000000)[VENDOR_ID]: Vendor ID for automatic serial port detection (default is 4292)
TCP/UDP
To select TCP or UDP, use the tcp or udp option, the following arguments can be provided
tcp --ip [IP_ADDRESS] --port [PORT]
udp --ip [IP_ADDRESS] --port [PORT]
Optional Arguments:
[IP_ADDRESS]: IP address (default is "192.168.0.1")[PORT]: Port (default is 6767)
Application
The final argument are the applications, these specify what to do with the output. Multiple applications can also be specified in the command by chaining them.
To get the arguments fot a specifc application, type help after it
For example:
eros uart log --help
Usage: eros uart log [OPTIONS]
Log the data of a specific channel
Options:
--channel INTEGER Channel to monitor
-f, --log_failed also log failed packets (which could not be decoded)
--help Show this message and exit.
log
This is one of the basic applications which provides textual logs
dump
This will dump all the data received from eros
cli
This provides a interactive CLI to the device.
Note: the device needs repl-CLI enabled for this to work
m-cli
This provides a semi-interactive CLI to the device.
This can be used to test the machine cli
Note: the device needs machine-CLI enabled for this to work
perf
This is an utility to monitor the troughput eros
is a great combination with zmq:
For example:
eros uart zmq perf
zmq
This exposes eros over zmq, making it accesible for multiple programs
Metadata
Release files for eros-cli 1.0.4
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 |
|---|---|---|---|---|
| eros_cli-1.0.4.tar.gz | 14.2 kB | Without provenance | Details for eros_cli-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| eros_cli-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for eros_cli-1.0.4-py3-none-any.whl |
Total release size: 32.1 kB
Release files / eros_cli-1.0.4.tar.gz
| Download URL | eros_cli-1.0.4.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3a3976726ee8bf050996abac316eb761f2cf03c3ad7f8540db4014de180d9b95
|
|
BLAKE2b-256 checksum How to use checksums |
e0d1f425cfaa754b09a99178a4f30f193b15ba8d0dd796c4af5fefb7123cf4fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|
Release files / eros_cli-1.0.4-py3-none-any.whl
| Download URL | eros_cli-1.0.4-py3-none-any.whl |
|---|---|
| Size | 17.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e3a27de8528c381d6fc997fc1355da2e9b00584bc85063ee01769020fb2d3ab2
|
|
BLAKE2b-256 checksum How to use checksums |
d4807560bc490caa232e16083eb3d3d53699f7ee61303035ac5301d752ea567b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.24.1
|
Security for eros-cli 1.0.4
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.