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.13.tar.gz (23.7 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.13-py3-none-any.whl (28.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sima_cli-0.0.13.tar.gz
  • Upload date:
  • Size: 23.7 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.13.tar.gz
Algorithm Hash digest
SHA256 8d242c3f083b16d4a7679b7cab63235be7cbd1d24230bb039ffb6a6419a61d2c
MD5 59714900bde30e07ba605f5c23cd191c
BLAKE2b-256 9e0012683796f10c48383b9a6c658c3cd60ab8e99aa4704830b34d43b970c2e6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sima_cli-0.0.13-py3-none-any.whl
  • Upload date:
  • Size: 28.2 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.13-py3-none-any.whl
Algorithm Hash digest
SHA256 a838492d2d566c5c6ed364643bc9a641ab41d4b7399136928faf5a5dc2c30fe7
MD5 f65c673a4b3d4bbac2938f20d4bcdeac
BLAKE2b-256 53e5c87e636bc0e90c66b37d4cc6abb8c0b190d3c44378925272c8d0ef1f8edf

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