v6ctl 0.1.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.
@@ -0,0 +1,137 @@
1
+ Metadata-Version: 2.4
2
+ Name: v6ctl
3
+ Version: 0.1.0
4
+ Summary: Command-line interface for the v6Node cloud platform.
5
+ Author-email: v6Node <support@v6node.com>
6
+ License: MIT
7
+ Project-URL: Homepage, https://v6node.com
8
+ Project-URL: Repository, https://github.com/v6Node/v6ctl
9
+ Project-URL: Issues, https://github.com/v6Node/v6ctl/issues
10
+ Keywords: v6node,cloud,vps,cli,hosting
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Environment :: Console
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Intended Audience :: System Administrators
15
+ Classifier: License :: OSI Approved :: MIT License
16
+ Classifier: Operating System :: OS Independent
17
+ Classifier: Programming Language :: Python :: 3
18
+ Classifier: Programming Language :: Python :: 3.10
19
+ Classifier: Programming Language :: Python :: 3.11
20
+ Classifier: Programming Language :: Python :: 3.12
21
+ Classifier: Programming Language :: Python :: 3.13
22
+ Classifier: Topic :: System :: Systems Administration
23
+ Classifier: Topic :: Utilities
24
+ Requires-Python: >=3.10
25
+ Description-Content-Type: text/markdown
26
+ License-File: LICENSE
27
+ Requires-Dist: click>=8.1
28
+ Requires-Dist: rich>=13.0
29
+ Requires-Dist: requests>=2.31
30
+ Dynamic: license-file
31
+
32
+ # v6ctl
33
+
34
+ The official command-line interface for the [v6Node](https://v6node.com) cloud platform.
35
+
36
+ Deploy and manage VPS nodes, SSH keys, webhooks, and more — all from your terminal.
37
+
38
+ ```text
39
+ $ v6ctl nodes list
40
+ ╭───────────────────────────── Nodes ─────────────────────────────╮
41
+ │ ID Hostname Region Plan OS IP │
42
+ │ a0fd028d prod-web-1 Nürnberg Standard debian-13 5.1.2.3 │
43
+ │ b12c444e staging-db Nürnberg Compute ubuntu-24 5.1.2.4 │
44
+ ╰─────────────────────────────────────────────────────────────────╯
45
+ ```
46
+
47
+ ## Install
48
+
49
+ ```bash
50
+ pipx install v6ctl
51
+ ```
52
+
53
+ ### Don't have pipx?
54
+
55
+ ```bash
56
+ # macOS
57
+ brew install pipx
58
+
59
+ # Debian / Ubuntu
60
+ sudo apt install pipx
61
+
62
+ # Everywhere else
63
+ python3 -m pip install --user pipx
64
+ python3 -m pipx ensurepath
65
+ ```
66
+
67
+ Or use plain pip:
68
+
69
+ ```bash
70
+ pip install v6ctl
71
+ ```
72
+
73
+ ## Configure
74
+
75
+ Get your API token from the [v6Node dashboard](https://cloud.v6node.com), then:
76
+
77
+ ```bash
78
+ v6ctl config set token v6_...
79
+ ```
80
+
81
+ Token is stored at `~/.config/v6ctl/config.json` with `0600` permissions.
82
+
83
+ Alternatively, set `V6_TOKEN` in your environment.
84
+
85
+ ## Use
86
+
87
+ ```bash
88
+ v6ctl nodes list # list your nodes
89
+ v6ctl nodes show <pay-id> # full details for a node
90
+ v6ctl nodes create -r 7 -p 13 -k 3200 -t debian-13
91
+ v6ctl nodes reboot <pay-id>
92
+ v6ctl nodes delete <pay-id>
93
+
94
+ v6ctl keys list # list SSH keys
95
+ v6ctl keys create -d "laptop" -k "ssh-ed25519 AAAA..."
96
+
97
+ v6ctl webhooks create -u https://example.com/hook -e node.deployed
98
+
99
+ v6ctl plans # available plans + pricing
100
+ v6ctl regions # available regions
101
+ v6ctl templates # available OS templates
102
+ ```
103
+
104
+ Run `v6ctl --help` or `v6ctl <command> --help` for the full reference.
105
+
106
+ ## JSON output
107
+
108
+ Every command supports `--json` for scripting:
109
+
110
+ ```bash
111
+ v6ctl --json nodes list | jq '.items[].pay_id'
112
+ v6ctl --json plans | jq '.[] | select(.memory_mb >= 4096)'
113
+ ```
114
+
115
+ ## Configuration
116
+
117
+ | Where | Precedence |
118
+ | --- | --- |
119
+ | `--flag` on the command line | 1 (highest) |
120
+ | Environment variable (`V6_TOKEN`, `V6_API_URL`) | 2 |
121
+ | Config file `~/.config/v6ctl/config.json` | 3 |
122
+ | Built-in defaults | 4 (lowest) |
123
+
124
+ ```bash
125
+ v6ctl config show # show resolved config (token redacted)
126
+ v6ctl config path # print config file path
127
+ v6ctl config set api_url https://cloud.v6node.com/api/v1
128
+ v6ctl config unset token
129
+ ```
130
+
131
+ ## Requirements
132
+
133
+ - Python 3.10 or newer
134
+
135
+ ## License
136
+
137
+ MIT — see [LICENSE](LICENSE).
@@ -0,0 +1,7 @@
1
+ v6ctl.py,sha256=vylzfP8Esvtm2q1tQ4ry7Bt4hHsgvyLGCcboHV7NGis,41767
2
+ v6ctl-0.1.0.dist-info/licenses/LICENSE,sha256=DukKCogmJp-Ms-kLbWZI5UWss7BKXtexlTtCjGskMEg,1063
3
+ v6ctl-0.1.0.dist-info/METADATA,sha256=1FQErn2Sr6sx3o4Vnwjx_xSFmaxytUuN32NOc1EKMV4,4017
4
+ v6ctl-0.1.0.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
5
+ v6ctl-0.1.0.dist-info/entry_points.txt,sha256=BRL_DXx6JRl2uFfeI8439RBPMfh8IALKRi38qEWZUZg,36
6
+ v6ctl-0.1.0.dist-info/top_level.txt,sha256=24IWepYLvEir653-VsHL9TzFqHDggAWoR-uSNJcaPyo,6
7
+ v6ctl-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (82.0.1)
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
5
+
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ v6ctl = v6ctl:cli
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 v6Node
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ 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 THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -0,0 +1 @@
1
+ v6ctl