hypercli-cli 0.8.9__tar.gz → 0.8.11__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: hypercli-cli
3
- Version: 0.8.9
3
+ Version: 0.8.11
4
4
  Summary: CLI for HyperCLI - GPU orchestration and LLM API
5
5
  Project-URL: Homepage, https://hypercli.com
6
6
  Project-URL: Documentation, https://docs.hypercli.com
@@ -190,7 +190,9 @@ def launch(
190
190
  runtime: Optional[int] = typer.Option(None, "--runtime", "-t", help="Runtime in seconds"),
191
191
  interruptible: bool = typer.Option(True, "--interruptible/--on-demand", help="Use interruptible instances"),
192
192
  env: Optional[list[str]] = typer.Option(None, "--env", "-e", help="Env vars (KEY=VALUE)"),
193
- port: Optional[list[str]] = typer.Option(None, "--port", "-p", help="Ports (name:port)"),
193
+ port: Optional[list[int]] = typer.Option(None, "--port", "-p", help="TCP ports to expose"),
194
+ lb: Optional[int] = typer.Option(None, "--lb", help="HTTPS load balancer port (Traefik + TLS on hostname)"),
195
+ lb_auth: bool = typer.Option(False, "--lb-auth", help="Enable auth on load balancer"),
194
196
  registry_user: Optional[str] = typer.Option(None, "--registry-user", help="Private registry username"),
195
197
  registry_password: Optional[str] = typer.Option(None, "--registry-password", help="Private registry password"),
196
198
  x402: bool = typer.Option(False, "--x402", help="Pay per-use via embedded x402 wallet"),
@@ -219,12 +221,13 @@ def launch(
219
221
 
220
222
  # Parse ports
221
223
  ports_dict = None
222
- if port:
224
+ if port or lb:
223
225
  ports_dict = {}
224
- for p in port:
225
- if ":" in p:
226
- name, port_num = p.split(":", 1)
227
- ports_dict[name] = int(port_num)
226
+ if port:
227
+ for p in port:
228
+ ports_dict[f"{p}/tcp"] = p
229
+ if lb:
230
+ ports_dict["lb"] = lb
228
231
 
229
232
  # Build registry auth if provided
230
233
  registry_auth = None
@@ -305,6 +308,7 @@ def launch(
305
308
  interruptible=interruptible,
306
309
  env=env_dict,
307
310
  ports=ports_dict,
311
+ auth=lb_auth,
308
312
  registry_auth=registry_auth,
309
313
  )
310
314
 
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "hypercli-cli"
7
- version = "0.8.9"
7
+ version = "0.8.11"
8
8
  description = "CLI for HyperCLI - GPU orchestration and LLM API"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.10"
File without changes
File without changes