CLI tool for SiMa Developer Portal to download models, firmware, and apps.
Project description
🛠️ sima-cli – SiMa Developer Portal CLI Tool
sima-cli is a command-line interface (CLI) utility designed to interact with the SiMa Developer Portal. It supports downloading models and apps from the Model/App Zoo, performing firmware updates, and authenticating against internal or external environments.
📦 Installation
pip install sima-cli
🚀 Getting Started
sima-cli --help
Global Option
--internal: Use internal Artifactory resources (can also be set viaSIMA_CLI_INTERNAL=1).
Environment detection output will appear like:
🔧 Environment: dev (sandbox) | Internal: True
If external mode is detected and not supported:
external environment is not supported yet..
🔐 Authentication
sima-cli login
Authenticates with the SiMa Developer Portal. Internal or external login is selected based on context.
📥 Download Resources
sima-cli download <URL> [-d DEST]
- Downloads a single file or an entire folder from the provided URL.
- Options:
-d,--dest: Destination folder (default is current directory).
🔧 Firmware Update
sima-cli update <version_or_url> [--ip IP] [--board BOARD] [--passwd PASSWORD]
- Updates firmware either locally or over the network.
- Positional:
<version_or_url>: Version string (e.g.1.5.0) or direct URL.
- Options:
--ip: IP address of remote device (for network update).--board: Board type, one ofdavinci,modalix(default:davinci).--passwd: SSH password for remote board (default:edgeai).
🧠 Model Zoo
List Models
sima-cli model-zoo list [--ver VERSION]
- Lists available models for a given SDK version.
Get Model
sima-cli model-zoo get <MODEL_NAME> [--ver VERSION]
- Downloads the specified model.
📱 App Zoo
List Apps
sima-cli app-zoo list [--ver VERSION]
- Lists available apps for a given SDK version.
Get App
sima-cli app-zoo get <APP_NAME> [--ver VERSION]
- Downloads the specified app.
🌍 Environment Variable Support
Instead of using --internal flag every time, you can set:
export SIMA_CLI_INTERNAL=1
🧪 Examples
Authenticate Internally
sima-cli --internal login
Firmware Update on Davinci (MLSOC Gen 1) Board
sima-cli update 1.6.0_master_B1611 --ip 192.168.1.20
🧩 Requirements
- Python 3.8+
- Internal network access if using
--internalfeatures
📞 Support
Please reach out to SiMa Support (support@sima.ai) if you encounter issues with downloads or updates.
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 Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sima_cli-0.0.29-py3-none-any.whl.
File metadata
- Download URL: sima_cli-0.0.29-py3-none-any.whl
- Upload date:
- Size: 79.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
865bad69059b8d3cc734702326bfa58a74b357bf2e546e9ab8863b1d465c79d2
|
|
| MD5 |
68f141965a5a3f3342007841751ec087
|
|
| BLAKE2b-256 |
b9b2236c6009ee40a05f52ad375f3c4877bf96201295eaa969185ed23eb83581
|