jetson-cli 0.0.1.dev3__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.
jetson_cli/__init__.py ADDED
@@ -0,0 +1,2 @@
1
+ """jetson CLI — shared entry point for jetson-containers and jetson-cli packages."""
2
+ __version__ = "0.0.1.dev3"
jetson_cli/__main__.py ADDED
@@ -0,0 +1,7 @@
1
+ """Module entry point so `python -m jetson_cli` dispatches to `main()`."""
2
+ import sys
3
+
4
+ from jetson_cli.main import main
5
+
6
+ if __name__ == "__main__":
7
+ sys.exit(main())
jetson_cli/main.py ADDED
@@ -0,0 +1,43 @@
1
+ """Minimal `jetson` CLI. v0.0.1 exists only to claim the PyPI names."""
2
+ from __future__ import annotations
3
+
4
+ import argparse
5
+ import sys
6
+
7
+ from jetson_cli import __version__
8
+
9
+
10
+ def _cmd_x(args: argparse.Namespace) -> int:
11
+ print("jetson: ok")
12
+ return 0
13
+
14
+
15
+ def build_parser() -> argparse.ArgumentParser:
16
+ parser = argparse.ArgumentParser(
17
+ prog="jetson",
18
+ description="Jetson CLI (stub v0.0.1 — full functionality coming soon).",
19
+ )
20
+ parser.add_argument(
21
+ "--version",
22
+ action="version",
23
+ version=f"jetson {__version__}",
24
+ )
25
+ sub = parser.add_subparsers(dest="command", metavar="<command>")
26
+
27
+ p_x = sub.add_parser("x", help="smoke-test subcommand (prints 'jetson: ok')")
28
+ p_x.set_defaults(func=_cmd_x)
29
+
30
+ return parser
31
+
32
+
33
+ def main(argv: list[str] | None = None) -> int:
34
+ parser = build_parser()
35
+ args = parser.parse_args(argv)
36
+ if not getattr(args, "func", None):
37
+ parser.print_help()
38
+ return 0
39
+ return args.func(args)
40
+
41
+
42
+ if __name__ == "__main__":
43
+ sys.exit(main())
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.4
2
+ Name: jetson-cli
3
+ Version: 0.0.1.dev3
4
+ Summary: Jetson CLI — unified command-line interface for the Jetson AI Lab ecosystem.
5
+ Project-URL: Homepage, https://github.com/jetson-ai-lab/jetson-containers
6
+ Project-URL: Source, https://github.com/jetson-ai-lab/jetson-containers
7
+ Project-URL: Issues, https://github.com/jetson-ai-lab/jetson-containers/issues
8
+ Author: Jetson AI Lab
9
+ License: MIT
10
+ License-File: LICENSE.md
11
+ Keywords: cli,containers,edge-ai,jetson,nvidia
12
+ Classifier: Development Status :: 3 - Alpha
13
+ Classifier: Environment :: Console
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: POSIX :: Linux
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3 :: Only
19
+ Classifier: Topic :: Software Development :: Build Tools
20
+ Requires-Python: >=3.8
21
+ Provides-Extra: test
22
+ Requires-Dist: pytest>=7; extra == 'test'
23
+ Description-Content-Type: text/markdown
24
+
25
+ # jetson-cli
26
+
27
+ `jetson-cli` installs the `jetson` console command — the unified CLI for the
28
+ [Jetson AI Lab](https://github.com/jetson-ai-lab/jetson-containers) ecosystem.
29
+
30
+ This **v0.0.1** release is a name-claim stub. Real functionality is landing
31
+ incrementally; see the [project repository](https://github.com/jetson-ai-lab/jetson-containers).
32
+
33
+ ## Install
34
+
35
+ ```bash
36
+ pip install jetson-cli
37
+ jetson --version
38
+ jetson x
39
+ ```
40
+
41
+ ## Note
42
+
43
+ `jetson-cli` and [`jetson-containers`](https://pypi.org/project/jetson-containers/)
44
+ ship identical code in this release — both provide the `jetson` command.
@@ -0,0 +1,8 @@
1
+ jetson_cli/__init__.py,sha256=tXHEDqV0jlWR3zWrNWSFk1uxJrDXbiItn-6Cv3FZFw0,114
2
+ jetson_cli/__main__.py,sha256=rn3_mwovVYMcyiFvdycD1TSlLmjQv380HXoeGJjrElM,169
3
+ jetson_cli/main.py,sha256=y8TEQbNP_Kq5ilHGGqfJOSlG76m9aRz2G_PpWbYLE7E,1054
4
+ jetson_cli-0.0.1.dev3.dist-info/METADATA,sha256=r3w-BZlSH37MfKL5WRj7uXYjVaCOoHYaUprY6Cg9T3s,1577
5
+ jetson_cli-0.0.1.dev3.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
6
+ jetson_cli-0.0.1.dev3.dist-info/entry_points.txt,sha256=QxLLhdE2EKlP0zG99OtimAxNLLVpfZVkMnMr1p7-Aro,48
7
+ jetson_cli-0.0.1.dev3.dist-info/licenses/LICENSE.md,sha256=uCuzmQjsJoJcuT6IhJDezbtcpxuJ0e60tAZEGbhJ9R8,1147
8
+ jetson_cli-0.0.1.dev3.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ jetson = jetson_cli.main:main
@@ -0,0 +1,22 @@
1
+ /*
2
+
3
+ * Copyright (c) 2026, NVIDIA CORPORATION. All rights reserved.
4
+ *
5
+ * Permission is hereby granted, free of charge, to any person obtaining a
6
+ * copy of this software and associated documentation files (the "Software"),
7
+ * to deal in the Software without restriction, including without limitation
8
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9
+ * and/or sell copies of the Software, and to permit persons to whom the
10
+ * Software is furnished to do so, subject to the following conditions:
11
+ *
12
+ * The above copyright notice and this permission notice shall be included in
13
+ * all copies or substantial portions of the Software.
14
+ *
15
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
18
+ * THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21
+ * DEALINGS IN THE SOFTWARE.
22
+ */