hypercli-cli 0.4.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,124 @@
1
+ Metadata-Version: 2.4
2
+ Name: hypercli-cli
3
+ Version: 0.4.0
4
+ Summary: CLI for HyperCLI - GPU orchestration and LLM API
5
+ Project-URL: Homepage, https://hypercli.com
6
+ Project-URL: Documentation, https://docs.hypercli.com
7
+ Author-email: HyperCLI <support@hypercli.com>
8
+ License-Expression: MIT
9
+ Requires-Python: >=3.10
10
+ Requires-Dist: hypercli-sdk[comfyui]>=0.4.0
11
+ Requires-Dist: openai>=2.8.1
12
+ Requires-Dist: rich>=14.2.0
13
+ Requires-Dist: typer>=0.20.0
14
+ Requires-Dist: websocket-client>=1.6.0
15
+ Provides-Extra: dev
16
+ Requires-Dist: pytest>=8.0.0; extra == 'dev'
17
+ Requires-Dist: ruff>=0.3.0; extra == 'dev'
18
+ Description-Content-Type: text/markdown
19
+
20
+ # C3 CLI
21
+
22
+ Command-line interface for [HyperCLI](https://hypercli.com) - GPU orchestration and LLM API.
23
+
24
+ ## Installation
25
+
26
+ ```bash
27
+ pip install c3-cli
28
+ ```
29
+
30
+ This also installs the `c3-sdk` as a dependency.
31
+
32
+ ## Setup
33
+
34
+ Configure your API key:
35
+
36
+ ```bash
37
+ c3 configure
38
+ ```
39
+
40
+ Or set via environment:
41
+
42
+ ```bash
43
+ export C3_API_KEY=your_key
44
+ ```
45
+
46
+ Or create `~/.c3/config`:
47
+
48
+ ```
49
+ C3_API_KEY=your_key
50
+ ```
51
+
52
+ Get your API key at [hypercli.com/dashboard](https://hypercli.com/dashboard)
53
+
54
+ ## Usage
55
+
56
+ ### Billing
57
+
58
+ ```bash
59
+ c3 billing balance
60
+ c3 billing transactions
61
+ c3 billing balance -o json
62
+ ```
63
+
64
+ ### LLM
65
+
66
+ ```bash
67
+ # List models
68
+ c3 llm models
69
+
70
+ # Quick chat
71
+ c3 llm chat deepseek-v3.1 "Explain quantum computing"
72
+
73
+ # Interactive chat
74
+ c3 llm chat deepseek-v3.1
75
+
76
+ # With system prompt
77
+ c3 llm chat deepseek-v3.1 "Write a haiku" -s "You are a poet"
78
+ ```
79
+
80
+ ### Jobs
81
+
82
+ ```bash
83
+ # List jobs
84
+ c3 jobs list
85
+ c3 jobs list -s running
86
+
87
+ # Create a job
88
+ c3 jobs create nvidia/cuda:12.0 -g l40s -c "python train.py"
89
+
90
+ # Create and follow logs with TUI
91
+ c3 jobs create nvidia/cuda:12.0 -g h100 -n 8 -c "torchrun train.py" -f
92
+
93
+ # Get job details
94
+ c3 jobs get <job_id>
95
+
96
+ # Stream logs
97
+ c3 jobs logs <job_id> -f
98
+
99
+ # Watch GPU metrics
100
+ c3 jobs metrics <job_id> -w
101
+
102
+ # Cancel
103
+ c3 jobs cancel <job_id>
104
+
105
+ # Extend runtime
106
+ c3 jobs extend <job_id> 7200
107
+ ```
108
+
109
+ ### User
110
+
111
+ ```bash
112
+ c3 user
113
+ ```
114
+
115
+ ## Output Formats
116
+
117
+ ```bash
118
+ c3 jobs list -o json
119
+ c3 billing balance -o table
120
+ ```
121
+
122
+ ## License
123
+
124
+ MIT
@@ -0,0 +1,16 @@
1
+ c3cli/__init__.py,sha256=kUR5RAFc7HCeiqdlX36dZOHkUI5wI6V_43RpEcD8b-0,22
2
+ c3cli/billing.py,sha256=WmA-HEStfHb4oDf8aCj7b9miA4DP3m-poE0tnh-3NvY,1881
3
+ c3cli/cli.py,sha256=HknTMmHp1LM-E9wqQ4K7ZX_f_pq2N7dST80SGu88KRw,6270
4
+ c3cli/comfyui.py,sha256=MWAI0xFJhTxMxTceFWa1e6gdw_mTP74lcPLsap_CuS4,31524
5
+ c3cli/instances.py,sha256=0INoKC7C1eN_sJg2oSJouzu_AP_l3IzoHI7fq08fOVY,6864
6
+ c3cli/jobs.py,sha256=nDYI0TqolBuwdkjVelhYdKy_HiAF_AlTPFh--_vC34o,7555
7
+ c3cli/llm.py,sha256=iO1EOa7ZA0kRwrLBEQcOIC0kwV-IEEY7HMTm30Ys9kM,10675
8
+ c3cli/output.py,sha256=97yzhKBJWkVNxRqAJB1o2tQQQgoCHhYAn38Yh4LEoYc,2080
9
+ c3cli/renders.py,sha256=l8ElRqRgQdWx3p7I5pM023JAmq75Vng2TMR71u-uDO4,6461
10
+ c3cli/user.py,sha256=cju2V88XEmAStXoYh4QMnzPGIZA_NBqLr59tyCF7-Rk,511
11
+ c3cli/tui/__init__.py,sha256=MqxTrZv23-UOFb_VGC1-Nh83rGsKiDXIzcM-i6mDBLk,128
12
+ c3cli/tui/job_monitor.py,sha256=xTNlN3YJiSqIkKmuf_K0e4XJMNflfiI3f9tQY2OZUOU,12683
13
+ hypercli_cli-0.4.0.dist-info/METADATA,sha256=Ku7vc59hcvt72bIIZxoML8m2WG8Z3K_kV2J79cr-93U,2034
14
+ hypercli_cli-0.4.0.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
15
+ hypercli_cli-0.4.0.dist-info/entry_points.txt,sha256=Xc7u3ER6B_ETDI1_H5GpkdvnEFft6oRUgBZLvcZ2Wxo,40
16
+ hypercli_cli-0.4.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.28.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ hyper = c3cli.cli:cli