A CLI wrapper for management of Intel® Edge Software Hub packages.
Project description
Command Line Interface for Intel® Edgesoftware
edgesoftware is a command line interface wrapper (CLI) that helps you manage Intel® Edge Software Hub packages. With these pretested and pre-validated packages you can create reliable, scalable AI applications for the edge.
Installation
Requirements
-
Minimum Python* version: 3.6
-
To install the software package, you will need an XML configuration file (edgesoftware_configuration.xml) along with the CLI. There is a dedicated XML configuration file for each software package (for example, Edge Insights for Vision) which you can find on Intel® Edge Software Hub.
System Requirements
The table below lists supported operating systems and Python versions required to run the installation.
Supported Operating System | Python* Version (64-bit) |
---|---|
Ubuntu* 18.04 long-term support (LTS), 64-bit | 3.6 |
Ubuntu* 20.04 long-term support (LTS), 64-bit | 3.8 |
Red Hat* Enterprise Linux* 8, 64-bit | 3.6 |
CentOS* 7, 64-bit | 3.6 |
NOTE: This package can be installed on other versions of Linux, but only the specific versions above are fully validated.
Install edgesoftware CLI
Step 1: Install and update PIP to the highest version
To install pip in Ubuntu 18.04 and Ubuntu 20.04,
sudo apt install python3-pip
To install pip in CentOS 7 and RHEL 8:
sudo yum install python3-pip
Run the command below to upgrade pip to the latest version:
python3 -m pip install --upgrade pip
Step 2. Install the package
Run the command below:
python3 -m pip install edgesoftware --user
Step 3. If needed, launch a new terminal and verify that package is installed
Run the command below:
edgesoftware -v
You will not see any error messages if installation finished successfully.
Using the edgesoftware CLI
Learn all of the commands available with edgesoftware CLI
Run the command below:
edgesoftware
Response:
Usage: edgesoftware [OPTIONS] COMMAND [ARGS]...
A CLI wrapper for management of Intel® Edge Software Hub packages.
Options:
options description -v, --version Show the version and exit. --help Show this message and exit
Commands:
commands description docker Pull docker images download Download modules/artifacts of a package. export Export modules installed as part of a package. helm Download Helm charts or update Kubernetes secret keys. install Install modules of a package. list List the modules of a package. log Show log of CLI events. uninstall Uninstall the modules of a package. update Update the modules of a package. upgrade Upgrade a package.
Learn more about a command
Run the command below:
edgesoftware <command> --help
Example:
edgesoftware list --help
Response:
Usage: edgesoftware list [OPTIONS]
List the modules of a package.
Options:
options description -v, --version Lists available packages. -j, --json Return output in json format. -d, --default Lists the default modules of a package --help Show this message and exit
Troubleshooting
Error: edgesoftware command may not respond after installation.
To mitigate this issue, close the current terminal and open a new terminal. The command should work in the newer terminal.
Error: python3 -m pip install edgesoftware may fail due to failed installation of cryptography package.
To resolve this issue, upgrade pip to latest version using python3 -m pip install --upgrade pip and then retry the installation.
Error: edgesoftware install command may fail first time giving error - missing esb_common.
To resolve this issue, try edgesoftware install command once again. This time you should be able to install the modules.
Additional Resources
Refer to Introduction to the Edge Software Hub CLI for more information on CLI commands.
License
All edgesoftware wheels on PyPI are distributed under LIMITED TOOLS LICENSE AGREEMENT.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Hashes for edgesoftware-1.0.1-cp39-cp39-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ade838c1b93670020495a02c63e8e6a5ca98841809e895b5932f86a8ea0e7a0b |
|
MD5 | f7a36395e0adcb5da93dc394f5990fc9 |
|
BLAKE2b-256 | b373e8d142dec91ff16b9fd5b862305e68c580bcb4d01f2f1553bd1fdb13fe52 |
Hashes for edgesoftware-1.0.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 57f2e5517aff15a8658937aad83ebada9c5b32e5c37e3f1458a7109f2fb97944 |
|
MD5 | 6023e6ceb112d137a9eb8f5ed839f980 |
|
BLAKE2b-256 | d23c81e4d2bbdfe5a22008057caf15ac7c96d73eed34560145bfe13055441080 |
Hashes for edgesoftware-1.0.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03aa08559cbf613570286a128c8cf66ac73e7e5df477b7adf5a630e86d677a03 |
|
MD5 | 75ff4032e4b7903ecbd8629d3ee3262f |
|
BLAKE2b-256 | 932f9f67c17f0ef618cd02da17fda47221b97fa3931de1457d1f6ef5439e8a72 |
Hashes for edgesoftware-1.0.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9aa8a5cb129159deecda53827c0e9a12c855dd0e18fc3c417c4a1304b9856472 |
|
MD5 | 1656514fae22b831bf669a87dde66139 |
|
BLAKE2b-256 | 7f46161f7be1351f08cb6da3d2ba7b613f7cf8a2bb9b609b87e542d59d1c09b2 |