holoscan-cli 3.3.0__py3-none-any.whl → 3.4.0__py3-none-any.whl

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.

Potentially problematic release.


This version of holoscan-cli might be problematic. Click here for more details.

@@ -138,7 +138,7 @@ def detect_holoscan_version(sdk_version: Optional[Version] = None) -> str:
138
138
  return sdk_version.base_version
139
139
  else:
140
140
  try:
141
- ver_str = importlib.metadata.version("holoscan-cli").title()
141
+ ver_str = importlib.metadata.version("holoscan").title()
142
142
  ver = Version(ver_str)
143
143
  ver_str = ".".join(str(i) for i in ver.release)
144
144
 
@@ -193,3 +193,17 @@ def detect_monaideploy_version(sdk_version: Optional[Version] = None) -> str:
193
193
  raise FailedToDetectSDKVersionError(
194
194
  "Failed to detect installed MONAI Deploy App SDK PyPI version.", ex
195
195
  ) from ex
196
+
197
+
198
+ def detect_holoscan_cli_version() -> str:
199
+ """
200
+ Detects Holoscan CLI version to use based on installed PyPI package.
201
+ """
202
+ try:
203
+ ver_str = importlib.metadata.version("holoscan-cli").title()
204
+ ver = Version(ver_str)
205
+ return ver.base_version
206
+ except Exception as ex:
207
+ raise FailedToDetectSDKVersionError(
208
+ "Failed to detect installed Holoscan CLI PyPI version.", ex
209
+ ) from ex
@@ -20,6 +20,7 @@ from argparse import Namespace
20
20
  from ..common.enum_types import SdkType
21
21
  from ..common.sdk_utils import (
22
22
  detect_holoscan_version,
23
+ detect_holoscan_cli_version,
23
24
  detect_monaideploy_version,
24
25
  detect_sdk,
25
26
  )
@@ -40,6 +41,12 @@ def execute_version_command(args: Namespace):
40
41
  except Exception:
41
42
  print("Holoscan SDK: N/A")
42
43
 
44
+ try:
45
+ cli_version = detect_holoscan_cli_version()
46
+ print(f"Holoscan CLI: {cli_version}")
47
+ except Exception:
48
+ print("Holoscan CLI: N/A")
49
+
43
50
  if sdk == SdkType.MonaiDeploy:
44
51
  try:
45
52
  sdk_version = detect_monaideploy_version()
@@ -0,0 +1,17 @@
1
+ Metadata-Version: 2.3
2
+ Name: holoscan-cli
3
+ Version: 3.4.0
4
+ Summary:
5
+ Requires-Python: >=3.9,<3.13
6
+ Classifier: Programming Language :: Python :: 3
7
+ Classifier: Programming Language :: Python :: 3.9
8
+ Classifier: Programming Language :: Python :: 3.10
9
+ Classifier: Programming Language :: Python :: 3.11
10
+ Classifier: Programming Language :: Python :: 3.12
11
+ Requires-Dist: Jinja2 (>=3.1.6,<4.0.0)
12
+ Requires-Dist: packaging (>=25.0,<26.0)
13
+ Requires-Dist: pip (>25.1.0)
14
+ Requires-Dist: psutil (>=7.0.0,<8.0)
15
+ Requires-Dist: python-on-whales (>=0.77.0)
16
+ Requires-Dist: pyyaml (>=6.0,<7.0)
17
+ Requires-Dist: requests (>=2.32,<3.0)
@@ -6,7 +6,7 @@ holoscan_cli/common/constants.py,sha256=4yXMmz-PzHth5Qy4zt4E5bvpG6eQN3KQrjhyagRF
6
6
  holoscan_cli/common/dockerutils.py,sha256=lbDt_TCB8b74FRJljvpV3s_zVD-E4FoH2-3rI8O_BbM,17684
7
7
  holoscan_cli/common/enum_types.py,sha256=qdqMum01uM0-qrF2jyk1GYGoh76xBJsBUX9cvxVbVtA,1711
8
8
  holoscan_cli/common/exceptions.py,sha256=ubN33Av69Xm_CUVC_5DeKx_zO8qfIc_T-_S18xDQguE,2999
