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.
Files changed (126) hide show
  1. vantage_cli-0.1.3/PKG-INFO +118 -0
  2. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/README.md +1 -1
  3. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/pyproject.toml +18 -2
  4. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/uv.lock +251 -3
  5. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/__init__.py +2 -5
  6. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/juju_localhost/__init__.py +2 -5
  7. vantage_cli-0.1.3/vantage_cli/apps/microk8s/__init__.py +16 -0
  8. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/multipass_singlenode/__init__.py +2 -0
  9. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/__init__.py +2 -5
  10. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/profile/__init__.py +0 -5
  11. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/main.py +1 -7
  12. vantage_cli-0.1.1/PKG-INFO +0 -30
  13. vantage_cli-0.1.1/docs/Gemfile +0 -24
  14. vantage_cli-0.1.1/docs/_config.yml +0 -68
  15. vantage_cli-0.1.1/docs/_data/project.yml +0 -38
  16. vantage_cli-0.1.1/docs/_layouts/default.html +0 -2167
  17. vantage_cli-0.1.1/docs/_layouts/home.html +0 -5
  18. vantage_cli-0.1.1/docs/_layouts/page.html +0 -5
  19. vantage_cli-0.1.1/docs/architecture.md +0 -198
  20. vantage_cli-0.1.1/docs/commands.md +0 -91
  21. vantage_cli-0.1.1/docs/contact.md +0 -195
  22. vantage_cli-0.1.1/docs/contributing.md +0 -114
  23. vantage_cli-0.1.1/docs/index.md +0 -70
  24. vantage_cli-0.1.1/docs/installation.md +0 -29
  25. vantage_cli-0.1.1/docs/overview.md +0 -91
  26. vantage_cli-0.1.1/docs/templates/new_content_placeholder.md +0 -3
  27. vantage_cli-0.1.1/docs/troubleshooting.md +0 -69
  28. vantage_cli-0.1.1/docs/usage.md +0 -107
  29. vantage_cli-0.1.1/git-cliff-2.10.0/CHANGELOG.md +0 -1698
  30. vantage_cli-0.1.1/git-cliff-2.10.0/LICENSE-APACHE +0 -176
  31. vantage_cli-0.1.1/git-cliff-2.10.0/LICENSE-MIT +0 -22
  32. vantage_cli-0.1.1/git-cliff-2.10.0/README.md +0 -100
  33. vantage_cli-0.1.1/git-cliff-2.10.0/completions/_git-cliff +0 -88
  34. vantage_cli-0.1.1/git-cliff-2.10.0/completions/_git-cliff.ps1 +0 -86
  35. vantage_cli-0.1.1/git-cliff-2.10.0/completions/git-cliff.bash +0 -198
  36. vantage_cli-0.1.1/git-cliff-2.10.0/completions/git-cliff.elv +0 -80
  37. vantage_cli-0.1.1/git-cliff-2.10.0/completions/git-cliff.fish +0 -44
  38. vantage_cli-0.1.1/git-cliff-2.10.0/git-cliff-completions +0 -0
  39. vantage_cli-0.1.1/git-cliff-2.10.0/git-cliff-mangen +0 -0
  40. vantage_cli-0.1.1/git-cliff-2.10.0/man/git-cliff.1 +0 -225
  41. vantage_cli-0.1.1/justfile +0 -81
  42. vantage_cli-0.1.1/tests/conftest.py +0 -242
  43. vantage_cli-0.1.1/tests/integration/test_gql_client_integration.py +0 -247
  44. vantage_cli-0.1.1/tests/unit/test_apps_common.py +0 -43
  45. vantage_cli-0.1.1/tests/unit/test_auth.py +0 -728
  46. vantage_cli-0.1.1/tests/unit/test_cache.py +0 -0
  47. vantage_cli-0.1.1/tests/unit/test_cache_and_exceptions_tails.py +0 -160
  48. vantage_cli-0.1.1/tests/unit/test_cache_extra.py +0 -58
  49. vantage_cli-0.1.1/tests/unit/test_cache_with_cache_decorator.py +0 -104
  50. vantage_cli-0.1.1/tests/unit/test_client.py +0 -0
  51. vantage_cli-0.1.1/tests/unit/test_client_extra.py +0 -56
  52. vantage_cli-0.1.1/tests/unit/test_cloud_commands.py +0 -171
  53. vantage_cli-0.1.1/tests/unit/test_cluster_commands.py +0 -517
  54. vantage_cli-0.1.1/tests/unit/test_cluster_create_extra.py +0 -156
  55. vantage_cli-0.1.1/tests/unit/test_cluster_schema.py +0 -50
  56. vantage_cli-0.1.1/tests/unit/test_cluster_utils_extra.py +0 -143
  57. vantage_cli-0.1.1/tests/unit/test_command_base.py +0 -202
  58. vantage_cli-0.1.1/tests/unit/test_config.py +0 -523
  59. vantage_cli-0.1.1/tests/unit/test_deployment_apps.py +0 -0
  60. vantage_cli-0.1.1/tests/unit/test_exceptions.py +0 -53
  61. vantage_cli-0.1.1/tests/unit/test_exceptions_extra.py +0 -23
  62. vantage_cli-0.1.1/tests/unit/test_format.py +0 -0
  63. vantage_cli-0.1.1/tests/unit/test_format_extra.py +0 -16
  64. vantage_cli-0.1.1/tests/unit/test_gql_client.py +0 -110
  65. vantage_cli-0.1.1/tests/unit/test_gql_client_comprehensive.py +0 -0
  66. vantage_cli-0.1.1/tests/unit/test_gql_client_coverage.py +0 -267
  67. vantage_cli-0.1.1/tests/unit/test_gql_client_coverage_extra.py +0 -280
  68. vantage_cli-0.1.1/tests/unit/test_gql_client_extra.py +0 -218
  69. vantage_cli-0.1.1/tests/unit/test_gql_client_integration.py +0 -247
  70. vantage_cli-0.1.1/tests/unit/test_gql_client_tails.py +0 -159
  71. vantage_cli-0.1.1/tests/unit/test_juju_localhost_app.py +0 -316
  72. vantage_cli-0.1.1/tests/unit/test_main.py +0 -507
  73. vantage_cli-0.1.1/tests/unit/test_main_branch_closure.py +0 -66
  74. vantage_cli-0.1.1/tests/unit/test_main_error_paths.py +0 -80
  75. vantage_cli-0.1.1/tests/unit/test_microk8s_app.py +0 -147
  76. vantage_cli-0.1.1/tests/unit/test_multipass_app.py +0 -122
  77. vantage_cli-0.1.1/tests/unit/test_profile.py +0 -870
  78. vantage_cli-0.1.1/tests/unit/test_profile_commands.py +0 -0
  79. vantage_cli-0.1.1/tests/unit/test_profile_crud.py +0 -339
  80. vantage_cli-0.1.1/tests/unit/test_profile_crud_extra.py +0 -322
  81. vantage_cli-0.1.1/tests/unit/test_profile_render.py +0 -40
  82. vantage_cli-0.1.1/tests/unit/test_render.py +0 -0
  83. vantage_cli-0.1.1/tests/unit/test_schemas.py +0 -0
  84. vantage_cli-0.1.1/tests/unit/test_templates_app.py +0 -40
  85. vantage_cli-0.1.1/tests/unit/test_time_loop.py +0 -288
  86. vantage_cli-0.1.1/vantage_cli/apps/microk8s/__init__.py +0 -3
  87. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.commitlintrc.yml +0 -0
  88. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.github/workflows/ci.yml +0 -0
  89. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.github/workflows/pages.yml +0 -0
  90. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.github/workflows/publish.yml +0 -0
  91. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/.gitignore +0 -0
  92. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/__init__.py +0 -0
  93. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/common.py +0 -0
  94. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/juju_localhost/app.py +0 -0
  95. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/juju_localhost/bundle_yaml.py +0 -0
  96. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/microk8s/README.md +0 -0
  97. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/microk8s/app.py +0 -0
  98. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/multipass_singlenode/app.py +0 -0
  99. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/apps/templates.py +0 -0
  100. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/auth.py +0 -0
  101. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/cache.py +0 -0
  102. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/client.py +0 -0
  103. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/command_base.py +0 -0
  104. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/__init__.py +0 -0
  105. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/__init__.py +0 -0
  106. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/add.py +0 -0
  107. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/delete.py +0 -0
  108. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/render.py +0 -0
  109. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clouds/update.py +0 -0
  110. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/create.py +0 -0
  111. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/delete.py +0 -0
  112. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/get.py +0 -0
  113. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/list.py +0 -0
  114. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/render.py +0 -0
  115. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/schema.py +0 -0
  116. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/clusters/utils.py +0 -0
  117. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/profile/crud.py +0 -0
  118. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/commands/profile/render.py +0 -0
  119. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/config.py +0 -0
  120. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/constants.py +0 -0
  121. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/exceptions.py +0 -0
  122. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/format.py +0 -0
  123. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/gql_client.py +0 -0
  124. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/render.py +0 -0
  125. {vantage_cli-0.1.1 → vantage_cli-0.1.3}/vantage_cli/schemas.py +0 -0
  126. {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](https://img.shields.io/badge/license-Apache%202.0-green.svg)](LICENSE)
43
+ [![Python](https://img.shields.io/badge/python-3.12+-blue.svg)](https://python.org)
44
+ [![PyPI](https://img.shields.io/pypi/v/vantage-cli.svg)](https://pypi.org/project/vantage-cli/)
45
+
46
+ ![Build Status](https://img.shields.io/github/actions/workflow/status/vantagecompute/vantage-cli/ci.yaml?branch=main&label=build&logo=github&style=plastic)
47
+ ![GitHub Issues](https://img.shields.io/github/issues/vantagecompute/vantage-cli?label=issues&logo=github&style=plastic)
48
+ ![Pull Requests](https://img.shields.io/github/issues-pr/vantagecompute/vantage-cli?label=pull-requests&logo=github&style=plastic)
49
+ ![GitHub Contributors](https://img.shields.io/github/contributors/vantagecompute/vantage-cli?logo=github&style=plastic)
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](https://img.shields.io/badge/license-Apache%202.0-green.svg)](LICENSE)
11
- [![Python](https://img.shields.io/badge/python-3.11+-blue.svg)](https://python.org)
11
+ [![Python](https://img.shields.io/badge/python-3.12+-blue.svg)](https://python.org)
12
12
  [![PyPI](https://img.shields.io/pypi/v/vantage-cli.svg)](https://pypi.org/project/vantage-cli/)
13
13
 
14
14
  ![Build Status](https://img.shields.io/github/actions/workflow/status/vantagecompute/vantage-cli/ci.yaml?branch=main&label=build&logo=github&style=plastic)
@@ -1,12 +1,13 @@
1
1
  [project]
2
2
  name = "vantage-cli"
3
- version = "0.1.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.12"
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