sima-cli 2.1.9__tar.gz → 2.1.11__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (150) hide show
  1. sima_cli-2.1.11/PKG-INFO +237 -0
  2. sima_cli-2.1.11/README.md +203 -0
  3. {sima_cli-2.1.9 → sima_cli-2.1.11}/pyproject.toml +2 -2
  4. {sima_cli-2.1.9 → sima_cli-2.1.11}/setup.cfg +1 -1
  5. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/__version__.py +1 -1
  6. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/app_zoo/commands.py +23 -1
  7. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/auth/auth0.py +2 -2
  8. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/auth/devportal.py +2 -3
  9. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/cli.py +54 -16
  10. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/data/resources_public.yaml +2 -2
  11. sima_cli-2.1.11/sima_cli/install/compatibility.py +161 -0
  12. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/metadata_installer.py +28 -4
  13. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/metadata_validator.py +40 -6
  14. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/package_builder.py +10 -1
  15. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/registry.py +54 -0
  16. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/commands.py +83 -6
  17. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/install.py +128 -11
  18. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/neat.py +34 -3
  19. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/preinstall.py +224 -24
  20. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/utils.py +345 -87
  21. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/elxr.py +7 -2
  22. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/updater.py +12 -2
  23. sima_cli-2.1.11/sima_cli/utils/deprecation.py +8 -0
  24. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/pkg_update_check.py +52 -10
  25. sima_cli-2.1.11/sima_cli.egg-info/PKG-INFO +237 -0
  26. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli.egg-info/SOURCES.txt +7 -1
  27. sima_cli-2.1.11/tests/unit/test_appzoo_commands.py +37 -0
  28. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_auth.py +23 -0
  29. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_auth0.py +5 -0
  30. sima_cli-2.1.11/tests/unit/test_cli_update.py +25 -0
  31. sima_cli-2.1.11/tests/unit/test_cli_update_rerun.py +20 -0
  32. sima_cli-2.1.11/tests/unit/test_deprecation.py +29 -0
  33. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_elxr_update.py +70 -0
  34. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_install_stub.py +81 -2
  35. sima_cli-2.1.11/tests/unit/test_metadata_installer.py +413 -0
  36. sima_cli-2.1.11/tests/unit/test_metadata_validator.py +77 -0
  37. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_package_builder.py +125 -0
  38. sima_cli-2.1.11/tests/unit/test_pkg_update_check.py +189 -0
  39. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_sdk_image_detection.py +654 -36
  40. sima_cli-2.1.11/tests/unit/test_sdk_preinstall.py +216 -0
  41. sima_cli-2.1.9/PKG-INFO +0 -670
  42. sima_cli-2.1.9/README.md +0 -636
  43. sima_cli-2.1.9/sima_cli/auth/oauth.py +0 -203
  44. sima_cli-2.1.9/sima_cli.egg-info/PKG-INFO +0 -670
  45. sima_cli-2.1.9/tests/unit/test_metadata_installer.py +0 -207
  46. sima_cli-2.1.9/tests/unit/test_pkg_update_check.py +0 -107
  47. sima_cli-2.1.9/tests/unit/test_sdk_preinstall.py +0 -73
  48. {sima_cli-2.1.9 → sima_cli-2.1.11}/LICENSE +0 -0
  49. {sima_cli-2.1.9 → sima_cli-2.1.11}/MANIFEST.in +0 -0
  50. {sima_cli-2.1.9 → sima_cli-2.1.11}/requirements.txt +0 -0
  51. {sima_cli-2.1.9 → sima_cli-2.1.11}/setup.py +0 -0
  52. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/__init__.py +0 -0
  53. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/__main__.py +0 -0
  54. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/app_zoo/__init__.py +0 -0
  55. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/app_zoo/app.py +0 -0
  56. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/auth/__init__.py +0 -0
  57. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/auth/login.py +0 -0
  58. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/data/__init__.py +0 -0
  59. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/data/resources_internal.yaml +0 -0
  60. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/deploy_only/__init__.py +0 -0
  61. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/deploy_only/device/__init__.py +0 -0
  62. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/deploy_only/device/commands.py +0 -0
  63. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/deploy_only/mpk/__init__.py +0 -0
  64. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/deploy_only/mpk/commands.py +0 -0
  65. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/discover/__init__.py +0 -0
  66. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/discover/discover.py +0 -0
  67. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/discover/linuxll.py +0 -0
  68. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/download/__init__.py +0 -0
  69. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/download/downloader.py +0 -0
  70. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/__init__.py +0 -0
  71. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/github_assets.py +0 -0
  72. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/hostdriver.py +0 -0
  73. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/metadata_info.py +0 -0
  74. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/optiview.py +0 -0
  75. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/install/palette.py +0 -0
  76. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/mla/__init__.py +0 -0
  77. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/mla/meminfo.py +0 -0
  78. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/model_zoo/__init__.py +0 -0
  79. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/model_zoo/model.py +0 -0
  80. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/network/__init__.py +0 -0
  81. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/network/network.py +0 -0
  82. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/playbooks/__init__.py +0 -0
  83. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/playbooks/commands.py +0 -0
  84. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/playbooks/manager.py +0 -0
  85. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/__init__.py +0 -0
  86. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/cmdexec.py +0 -0
  87. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/config.py +0 -0
  88. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/linux_shared_network.py +0 -0
  89. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/requirements.json +0 -0
  90. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/script.py +0 -0
  91. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/stop.py +0 -0
  92. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/sdk/uninstall.py +0 -0
  93. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/serial/__init__.py +0 -0
  94. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/serial/serial.py +0 -0
  95. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/storage/__init__.py +0 -0
  96. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/storage/nvme.py +0 -0
  97. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/storage/sdcard.py +0 -0
  98. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/__init__.py +0 -0
  99. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/bmaptool.py +0 -0
  100. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/bootimg.py +0 -0
  101. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/cleanlog.py +0 -0
  102. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/local.py +0 -0
  103. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/netboot.py +0 -0
  104. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/query.py +0 -0
  105. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/update/remote.py +0 -0
  106. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/upgrade/__init__.py +0 -0
  107. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/upgrade/selfupdate.py +0 -0
  108. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/__init__.py +0 -0
  109. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/api_common.py +0 -0
  110. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/artifactory.py +0 -0
  111. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/common.py +0 -0
  112. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/config.py +0 -0
  113. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/config_loader.py +0 -0
  114. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/container_registries.py +0 -0
  115. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/device_api.py +0 -0
  116. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/disk.py +0 -0
  117. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/docker.py +0 -0
  118. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/env.py +0 -0
  119. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/errors.py +0 -0
  120. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/mpk_api.py +0 -0
  121. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/net.py +0 -0
  122. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/network.py +0 -0
  123. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/pcie.py +0 -0
  124. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/serializers.py +0 -0
  125. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/services.py +0 -0
  126. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/utils/tag.py +0 -0
  127. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/vulcan/__init__.py +0 -0
  128. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/vulcan/artifacts.py +0 -0
  129. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli/vulcan/commands.py +0 -0
  130. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli.egg-info/dependency_links.txt +0 -0
  131. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli.egg-info/entry_points.txt +0 -0
  132. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli.egg-info/requires.txt +0 -0
  133. {sima_cli-2.1.9 → sima_cli-2.1.11}/sima_cli.egg-info/top_level.txt +0 -0
  134. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/__init__.py +0 -0
  135. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/e2e/__init__.py +0 -0
  136. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/__init__.py +0 -0
  137. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_app_zoo.py +0 -0
  138. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_cli.py +0 -0
  139. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_cli_stdio.py +0 -0
  140. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_docker_utils.py +0 -0
  141. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_download.py +0 -0
  142. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_firmware.py +0 -0
  143. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_model_zoo.py +0 -0
  144. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_netboot.py +0 -0
  145. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_sdk_uninstall.py +0 -0
  146. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_selfupdate.py +0 -0
  147. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_skills_commands.py +0 -0
  148. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_skills_manager.py +0 -0
  149. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_utils.py +0 -0
  150. {sima_cli-2.1.9 → sima_cli-2.1.11}/tests/unit/test_vulcan.py +0 -0
