vantage-cli 0.1.1__tar.gz → 0.1.3__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.
- vantage_cli-0.1.3/PKG-INFO +118 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/README.md +1 -1
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/pyproject.toml +18 -2
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/uv.lock +251 -3
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/__init__.py +2 -5
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/juju_localhost/__init__.py +2 -5
- vantage_cli-0.1.3/vantage_cli/apps/microk8s/__init__.py +16 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/multipass_singlenode/__init__.py +2 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/__init__.py +2 -5
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/profile/__init__.py +0 -5
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/main.py +1 -7
- vantage_cli-0.1.1/PKG-INFO +0 -30
- vantage_cli-0.1.1/docs/Gemfile +0 -24
- vantage_cli-0.1.1/docs/_config.yml +0 -68
- vantage_cli-0.1.1/docs/_data/project.yml +0 -38
- vantage_cli-0.1.1/docs/_layouts/default.html +0 -2167
- vantage_cli-0.1.1/docs/_layouts/home.html +0 -5
- vantage_cli-0.1.1/docs/_layouts/page.html +0 -5
- vantage_cli-0.1.1/docs/architecture.md +0 -198
- vantage_cli-0.1.1/docs/commands.md +0 -91
- vantage_cli-0.1.1/docs/contact.md +0 -195
- vantage_cli-0.1.1/docs/contributing.md +0 -114
- vantage_cli-0.1.1/docs/index.md +0 -70
- vantage_cli-0.1.1/docs/installation.md +0 -29
- vantage_cli-0.1.1/docs/overview.md +0 -91
- vantage_cli-0.1.1/docs/templates/new_content_placeholder.md +0 -3
- vantage_cli-0.1.1/docs/troubleshooting.md +0 -69
- vantage_cli-0.1.1/docs/usage.md +0 -107
- vantage_cli-0.1.1/git-cliff-2.10.0/CHANGELOG.md +0 -1698
- vantage_cli-0.1.1/git-cliff-2.10.0/LICENSE-APACHE +0 -176
- vantage_cli-0.1.1/git-cliff-2.10.0/LICENSE-MIT +0 -22
- vantage_cli-0.1.1/git-cliff-2.10.0/README.md +0 -100
- vantage_cli-0.1.1/git-cliff-2.10.0/completions/_git-cliff +0 -88
- vantage_cli-0.1.1/git-cliff-2.10.0/completions/_git-cliff.ps1 +0 -86
- vantage_cli-0.1.1/git-cliff-2.10.0/completions/git-cliff.bash +0 -198
- vantage_cli-0.1.1/git-cliff-2.10.0/completions/git-cliff.elv +0 -80
- vantage_cli-0.1.1/git-cliff-2.10.0/completions/git-cliff.fish +0 -44
- vantage_cli-0.1.1/git-cliff-2.10.0/git-cliff-completions +0 -0
- vantage_cli-0.1.1/git-cliff-2.10.0/git-cliff-mangen +0 -0
- vantage_cli-0.1.1/git-cliff-2.10.0/man/git-cliff.1 +0 -225
- vantage_cli-0.1.1/justfile +0 -81
- vantage_cli-0.1.1/tests/conftest.py +0 -242
- vantage_cli-0.1.1/tests/integration/test_gql_client_integration.py +0 -247
- vantage_cli-0.1.1/tests/unit/test_apps_common.py +0 -43
- vantage_cli-0.1.1/tests/unit/test_auth.py +0 -728
- vantage_cli-0.1.1/tests/unit/test_cache.py +0 -0
- vantage_cli-0.1.1/tests/unit/test_cache_and_exceptions_tails.py +0 -160
- vantage_cli-0.1.1/tests/unit/test_cache_extra.py +0 -58
- vantage_cli-0.1.1/tests/unit/test_cache_with_cache_decorator.py +0 -104
- vantage_cli-0.1.1/tests/unit/test_client.py +0 -0
- vantage_cli-0.1.1/tests/unit/test_client_extra.py +0 -56
- vantage_cli-0.1.1/tests/unit/test_cloud_commands.py +0 -171
- vantage_cli-0.1.1/tests/unit/test_cluster_commands.py +0 -517
- vantage_cli-0.1.1/tests/unit/test_cluster_create_extra.py +0 -156
- vantage_cli-0.1.1/tests/unit/test_cluster_schema.py +0 -50
- vantage_cli-0.1.1/tests/unit/test_cluster_utils_extra.py +0 -143
- vantage_cli-0.1.1/tests/unit/test_command_base.py +0 -202
- vantage_cli-0.1.1/tests/unit/test_config.py +0 -523
- vantage_cli-0.1.1/tests/unit/test_deployment_apps.py +0 -0
- vantage_cli-0.1.1/tests/unit/test_exceptions.py +0 -53
- vantage_cli-0.1.1/tests/unit/test_exceptions_extra.py +0 -23
- vantage_cli-0.1.1/tests/unit/test_format.py +0 -0
- vantage_cli-0.1.1/tests/unit/test_format_extra.py +0 -16
- vantage_cli-0.1.1/tests/unit/test_gql_client.py +0 -110
- vantage_cli-0.1.1/tests/unit/test_gql_client_comprehensive.py +0 -0
- vantage_cli-0.1.1/tests/unit/test_gql_client_coverage.py +0 -267
- vantage_cli-0.1.1/tests/unit/test_gql_client_coverage_extra.py +0 -280
- vantage_cli-0.1.1/tests/unit/test_gql_client_extra.py +0 -218
- vantage_cli-0.1.1/tests/unit/test_gql_client_integration.py +0 -247
- vantage_cli-0.1.1/tests/unit/test_gql_client_tails.py +0 -159
- vantage_cli-0.1.1/tests/unit/test_juju_localhost_app.py +0 -316
- vantage_cli-0.1.1/tests/unit/test_main.py +0 -507
- vantage_cli-0.1.1/tests/unit/test_main_branch_closure.py +0 -66
- vantage_cli-0.1.1/tests/unit/test_main_error_paths.py +0 -80
- vantage_cli-0.1.1/tests/unit/test_microk8s_app.py +0 -147
- vantage_cli-0.1.1/tests/unit/test_multipass_app.py +0 -122
- vantage_cli-0.1.1/tests/unit/test_profile.py +0 -870
- vantage_cli-0.1.1/tests/unit/test_profile_commands.py +0 -0
- vantage_cli-0.1.1/tests/unit/test_profile_crud.py +0 -339
- vantage_cli-0.1.1/tests/unit/test_profile_crud_extra.py +0 -322
- vantage_cli-0.1.1/tests/unit/test_profile_render.py +0 -40
- vantage_cli-0.1.1/tests/unit/test_render.py +0 -0
- vantage_cli-0.1.1/tests/unit/test_schemas.py +0 -0
- vantage_cli-0.1.1/tests/unit/test_templates_app.py +0 -40
- vantage_cli-0.1.1/tests/unit/test_time_loop.py +0 -288
- vantage_cli-0.1.1/vantage_cli/apps/microk8s/__init__.py +0 -3
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.commitlintrc.yml +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.github/workflows/ci.yml +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.github/workflows/pages.yml +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.github/workflows/publish.yml +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.gitignore +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/__init__.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/common.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/juju_localhost/app.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/juju_localhost/bundle_yaml.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/microk8s/README.md +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/microk8s/app.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/multipass_singlenode/app.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/templates.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/auth.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/cache.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/client.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/command_base.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/__init__.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/__init__.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/add.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/delete.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/render.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/update.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/create.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/delete.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/get.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/list.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/render.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/schema.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/utils.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/profile/crud.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/profile/render.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/config.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/constants.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/exceptions.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/format.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/gql_client.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/render.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/schemas.py +0 -0
- {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/time_loop.py +0 -0
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: vantage-cli
|
|
3
|
+
Version: 0.1.3
|
|
4
|
+
Summary: The Vantage Compute CLI.
|
|
5
|
+
Author-email: jamesbeedy <james@vantagecompute.ai>
|
|
6
|
+
License: MIT
|
|
7
|
+
Requires-Python: >=3.11
|
|
8
|
+
Requires-Dist: aiohttp>=3.8.0
|
|
9
|
+
Requires-Dist: anyio>=3.6.0
|
|
10
|
+
Requires-Dist: gql>=4.0.0
|
|
11
|
+
Requires-Dist: httpx>=0.28.1
|
|
12
|
+
Requires-Dist: juju~=3.6
|
|
13
|
+
Requires-Dist: loguru>=0.7.3
|
|
14
|
+
Requires-Dist: pendulum>=3.1.0
|
|
15
|
+
Requires-Dist: py-buzz>=7.3
|
|
16
|
+
Requires-Dist: pydantic>=2.11
|
|
17
|
+
Requires-Dist: python-jose[cryptography]>=3.5.0
|
|
18
|
+
Requires-Dist: requests-toolbelt>=0.10.0
|
|
19
|
+
Requires-Dist: rich>=14.1.0
|
|
20
|
+
Requires-Dist: ruamel-yaml
|
|
21
|
+
Requires-Dist: snick>=2.1
|
|
22
|
+
Requires-Dist: typer>=0.17.4
|
|
23
|
+
Provides-Extra: dev
|
|
24
|
+
Requires-Dist: black; extra == 'dev'
|
|
25
|
+
Requires-Dist: codespell; extra == 'dev'
|
|
26
|
+
Requires-Dist: coverage[toml]~=7.8; extra == 'dev'
|
|
27
|
+
Requires-Dist: pyright; extra == 'dev'
|
|
28
|
+
Requires-Dist: pytest-asyncio>=0.21.0; extra == 'dev'
|
|
29
|
+
Requires-Dist: pytest>=7.0.0; extra == 'dev'
|
|
30
|
+
Requires-Dist: ruff; extra == 'dev'
|
|
31
|
+
Description-Content-Type: text/markdown
|
|
32
|
+
|
|
33
|
+
<div align="center">
|
|
34
|
+
<a href="https://www.vantagecompute.ai/">
|
|
35
|
+
<img src="https://vantage-compute-public-assets.s3.us-east-1.amazonaws.com/branding/vantage-logo-text-black-horz.png" alt="Vantage Compute Logo" width="100" style="margin-bottom: 0.5em;"/>
|
|
36
|
+
</a>
|
|
37
|
+
</div>
|
|
38
|
+
<div align="center">
|
|
39
|
+
|
|
40
|
+
# Vantage CLI
|
|
41
|
+
|
|
42
|
+
[](LICENSE)
|
|
43
|
+
[](https://python.org)
|
|
44
|
+
[](https://pypi.org/project/vantage-cli/)
|
|
45
|
+
|
|
46
|
+

|
|
47
|
+

|
|
48
|
+

|
|
49
|
+

|
|
50
|
+
|
|
51
|
+
</div>
|
|
52
|
+
|
|
53
|
+
A modern Python CLI tool to interface to Vantage Compute.
|
|
54
|
+
|
|
55
|
+
## 🚀 Quick Start
|
|
56
|
+
|
|
57
|
+
### Option 1: Install from PyPI (Recommended)
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
# Install LXD
|
|
61
|
+
pip install vantage-cli
|
|
62
|
+
|
|
63
|
+
# Login to Vantage
|
|
64
|
+
vantage login
|
|
65
|
+
|
|
66
|
+
# Check your logged in user
|
|
67
|
+
vantage whoami
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Option 2: Install from Source
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
# Clone and setup
|
|
74
|
+
git clone https://github.com/vantagecompute/vantage-cli.git
|
|
75
|
+
cd vantage-cli && uv sync
|
|
76
|
+
|
|
77
|
+
# Login to Vantage
|
|
78
|
+
uv run vantage login
|
|
79
|
+
```
|
|
80
|
+
|
|
81
|
+
## 📚 Documentation
|
|
82
|
+
|
|
83
|
+
Visit our comprehensive documentation site:
|
|
84
|
+
**[vantagecompute.github.io/vantage-cli](https://vantagecompute.github.io/vantage-cli)**
|
|
85
|
+
|
|
86
|
+
- **[Installation Guide](https://vantagecompute.github.io/vantage-cli/installation/)**: Detailed setup instructions
|
|
87
|
+
- **[Architecture Overview](https://vantagecompute.github.io/vantage-cli/architecture/)**: How vantage-cli works
|
|
88
|
+
- **[Command Reference](https://vantagecompute.github.io/vantage-cli/commands/)**: Complete command documentation
|
|
89
|
+
- **[Troubleshooting](https://vantagecompute.github.io/vantage-cli/troubleshooting/)**: Common issues and solutions
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## 📄 License
|
|
93
|
+
|
|
94
|
+
This project is licensed under the Apache License 2.0 - see the [LICENSE](LICENSE) file for details.
|
|
95
|
+
|
|
96
|
+
Copyright 2025 Vantage Compute Corporation
|
|
97
|
+
|
|
98
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
99
|
+
you may not use this file except in compliance with the License.
|
|
100
|
+
You may obtain a copy of the License at
|
|
101
|
+
|
|
102
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
103
|
+
|
|
104
|
+
Unless required by applicable law or agreed to in writing, software
|
|
105
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
106
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
107
|
+
See the License for the specific language governing permissions and
|
|
108
|
+
limitations under the License.
|
|
109
|
+
|
|
110
|
+
## 🆘 Support
|
|
111
|
+
|
|
112
|
+
- **Issues**: [GitHub Issues](https://github.com/vantagecompute/vantage-cli/issues)
|
|
113
|
+
- **Discussions**: [GitHub Discussions](https://github.com/vantagecompute/vantage-cli/discussions)
|
|
114
|
+
- **Email**: [james@vantagecompute.ai](mailto:james@vantagecompute.ai)
|
|
115
|
+
|
|
116
|
+
---
|
|
117
|
+
|
|
118
|
+
**Made with ❤️ by [Vantage Compute](https://vantagecompute.ai)**
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
# Vantage CLI
|
|
9
9
|
|
|
10
10
|
[](LICENSE)
|
|
11
|
-
[](https://python.org)
|
|
12
12
|
[](https://pypi.org/project/vantage-cli/)
|
|
13
13
|
|
|
14
14
|

|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "vantage-cli"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.3"
|
|
4
4
|
description = "The Vantage Compute CLI."
|
|
5
5
|
authors = [
|
|
6
6
|
{name = "jamesbeedy", email = "james@vantagecompute.ai"}
|
|
7
7
|
]
|
|
8
|
+
readme = "README.md"
|
|
8
9
|
license = {text = "MIT"}
|
|
9
|
-
requires-python = ">=3.
|
|
10
|
+
requires-python = ">=3.11"
|
|
10
11
|
dependencies = [
|
|
11
12
|
"juju ~= 3.6",
|
|
12
13
|
"typer>=0.17.4",
|
|
@@ -27,6 +28,20 @@ dependencies = [
|
|
|
27
28
|
|
|
28
29
|
[tool.hatch.build.targets.wheel]
|
|
29
30
|
packages = ["vantage_cli"]
|
|
31
|
+
exclude = [
|
|
32
|
+
"git-cliff-*",
|
|
33
|
+
"justfile",
|
|
34
|
+
"docs",
|
|
35
|
+
"tests",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[tool.hatch.build.targets.sdist]
|
|
39
|
+
exclude = [
|
|
40
|
+
"git-cliff-*",
|
|
41
|
+
"justfile",
|
|
42
|
+
"docs",
|
|
43
|
+
"tests",
|
|
44
|
+
]
|
|
30
45
|
|
|
31
46
|
[tool.hatch.metadata]
|
|
32
47
|
allow-direct-references = true
|
|
@@ -48,6 +63,7 @@ dev = [
|
|
|
48
63
|
[project.scripts]
|
|
49
64
|
vantage = "vantage_cli.main:app"
|
|
50
65
|
|
|
66
|
+
|
|
51
67
|
[tool.coverage.run]
|
|
52
68
|
branch = true
|
|
53
69
|
|