Skip to main content

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 via SIMA_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 of davinci, 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 --internal features

📞 Support

Please reach out to SiMa Support (support@sima.ai) if you encounter issues with downloads or updates.


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 Distribution

If you're not sure about the file name format, learn more about wheel file names.

sima_cli-0.0.18-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

Details for the file sima_cli-0.0.18-py3-none-any.whl.

File metadata

  • Download URL: sima_cli-0.0.18-py3-none-any.whl
  • Upload date:
  • Size: 37.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.5

File hashes

Hashes for sima_cli-0.0.18-py3-none-any.whl
Algorithm Hash digest
SHA256 7b1e5ea51b145319a43f9f30731935fa362b9a5aa9e137716dfd2b5bcddedbff
MD5 a711b9f0279fa6a7e53fea62294a7a94
BLAKE2b-256 a98bbe801ba4f3491285c90acc3985328047a31abc44390f25074cac9b5cbfea

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page