9
- holoscan_cli/common/sdk_utils.py,sha256=uDMOM_Jq3SnzDROrFERc8krDS6-BkhOebKV2h9I_-0Y,6659
9
+ holoscan_cli/common/sdk_utils.py,sha256=ehxuUONILiQ7KzYcBuveAowKIKhgF-EY_r2DFli6R2E,7092
10
10
  holoscan_cli/common/utils.py,sha256=3plIFGMWy8WcRB2lL4fTqINlE1CyBkm9CDrIVA1qPDU,3796
11
11
  holoscan_cli/logging.json,sha256=0tfLHoqV5_xH_q4m9gQufHYfYezocFVJxtlEj6UR3qI,809
12
12
  holoscan_cli/nics/__init__.py,sha256=IMHmlnYvJxjlJGi1UxwRG0deK4w9M7-_WWDoCqKcjJE,737
@@ -31,9 +31,9 @@ holoscan_cli/runner/resources.py,sha256=R7wLnfwsG67jJD6U8d_gvteycsLPPDfWDYimAmnC
31
31
  holoscan_cli/runner/run_command.py,sha256=CnSyyq0y9rv6kkRtSOi3kOGHuRDLv2RDQ3JUWZ6U-YE,7320
32
32
  holoscan_cli/runner/runner.py,sha256=9TqvzBL5z1boGQXvlBiPiuuMDMg7dQlo40YXO1Le604,10521
33
33
  holoscan_cli/version/__init__.py,sha256=1pf-RBR16STdFXsh82bYly_lUyv1MgxuczbLOTDJRto,743
