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 Distribution

sima_cli-0.0.14.tar.gz (26.1 kB view details)

Uploaded Source

Built Distribution

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

sima_cli-0.0.14-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file sima_cli-0.0.14.tar.gz.

File metadata

  • Download URL: sima_cli-0.0.14.tar.gz
  • Upload date:
  • Size: 26.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.3

File hashes

Hashes for sima_cli-0.0.14.tar.gz
Algorithm Hash digest
SHA256 37001027c1e72860e88b083f9a2cd60db1fae3337663d0862dfebfd98f0d1772
MD5 230a4f2f3208de98cb630c43cdc3c4f5
BLAKE2b-256 9ab1f53d9403596c3190e2f2db367cde6a54ed0ca9a36710c3c75880f89e1cd7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sima_cli-0.0.14-py3-none-any.whl
Algorithm Hash digest
SHA256 5dc3459f98b666e22c1afab9d3e78a444021b55ddcdd97762cd65515afb4a3a2
MD5 31b62da8b9d66398cd6737eb15ae319d
BLAKE2b-256 93db6b4dd8076133681bdfb1fc51156659546e6d02d751caa3b547ab7f686f9b

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