@@ -0,0 +1,237 @@
1
+ Metadata-Version: 2.4
2
+ Name: sima-cli
3
+ Version: 2.1.11
4
+ Summary: CLI tool for SiMa Developer Portal to download models, firmware, and apps.
5
+ Home-page: https://community.sima.ai/
6
+ Author: SiMa.ai
7
+ Author-email: "Sima.ai" <support@sima.ai>
8
+ License: MIT
9
+ Project-URL: Homepage, https://community.sima.ai/
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Operating System :: OS Independent
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Topic :: Software Development :: Build Tools
15
+ Classifier: Environment :: Console
16
+ Requires-Python: >=3.8
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Requires-Dist: click>=8.0
20
+ Requires-Dist: requests<3.0,>=2.32.4
21
+ Requires-Dist: tqdm>=4.64
22
+ Requires-Dist: pyyaml>=6.0
23
+ Requires-Dist: paramiko>=3.5.1
24
+ Requires-Dist: plotext==5.3.2
25
+ Requires-Dist: rich==14.0.0
26
+ Requires-Dist: InquirerPy==0.3.4
27
+ Requires-Dist: tftpy==0.8.6
28
+ Requires-Dist: psutil==7.0.0
29
+ Requires-Dist: huggingface-hub<1.0,>=0.34.0
30
+ Requires-Dist: tabulate==0.9.0
31
+ Dynamic: author
32
+ Dynamic: license-file
33
+ Dynamic: requires-python
34
+
35
+ # sima-cli - SiMa Developer Portal CLI Tool
36
+
37
+ [![Python 3.8](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.8&label=python%203.8)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
38
+ [![Python 3.9](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.9&label=python%203.9)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
39
+ [![Python 3.10](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.10&label=python%203.10)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
40
+ [![Python 3.11](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.11&label=python%203.11)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
41
+ [![Python 3.12](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.12&label=python%203.12)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
42
+ [![Python 3.13](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.13&label=python%203.13)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
43
+ [![Python 3.14](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.14&label=python%203.14)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
44
+ [![E2E macOS](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=E2E%20Install%20(macOS)&label=e2e%20macOS&logo=apple&logoColor=white)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
45
+ [![E2E Windows](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=E2E%20Install%20(Windows)&label=e2e%20Windows&logo=windows&logoColor=white)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
46
+ [![E2E Ubuntu x86](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=E2E%20Install%20(Ubuntu%20x86)&label=e2e%20Ubuntu%20x86&logo=ubuntu&logoColor=white)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
47
+ [![E2E Ubuntu ARM64](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=E2E%20Install%20(Ubuntu%20ARM64)&label=e2e%20Ubuntu%20ARM64&logo=ubuntu&logoColor=white)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
48
+
49
+ `sima-cli` is the command-line interface for SiMa developer workflows. Use it to authenticate, set up SDK containers, update DevKits, install packages, download artifacts, and access Model Zoo and App Zoo content.
50
+
51
+ ## Documentation
52
+
53
+ The full command reference is generated as Markdown under [docs/sima-cli](docs/sima-cli/index.md).
54
+
55
+ Use the generated docs for detailed options, arguments, subcommands, and full help text:
56
+
57
+ - [Complete command reference](docs/sima-cli/index.md)
58
+ - [Top-level command help](docs/sima-cli/commands/sima-cli.md)
59
+
60
+ ## Installation
61
+
62
+ For most users, install the latest official release from the public installer URL for your operating system.
63
+
64
+ ### Linux, macOS, and DevKit
65
+
66
+ Run the installer from a terminal:
67
+
68
+ ```bash
69
+ curl -fsSL https://artifacts.neat.sima.ai/sima-cli/linux-mac.sh | bash
70
+ ```
71
+
72
+ After installation, open a new terminal or reload your shell profile, then verify the install:
73
+
74
+ ```bash
75
+ sima-cli --version
76
+ ```
77
+
78
+ ### Windows PowerShell
79
+
80
+ Download and run the Windows installer from PowerShell:
81
+
82
+ ```powershell
83
+ Invoke-WebRequest https://artifacts.neat.sima.ai/sima-cli/windows.bat -OutFile windows.bat
84
+ .\windows.bat
85
+ ```
86
+
87
+ After installation, open a new Command Prompt or PowerShell window, then verify the install:
88
+
89
+ ```powershell
90
+ sima-cli --version
91
+ ```
92
+
93
+ ### Advanced: choose a branch or release
94
+
95
+ Use `install.py` only when you need to choose a specific tested branch build or release instead of installing the latest official PyPI release.
96
+
97
+ On Linux, macOS, or DevKit:
98
+
99
+ ```bash
100
+ curl -fsSL https://artifacts.neat.sima.ai/sima-cli/install.py -o sima-cli-install.py
101
+ python3 sima-cli-install.py
102
+ ```
103
+
104
+ Install a specific branch or release:
105
+
106
+ ```bash
107
+ python3 sima-cli-install.py feature/my-branch latest
108
+ python3 sima-cli-install.py v2.1.6 latest
109
+ ```
110
+
111
+ On Windows PowerShell:
112
+
113
+ ```powershell
114
+ Invoke-WebRequest https://artifacts.neat.sima.ai/sima-cli/install.py -OutFile sima-cli-install.py
115
+ python .\sima-cli-install.py
116
+ ```
117
+
118
+ To install a specific branch or release:
119
+
120
+ ```powershell
121
+ python .\sima-cli-install.py feature/my-branch latest
122
+ python .\sima-cli-install.py v2.1.6 latest
123
+ ```
124
+
125
+ Release tags such as `v2.1.6` install from public PyPI. Branch names install tested artifacts from `artifacts.neat.sima.ai/sima-cli`.
126
+
127
+ Public PyPI releases can also be installed directly:
128
+
129
+ ```bash
130
+ pip install sima-cli
131
+ ```
132
+
133
+ ## Quick Start
134
+
135
+ ```bash
136
+ sima-cli --help
137
+ sima-cli --version
138
+ sima-cli login
139
+ ```
140
+
141
+ Use `--internal` or `SIMA_CLI_INTERNAL=1` when internal Artifactory resources are required:
142
+
143
+ ```bash
144
+ sima-cli --internal login
145
+ SIMA_CLI_INTERNAL=1 sima-cli install -v 2.1.2 tools/model-compiler/amd64
146
+ ```
147
+
148
+ ## Common Workflows
149
+
150
+ Set up SDK containers:
151
+
152
+ ```bash
153
+ sima-cli sdk setup
154
+ sima-cli sdk neat
155
+ ```
156
+
157
+ Install Model Compiler from package metadata:
158
+
159
+ ```bash
160
+ # amd64 host
161
+ sima-cli install -v 2.1.2 tools/model-compiler/amd64
162
+ # arm64 host
163
+ sima-cli install -v 2.1.2 tools/model-compiler/arm64
164
+ ```
165
+
166
+ Download or install Neat artifacts:
167
+
168
+ ```bash
169
+ sima-cli neat download core main
170
+ sima-cli install --neat core main
171
+ ```
172
+
173
+ Update a DevKit:
174
+
175
+ ```bash
176
+ sima-cli update -v 2.1.1 -y
177
+ ```
178
+
179
+ Explore Model Zoo and App Zoo content:
180
+
181
+ ```bash
182
+ sima-cli modelzoo list
183
+ sima-cli appzoo list
184
+ ```
185
+
186
+ ## Top-Level Commands
187
+
188
+ | Command | Description | Docs |
189
+ | --- | --- | --- |
190
+ | `sima-cli appzoo` | Access sample apps from the App Zoo. | [docs](docs/sima-cli/commands/sima-cli-appzoo.md) |
191
+ | `sima-cli bootimg` | Prepare a bootable image for the SiMa DevKit. | [docs](docs/sima-cli/commands/sima-cli-bootimg.md) |
192
+ | `sima-cli device` | Discover nearby SiMa.ai devices on the local network. | [docs](docs/sima-cli/commands/sima-cli-device.md) |
193
+ | `sima-cli download` | Download a file or folder from a URL. | [docs](docs/sima-cli/commands/sima-cli-download.md) |
194
+ | `sima-cli install` | Install SiMa packages from metadata. | [docs](docs/sima-cli/commands/sima-cli-install.md) |
195
+ | `sima-cli login` | Authenticate with the SiMa Developer Portal. | [docs](docs/sima-cli/commands/sima-cli-login.md) |
196
+ | `sima-cli logout` | Remove cached credentials and config files. | [docs](docs/sima-cli/commands/sima-cli-logout.md) |
197
+ | `sima-cli mla` | Machine Learning Accelerator utilities. | [docs](docs/sima-cli/commands/sima-cli-mla.md) |
198
+ | `sima-cli modelzoo` | Access models from the Model Zoo. | [docs](docs/sima-cli/commands/sima-cli-modelzoo.md) |
199
+ | `sima-cli neat` | Discover, download, and install Neat build artifacts. | [docs](docs/sima-cli/commands/sima-cli-neat.md) |
200
+ | `sima-cli network` | Configure DevKit network settings. | [docs](docs/sima-cli/commands/sima-cli-network.md) |
201
+ | `sima-cli nvme` | Perform NVMe operations on the Modalix DevKit. | [docs](docs/sima-cli/commands/sima-cli-nvme.md) |
202
+ | `sima-cli packages` | Manage the local sima-cli package registry. | [docs](docs/sima-cli/commands/sima-cli-packages.md) |
203
+ | `sima-cli playbooks` | Install and manage coding-agent playbooks. | [docs](docs/sima-cli/commands/sima-cli-playbooks.md) |
204
+ | `sima-cli sdcard` | Prepare SD card storage. | [docs](docs/sima-cli/commands/sima-cli-sdcard.md) |
205
+ | `sima-cli sdk` | Manage and launch SDK container environments. | [docs](docs/sima-cli/commands/sima-cli-sdk.md) |
206
+ | `sima-cli selfupdate` | Update sima-cli manually. | [docs](docs/sima-cli/commands/sima-cli-selfupdate.md) |
207
+ | `sima-cli serial` | Connect to the UART serial console of a DevKit. | [docs](docs/sima-cli/commands/sima-cli-serial.md) |
208
+ | `sima-cli update` | Update a SiMa DevKit or remote device. | [docs](docs/sima-cli/commands/sima-cli-update.md) |
209
+
210
+ ## Development
211
+
212
+ Install development dependencies and run tests:
213
+
214
+ ```bash
215
+ pip install -e ".[dev]"
216
+ python -m pytest tests/unit
217
+ ```
218
+
219
+ Regenerate CLI documentation:
220
+
221
+ ```bash
222
+ python scripts/generate_cli_markdown_docs.py
223
+ ```
224
+
225
+ `build.sh` also regenerates the command docs before building the package.
226
+
227
+ ## Requirements
228
+
229
+ - Python 3.8 or newer
230
+ - Docker for SDK container workflows
231
+ - DevKit connectivity for device update, serial, network, and boot-image workflows
232
+
233
+ For command-specific prerequisites, see the generated [command reference](docs/sima-cli/index.md).
234
+
235
+ ## Support
236
+
237
+ For issues and feature requests, use the sima-cli GitHub repository or contact the SiMa.ai development team.
@@ -0,0 +1,203 @@
1
+ # sima-cli - SiMa Developer Portal CLI Tool
2
+
3
+ [![Python 3.8](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.8&label=python%203.8)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
4
+ [![Python 3.9](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.9&label=python%203.9)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
5
+ [![Python 3.10](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.10&label=python%203.10)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
6
+ [![Python 3.11](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.11&label=python%203.11)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
7
+ [![Python 3.12](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.12&label=python%203.12)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
8
+ [![Python 3.13](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.13&label=python%203.13)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
9
+ [![Python 3.14](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=Compatibility%20Python%203.14&label=python%203.14)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
10
+ [![E2E macOS](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=E2E%20Install%20(macOS)&label=e2e%20macOS&logo=apple&logoColor=white)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
11
+ [![E2E Windows](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=E2E%20Install%20(Windows)&label=e2e%20Windows&logo=windows&logoColor=white)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
12
+ [![E2E Ubuntu x86](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=E2E%20Install%20(Ubuntu%20x86)&label=e2e%20Ubuntu%20x86&logo=ubuntu&logoColor=white)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
13
+ [![E2E Ubuntu ARM64](https://img.shields.io/github/actions/workflow/status/sima-neat/sima-cli/vulcan-ci.yml?branch=main&job=E2E%20Install%20(Ubuntu%20ARM64)&label=e2e%20Ubuntu%20ARM64&logo=ubuntu&logoColor=white)](https://github.com/sima-neat/sima-cli/actions/workflows/vulcan-ci.yml)
14
+
15
+ `sima-cli` is the command-line interface for SiMa developer workflows. Use it to authenticate, set up SDK containers, update DevKits, install packages, download artifacts, and access Model Zoo and App Zoo content.
16
+
17
+ ## Documentation
18
+
19
+ The full command reference is generated as Markdown under [docs/sima-cli](docs/sima-cli/index.md).
20
+
21
+ Use the generated docs for detailed options, arguments, subcommands, and full help text:
22
+
23
+ - [Complete command reference](docs/sima-cli/index.md)
24
+ - [Top-level command help](docs/sima-cli/commands/sima-cli.md)
25
+
26
+ ## Installation
27
+
28
+ For most users, install the latest official release from the public installer URL for your operating system.
29
+
30
+ ### Linux, macOS, and DevKit
31
+
32
+ Run the installer from a terminal:
33
+
34
+ ```bash
35
+ curl -fsSL https://artifacts.neat.sima.ai/sima-cli/linux-mac.sh | bash
36
+ ```
37
+
38
+ After installation, open a new terminal or reload your shell profile, then verify the install:
39
+
40
+ ```bash
41
+ sima-cli --version
42
+ ```
43
+
44
+ ### Windows PowerShell
45
+
46
+ Download and run the Windows installer from PowerShell:
47
+
48
+ ```powershell
49
+ Invoke-WebRequest https://artifacts.neat.sima.ai/sima-cli/windows.bat -OutFile windows.bat
50
+ .\windows.bat
51
+ ```
52
+
53
+ After installation, open a new Command Prompt or PowerShell window, then verify the install:
54
+
55
+ ```powershell
56
+ sima-cli --version
57
+ ```
58
+
59
+ ### Advanced: choose a branch or release
60
+
61
+ Use `install.py` only when you need to choose a specific tested branch build or release instead of installing the latest official PyPI release.
62
+
63
+ On Linux, macOS, or DevKit:
64
+
65
+ ```bash
66
+ curl -fsSL https://artifacts.neat.sima.ai/sima-cli/install.py -o sima-cli-install.py
67
+ python3 sima-cli-install.py
68
+ ```
69
+
70
+ Install a specific branch or release:
71
+
72
+ ```bash
73
+ python3 sima-cli-install.py feature/my-branch latest
74
+ python3 sima-cli-install.py v2.1.6 latest
75
+ ```
76
+
77
+ On Windows PowerShell:
78
+
79
+ ```powershell
80
+ Invoke-WebRequest https://artifacts.neat.sima.ai/sima-cli/install.py -OutFile sima-cli-install.py
81
+ python .\sima-cli-install.py
82
+ ```
83
+
84
+ To install a specific branch or release:
85
+
86
+ ```powershell
87
+ python .\sima-cli-install.py feature/my-branch latest
88
+ python .\sima-cli-install.py v2.1.6 latest
89
+ ```
90
+
91
+ Release tags such as `v2.1.6` install from public PyPI. Branch names install tested artifacts from `artifacts.neat.sima.ai/sima-cli`.
92
+
93
+ Public PyPI releases can also be installed directly:
94
+
95
+ ```bash
96
+ pip install sima-cli
97
+ ```
98
+
99
+ ## Quick Start
100
+
101
+ ```bash
102
+ sima-cli --help
103
+ sima-cli --version
104
+ sima-cli login
105
+ ```
106
+
107
+ Use `--internal` or `SIMA_CLI_INTERNAL=1` when internal Artifactory resources are required:
108
+
109
+ ```bash
110
+ sima-cli --internal login
111
+ SIMA_CLI_INTERNAL=1 sima-cli install -v 2.1.2 tools/model-compiler/amd64
112
+ ```
113
+
114
+ ## Common Workflows
115
+
116
+ Set up SDK containers:
117
+
118
+ ```bash
119
+ sima-cli sdk setup
120
+ sima-cli sdk neat
121
+ ```
122
+
123
+ Install Model Compiler from package metadata:
124
+
125
+ ```bash
126
+ # amd64 host
127
+ sima-cli install -v 2.1.2 tools/model-compiler/amd64
128
+ # arm64 host
129
+ sima-cli install -v 2.1.2 tools/model-compiler/arm64
130
+ ```
131
+
132
+ Download or install Neat artifacts:
133
+
134
+ ```bash
135
+ sima-cli neat download core main
136
+ sima-cli install --neat core main
137
+ ```
138
+
139
+ Update a DevKit:
140
+
141
+ ```bash
142
+ sima-cli update -v 2.1.1 -y
143
+ ```
144
+
145
+ Explore Model Zoo and App Zoo content:
146
+
147
+ ```bash
148
+ sima-cli modelzoo list
149
+ sima-cli appzoo list
150
+ ```
151
+
152
+ ## Top-Level Commands
153
+
154
+ | Command | Description | Docs |
155
+ | --- | --- | --- |
156
+ | `sima-cli appzoo` | Access sample apps from the App Zoo. | [docs](docs/sima-cli/commands/sima-cli-appzoo.md) |
157
+ | `sima-cli bootimg` | Prepare a bootable image for the SiMa DevKit. | [docs](docs/sima-cli/commands/sima-cli-bootimg.md) |
158
+ | `sima-cli device` | Discover nearby SiMa.ai devices on the local network. | [docs](docs/sima-cli/commands/sima-cli-device.md) |
159
+ | `sima-cli download` | Download a file or folder from a URL. | [docs](docs/sima-cli/commands/sima-cli-download.md) |
160
+ | `sima-cli install` | Install SiMa packages from metadata. | [docs](docs/sima-cli/commands/sima-cli-install.md) |
161
+ | `sima-cli login` | Authenticate with the SiMa Developer Portal. | [docs](docs/sima-cli/commands/sima-cli-login.md) |
162
+ | `sima-cli logout` | Remove cached credentials and config files. | [docs](docs/sima-cli/commands/sima-cli-logout.md) |
163
+ | `sima-cli mla` | Machine Learning Accelerator utilities. | [docs](docs/sima-cli/commands/sima-cli-mla.md) |
164
+ | `sima-cli modelzoo` | Access models from the Model Zoo. | [docs](docs/sima-cli/commands/sima-cli-modelzoo.md) |
165
+ | `sima-cli neat` | Discover, download, and install Neat build artifacts. | [docs](docs/sima-cli/commands/sima-cli-neat.md) |
166
+ | `sima-cli network` | Configure DevKit network settings. | [docs](docs/sima-cli/commands/sima-cli-network.md) |
167
+ | `sima-cli nvme` | Perform NVMe operations on the Modalix DevKit. | [docs](docs/sima-cli/commands/sima-cli-nvme.md) |
168
+ | `sima-cli packages` | Manage the local sima-cli package registry. | [docs](docs/sima-cli/commands/sima-cli-packages.md) |
169
+ | `sima-cli playbooks` | Install and manage coding-agent playbooks. | [docs](docs/sima-cli/commands/sima-cli-playbooks.md) |
170
+ | `sima-cli sdcard` | Prepare SD card storage. | [docs](docs/sima-cli/commands/sima-cli-sdcard.md) |
171
+ | `sima-cli sdk` | Manage and launch SDK container environments. | [docs](docs/sima-cli/commands/sima-cli-sdk.md) |
172
+ | `sima-cli selfupdate` | Update sima-cli manually. | [docs](docs/sima-cli/commands/sima-cli-selfupdate.md) |
173
+ | `sima-cli serial` | Connect to the UART serial console of a DevKit. | [docs](docs/sima-cli/commands/sima-cli-serial.md) |
174
+ | `sima-cli update` | Update a SiMa DevKit or remote device. | [docs](docs/sima-cli/commands/sima-cli-update.md) |
175
+
176
+ ## Development
177
+
178
+ Install development dependencies and run tests:
179
+
180
+ ```bash
181
+ pip install -e ".[dev]"
182
+ python -m pytest tests/unit
183
+ ```
184
+
185
+ Regenerate CLI documentation:
186
+
187
+ ```bash
188
+ python scripts/generate_cli_markdown_docs.py
189
+ ```
190
+
191
+ `build.sh` also regenerates the command docs before building the package.
192
+
193
+ ## Requirements
194
+
195
+ - Python 3.8 or newer
196
+ - Docker for SDK container workflows
197
+ - DevKit connectivity for device update, serial, network, and boot-image workflows
198
+
199
+ For command-specific prerequisites, see the generated [command reference](docs/sima-cli/index.md).
200
+
201
+ ## Support
202
+
203
+ For issues and feature requests, use the sima-cli GitHub repository or contact the SiMa.ai development team.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "sima-cli"
7
- version = "2.1.9"
7
+ version = "2.1.11"
8
8
  description = "CLI tool for SiMa Developer Portal to download models, firmware, and apps."
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -37,7 +37,7 @@ dependencies = [
37
37
  ]
38
38
 
39
39
  [project.urls]
40
- Homepage = "https://developer.sima.ai/"
40
+ Homepage = "https://community.sima.ai/"
41
41
 
42
42
  [project.scripts]
43
43
  sima-cli = "sima_cli.cli:main"
@@ -5,7 +5,7 @@ author_email = support@sima.ai
5
5
  description = CLI tool for SiMa Developer Portal to download models, firmware, and apps.
6
6
  long_description = file: README.md
7
7
  long_description_content_type = text/markdown
8
- url = https://developer.sima.ai/
8
+ url = https://community.sima.ai/
9
9
  license = MIT
10
10
  classifiers =
11
11
  Programming Language :: Python :: 3
@@ -1,2 +1,2 @@
1
1
  # sima_cli/__version__.py
2
- __version__ = "2.1.9"
2
+ __version__ = "2.1.11"
@@ -1,9 +1,31 @@
1
1
 
2
2
  import click
3
+ from rich.console import Console
4
+ from rich.panel import Panel
3
5
 
4
6
  from sima_cli.app_zoo.app import list_apps, download_app, describe_app, clone_apps
7
+ from sima_cli.utils.deprecation import should_show_post_neat_ga_deprecation_notice
5
8
  from sima_cli.utils.tag import resolve_version
6
9
 
10
+ console = Console()
11
+
12
+
13
+ def show_appzoo_deprecation_notice() -> None:
14
+ if not should_show_post_neat_ga_deprecation_notice():
15
+ return
16
+
17
+ console.print(
18
+ Panel(
19
+ "[yellow]App Zoo is compatible with legacy Palette SDKs and will be deprecated soon.[/yellow]\n\n"
20
+ "Use https://developer.sima.ai/examples to access current example applications.",
21
+ title="App Zoo Deprecation Notice",
22
+ border_style="yellow",
23
+ style="yellow",
24
+ expand=False,
25
+ )
26
+ )
27
+
28
+
7
29
  @click.group()
8
30
  @click.option(
9
31
  "-v", "--ver", "--version",
@@ -15,6 +37,7 @@ from sima_cli.utils.tag import resolve_version
15
37
  def appzoo(ctx, ver):
16
38
  """Access sample apps from the App Zoo."""
17
39
  ctx.ensure_object(dict)
40
+ show_appzoo_deprecation_notice()
18
41
  internal = ctx.obj.get("internal", False)
19
42
  if not internal:
20
43
  ver = resolve_version(ver)
@@ -71,4 +94,3 @@ def register_appzoo_commands(main):
71
94
  register_appzoo_commands(main)
72
95
  """
73
96
  main.add_command(appzoo)
74
-
@@ -32,8 +32,8 @@ USERINFO_AUDIENCE = PROD_USERINFO_AUDIENCE
32
32
  LATEST_EULA_GRANT = "LatestEULA"
33
33
  DOC_ACCESS_GRANT = "DocsAccess"
34
34
  DOC_ACCESS_GRANT_ALIASES = (DOC_ACCESS_GRANT, "DocAccess")
35
- PROD_DISCOURSE_URL = "https://developer.sima.ai/login"
36
- STAGING_DISCOURSE_URL = "https://discourse-dev.sima.ai/login"
35
+ PROD_DISCOURSE_URL = "https://community.sima.ai/login"
36
+ STAGING_DISCOURSE_URL = "https://community-dev.sima.ai/login"
37
37
 
38
38
  # ─────────────────────────────────────────────
39
39
  # Configuration loader
@@ -40,15 +40,14 @@ HOST_DOCKER_CONTEXTS_DIR = os.path.join(os.path.expanduser("~"), ".docker", "con
40
40
  # Detect staging or production environment
41
41
  is_staging = False
42
42
  if os.getenv("USE_STAGING_DEV_PORTAL", "false").lower() in ("1", "true", "yes"):
43
- DEV_PORTAL = "https://discourse-dev.sima.ai"
43
+ DEV_PORTAL = "https://community-dev.sima.ai"
44
44
  DOCS_PORTAL = "https://docs-dev.sima.ai"
45
45
  is_staging = True
46
46
  else:
47
- DEV_PORTAL = "https://developer.sima.ai"
47
+ DEV_PORTAL = "https://community.sima.ai"
48
48
  DOCS_PORTAL = "https://docs.sima.ai"
49
49
 
50
50
  # Derived endpoints
51
- LOGIN_URL = f"{DEV_PORTAL}/session"
52
51
  DEV_PORTAL_LOGIN_URL = f"{DEV_PORTAL}/login"
53
52
  DUMMY_CHECK_URL = f"{DOCS_PORTAL}/pkg_downloads/validation"
54
53
  ACCESS_REQUEST_FORM_URL = "https://www2.sima.ai/l/1041271/2025-05-05/37bndg"