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.11.tar.gz (23.5 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.11-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for sima_cli-0.0.11.tar.gz
Algorithm Hash digest
SHA256 264fce421d8a6b21b2433d0c4b74e875cfce705386e4ba9a33e62185e2e7f1d0
MD5 afff9edc5d1dfcf4ad610b7a395e202e
BLAKE2b-256 6665455e7a130f9832571772e6c6ac6875871e631c07f34eff0dd80edb52c055

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for sima_cli-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a550681088cb8b87c563e8f465b6bf84de329341be925bde48c783fdfc635596
MD5 213f0c427c199dcaa2408f6efe876a91
BLAKE2b-256 191bb022ed28c373a65df9f588cb5c9694df107a73ac3ad82aa49a5d7cba2642

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