34
- holoscan_cli/version/version.py,sha256=FL4DUcQ2FA4eyvL8YjR2rcdPCduMnbTBhLNeXlESLsI,1738
35
- holoscan_cli-3.3.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
- holoscan_cli-3.3.0.dist-info/METADATA,sha256=7H1jRE5ZdeDudMnE-Hshj9DkSKG0nvNCOodgOXMOVQM,3978
37
- holoscan_cli-3.3.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
38
- holoscan_cli-3.3.0.dist-info/entry_points.txt,sha256=ZbJklrhFtmmhqcGvGizL_4Pf9FTRgmZ11LblKPbj8yo,95
39
- holoscan_cli-3.3.0.dist-info/RECORD,,
34
+ holoscan_cli/version/version.py,sha256=1jAgChi39oEl9Rl0BDc30PPJMYeo7m5bMGPBGlRSX2M,1976
35
+ holoscan_cli-3.4.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
36
+ holoscan_cli-3.4.0.dist-info/METADATA,sha256=N3ZsuQtItzwYOEzRocLJfBDdlF6GA1oZHw5XyYb4GGs,607
37
+ holoscan_cli-3.4.0.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
38
+ holoscan_cli-3.4.0.dist-info/entry_points.txt,sha256=ZbJklrhFtmmhqcGvGizL_4Pf9FTRgmZ11LblKPbj8yo,95
39
+ holoscan_cli-3.4.0.dist-info/RECORD,,
@@ -1,107 +0,0 @@
1
- Metadata-Version: 2.3
2
- Name: holoscan-cli
3
- Version: 3.3.0
4
- Summary: Command line interface for packaging and running Holoscan applications.
5
- License: Apache-2.0
6
- Keywords: AI,holoscan,medical,streaming,HPC,nvidia,docker,container
7
- Author: NVIDIA
8
- Maintainer: mocsharp
9
- Requires-Python: >=3.9,<3.13
10
- Classifier: Development Status :: 5 - Production/Stable
11
- Classifier: Environment :: Console
12
- Classifier: Environment :: GPU :: NVIDIA CUDA :: 12
13
- Classifier: Intended Audience :: Developers
14
- Classifier: Intended Audience :: Education
15
- Classifier: Intended Audience :: Healthcare Industry
16
- Classifier: Intended Audience :: Science/Research
17
- Classifier: License :: OSI Approved :: Apache Software License
18
- Classifier: Operating System :: POSIX :: Linux
19
- Classifier: Programming Language :: Python :: 3
20
- Classifier: Programming Language :: Python :: 3.9
21
- Classifier: Programming Language :: Python :: 3.10
22
- Classifier: Programming Language :: Python :: 3.11
23
- Classifier: Programming Language :: Python :: 3.12
24
- Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
25
- Classifier: Topic :: Software Development :: Libraries :: Python Modules
26
- Classifier: Typing :: Typed
27
- Requires-Dist: Jinja2 (>=3.1.6,<4.0.0)
28
- Requires-Dist: packaging (>=23.1,<24.0)
29
- Requires-Dist: pip (>22.0.2)
30
- Requires-Dist: psutil (>=6.0.0,<7.0.0)
31
- Requires-Dist: python-on-whales (>=0.60.1,<0.61.0)
32
- Requires-Dist: pyyaml (>=6.0,<7.0)
33
- Requires-Dist: requests (>=2.31.0,<3.0.0)
34
- Project-URL: Documentation, https://docs.nvidia.com/holoscan/sdk-user-guide/index.html
35
- Project-URL: Homepage, https://github.com/nvidia-holoscan/holoscan-cli
36
- Project-URL: Repository, https://github.com/nvidia-holoscan/holoscan-cli
37
- Description-Content-Type: text/markdown
38
-
39
- [![Code Check](https://github.com/nvidia-holoscan/holoscan-cli/actions/workflows/check.yaml/badge.svg)](https://github.com/nvidia-holoscan/holoscan-cli/actions/workflows/check.yaml)
40
- [![Coverage Status](https://coveralls.io/repos/github/nvidia-holoscan/holoscan-cli/badge.svg)](https://coveralls.io/github/nvidia-holoscan/holoscan-cli)
41
-
42
- # Holoscan CLI
43
-
44
- Command line interface for packaging and running Holoscan applications.
45
-
46
- ## Overview
47
-
48
- This repository is the home for Holoscan CLI. It includes tools for packaging and running Holoscan applications.
49
-
50
- ## Prerequisites
51
-
52
- You will need a platform supported by [NVIDIA Holoscan SDK](https://docs.nvidia.com/holoscan/sdk-user-guide/sdk_installation.html#prerequisites). Refer to the Holoscan SDK User Guide for the latest requirements. In general, Holoscan-supported platforms include:
53
-
54
- - An x64 PC with an Ubuntu operating system and an NVIDIA GPU or
55
- - A supported NVIDIA ARM development kit.
56
-
57
- ## Installation
58
-
59
- Holoscan CLI is delivered as a Python package and can be installed from PyPI.org using one of the following commands:
60
-
61
- | Holoscan SDK Version | Installation Command |
62
- | -------------------- | -------------------------- |
63
- | 2.8 or earlier | `pip install holoscan` |
64
- | 2.9 or later | `pip install holoscan-cli` |
65
-
66
- ## Build From Source
67
-
68
- ### Prerequisites
69
-
70
- To build the Holoscan CLI from source, you will need to clone this repository and install the following dependencies:
71
-
72
- - Python 3.9+.
73
- - [poetry 2.0+](https://python-poetry.org/docs/#installation)
74
-
75
- ### Development Environment
76
-
77
- Holoscan CLI uses [Poetry](https://python-poetry.org/) for package and dependency management. After installing Poetry, run the following commands to get started:
78
-
79
- ```bash
80
- # Create virtual environment
81
- poetry env use python3.12
82
-
83
- # Activate virtual environment
84
- eval $(poetry env activate)
85
-
86
- # Install dependencies
87
- poetry install
88
-
89
- # Configure pre-commit hooks
90
- pre-commit install
91
-
92
- # Run pre-commit against all files
93
- pre-commit run --all-files
94
-
95
- # Build sdist package
96
- poetry build
97
-
98
- # Run tests
99
- poetry run pytest
100
- ```
101
-
102
- For more information on Poetry and its usages, see the [Poetry documentation](https://python-poetry.org/docs/).
103
-
104
- ## Contributing to the Holoscan CLI
105
-
106
- See [CONTRIBUTING.md](./CONTRIBUTING.md) for details.
107
-