jetson-cli 0.0.1.dev3__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.
- jetson_cli-0.0.1.dev3/.gitignore +23 -0
- jetson_cli-0.0.1.dev3/LICENSE.md +22 -0
- jetson_cli-0.0.1.dev3/PKG-INFO +44 -0
- jetson_cli-0.0.1.dev3/jetson_cli/__init__.py +2 -0
- jetson_cli-0.0.1.dev3/jetson_cli/__main__.py +7 -0
- jetson_cli-0.0.1.dev3/jetson_cli/main.py +43 -0
- jetson_cli-0.0.1.dev3/packaging/README.jetson-cli.md +20 -0
- jetson_cli-0.0.1.dev3/packaging/README.jetson-containers.md +25 -0
- jetson_cli-0.0.1.dev3/pyproject.toml +59 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
__pycache__
|
|
2
|
+
*.pyc
|
|
3
|
+
*.tar.gz
|
|
4
|
+
*.so
|
|
5
|
+
*.deb
|
|
6
|
+
*.symvers
|
|
7
|
+
data/*
|
|
8
|
+
logs
|
|
9
|
+
test/data
|
|
10
|
+
runner
|
|
11
|
+
venv
|
|
12
|
+
.env
|
|
13
|
+
*.minus-github-api
|
|
14
|
+
.DS_Store
|
|
15
|
+
.vscode
|
|
16
|
+
.ninja_log
|
|
17
|
+
.polyscope.ini
|
|
18
|
+
.ipynb_checkpoints
|
|
19
|
+
.idea
|
|
20
|
+
nv_tegra_release
|
|
21
|
+
kokoro-*-*.wav
|
|
22
|
+
audio.wav
|
|
23
|
+
benchmark.csv
|
|
@@ -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
|
+
*/
|
|
@@ -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,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,20 @@
|
|
|
1
|
+
# jetson-cli
|
|
2
|
+
|
|
3
|
+
`jetson-cli` installs the `jetson` console command — the unified CLI for the
|
|
4
|
+
[Jetson AI Lab](https://github.com/jetson-ai-lab/jetson-containers) ecosystem.
|
|
5
|
+
|
|
6
|
+
This **v0.0.1** release is a name-claim stub. Real functionality is landing
|
|
7
|
+
incrementally; see the [project repository](https://github.com/jetson-ai-lab/jetson-containers).
|
|
8
|
+
|
|
9
|
+
## Install
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
pip install jetson-cli
|
|
13
|
+
jetson --version
|
|
14
|
+
jetson x
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Note
|
|
18
|
+
|
|
19
|
+
`jetson-cli` and [`jetson-containers`](https://pypi.org/project/jetson-containers/)
|
|
20
|
+
ship identical code in this release — both provide the `jetson` command.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# jetson-containers
|
|
2
|
+
|
|
3
|
+
The PyPI distribution for
|
|
4
|
+
[`jetson-ai-lab/jetson-containers`](https://github.com/jetson-ai-lab/jetson-containers)
|
|
5
|
+
— installs the `jetson` console command.
|
|
6
|
+
|
|
7
|
+
This **v0.0.1** release is a name-claim stub. The repository itself (build/run
|
|
8
|
+
scripts, package definitions, Dockerfiles) remains the canonical source of the
|
|
9
|
+
`jetson-containers` tooling; pip-installable features will ship in later
|
|
10
|
+
releases.
|
|
11
|
+
|
|
12
|
+
## Install
|
|
13
|
+
|
|
14
|
+
```bash
|
|
15
|
+
pip install jetson-containers
|
|
16
|
+
jetson --version
|
|
17
|
+
jetson x
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Note
|
|
21
|
+
|
|
22
|
+
`jetson-containers` and [`jetson-cli`](https://pypi.org/project/jetson-cli/)
|
|
23
|
+
ship identical code in this release. The bash `jetson-containers` dispatcher
|
|
24
|
+
inside the repository (installed by `install.sh` to `/usr/local/bin/jetson-containers`)
|
|
25
|
+
is a separate tool and is not affected by this package.
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["hatchling>=1.25"]
|
|
3
|
+
build-backend = "hatchling.build"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "jetson-cli"
|
|
7
|
+
version = "0.0.1.dev3"
|
|
8
|
+
description = "Jetson CLI — unified command-line interface for the Jetson AI Lab ecosystem."
|
|
9
|
+
readme = "packaging/README.jetson-cli.md"
|
|
10
|
+
requires-python = ">=3.8"
|
|
11
|
+
license = { text = "MIT" }
|
|
12
|
+
authors = [{ name = "Jetson AI Lab" }]
|
|
13
|
+
keywords = ["jetson", "nvidia", "edge-ai", "containers", "cli"]
|
|
14
|
+
classifiers = [
|
|
15
|
+
"Development Status :: 3 - Alpha",
|
|
16
|
+
"Environment :: Console",
|
|
17
|
+
"Intended Audience :: Developers",
|
|
18
|
+
"License :: OSI Approved :: MIT License",
|
|
19
|
+
"Operating System :: POSIX :: Linux",
|
|
20
|
+
"Programming Language :: Python :: 3",
|
|
21
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
22
|
+
"Topic :: Software Development :: Build Tools",
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
[project.urls]
|
|
26
|
+
Homepage = "https://github.com/jetson-ai-lab/jetson-containers"
|
|
27
|
+
Source = "https://github.com/jetson-ai-lab/jetson-containers"
|
|
28
|
+
Issues = "https://github.com/jetson-ai-lab/jetson-containers/issues"
|
|
29
|
+
|
|
30
|
+
[project.optional-dependencies]
|
|
31
|
+
test = ["pytest>=7"]
|
|
32
|
+
|
|
33
|
+
[project.scripts]
|
|
34
|
+
jetson = "jetson_cli.main:main"
|
|
35
|
+
|
|
36
|
+
[tool.hatch.build.targets.wheel]
|
|
37
|
+
packages = ["jetson_cli"]
|
|
38
|
+
|
|
39
|
+
[tool.hatch.build.targets.sdist]
|
|
40
|
+
include = [
|
|
41
|
+
"jetson_cli/",
|
|
42
|
+
"packaging/README.jetson-cli.md",
|
|
43
|
+
"packaging/README.jetson-containers.md",
|
|
44
|
+
"LICENSE.md",
|
|
45
|
+
"pyproject.toml",
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
[tool.black]
|
|
49
|
+
line-length = 88
|
|
50
|
+
target-version = ['py38']
|
|
51
|
+
include = '\.pyi?$'
|
|
52
|
+
extend-exclude = '''
|
|
53
|
+
# A regex preceded with ^/ will apply only to files and directories
|
|
54
|
+
# in the root of the project.
|
|
55
|
+
^/docs/
|
|
56
|
+
'''
|
|
57
|
+
skip-string-normalization = true # This allows single quotes
|
|
58
|
+
skip-magic-trailing-comma = false
|
|
59
|
+
preview = false
|