boxd 0.2.6.dev398__py3-none-any.whl → 0.2.6.dev400__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.
boxd/_client.py CHANGED
@@ -30,7 +30,7 @@ class Boxd:
30
30
 
31
31
  boxd = Boxd() # production
32
32
  boxd = Boxd(api_key="bxd_...")
33
- boxd = Boxd(base_url="http://boxd-stg.sh:9443") # any other cluster
33
+ boxd = Boxd(base_url="https://boxd-stg.sh:9443") # any other cluster
34
34
 
35
35
  Args:
36
36
  api_key: A `bxd_` API key. Defaults to `BOXD_API_KEY`.
boxd/_urls.py CHANGED
@@ -11,10 +11,10 @@ import ipaddress
11
11
  import os
12
12
  from typing import NamedTuple
13
13
 
14
- # gRPC front door. Plaintext h2c — the public API is not TLS-wrapped today
15
- # (see `proto/CLAUDE.md`); an https:// base_url still works if a cluster fronts
16
- # it with TLS.
17
- DEFAULT_BASE_URL = "http://boxd.sh:9443"
14
+ # gRPC front door, over TLS. The proxy still accepts plain HTTP/2 on the same
15
+ # port for older clients, so an explicit http:// base_url keeps working against
16
+ # any cluster (see `crates/boxd-proxy/src/api_transport.rs`).
17
+ DEFAULT_BASE_URL = "https://boxd.sh:9443"
18
18
 
19
19
  EXCHANGE_PATH = "/api/v1/auth/token"
20
20
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: boxd
3
- Version: 0.2.6.dev398
3
+ Version: 0.2.6.dev400
4
4
  Summary: Python SDK for the boxd cloud VM platform
5
5
  Author: Azin
6
6
  License-Expression: MIT
@@ -77,7 +77,7 @@ Every argument is keyword-only.
77
77
  |---|---|---|
78
78
  | `api_key` | `BOXD_API_KEY` | — |
79
79
  | `token` | `BOXD_TOKEN` | — |
80
- | `base_url` | `BOXD_BASE_URL` (or the deprecated `BOXD_API_URL`) | `http://boxd.sh:9443` |
80
+ | `base_url` | `BOXD_BASE_URL` (or the deprecated `BOXD_API_URL`) | `https://boxd.sh:9443` |
81
81
  | `timeout` | — | 60.0 seconds |
82
82
  | `max_retries` | — | 2 |
83
83
 
@@ -1,11 +1,11 @@
1
1
  boxd/__init__.py,sha256=4fGbOYgQ_32_GQCLf7Nv4CTWfuSvdomx5tr57QA-zys,2868
2
- boxd/_client.py,sha256=oqJ_XtuzmmKW1jgzQ57na-ndT7PzAd8-QAxoYNbLpY0,5161
2
+ boxd/_client.py,sha256=8zQny4uNiraa7hDnb7JzWfKGimbH8AG9KC5AwlEESUk,5162
3
3
  boxd/_credentials.py,sha256=Z7sjbl9Y_tcKBLk6PA5YOSNews8GrYr391phFpnrW3E,11492
4
4
  boxd/_mappers.py,sha256=kHnqVWUyixHS-XsEkNALlvXhGqp1RL-pOicfrLntv5U,12936
5
5
  boxd/_requests.py,sha256=s3d0IKxJjyX0klJwNaufYRWt4lwlQdxQgjAD6aNL6q4,9734
6
6
  boxd/_streaming.py,sha256=MEhPUhgdnwGnk0H8xUKx8kx2z-3Mcmhx4iS-yO-ifvI,6222
7
7
  boxd/_transport.py,sha256=pU9pY3V6UBj8prnO5suo7g32saadhL-EiffXi3Agtjs,8750
8
- boxd/_urls.py,sha256=pVwXTQGBmSieY-wwvXx5l6Be5lIrBcnjOdCCMMwW1Hs,3654
8
+ boxd/_urls.py,sha256=1zORQXdwur8T6KUi3QRhv1tEx5jekhz-1h-bKcrm3cU,3703
9
9
  boxd/_version_check.py,sha256=XJD_BY1CH5xOn2ArrbO2ZQXI6xf41o-zwQIReohF8sg,5623
10
10
  boxd/errors.py,sha256=Vapb1US78lxMvnzqsQ6oyHl2r_rs417Hl8YucT5Lme8,3435
11
11
  boxd/models.py,sha256=Mi0zRgJL3nkkeUiSU7dtT7ggc9NJi_dTHL3XBAcNxF4,14272
@@ -21,8 +21,8 @@ boxd/resources/machines.py,sha256=MDyw5HphuI7YNFKPbTkjG0QFWWnQxq7F2RloM8-59xg,47
21
21
  boxd/resources/orgs.py,sha256=KMG5MDZiZWbFgtwBR_F6tpwr1Kzjvnr6S5HOMPndd_0,7702
22
22
  boxd/resources/snapshots.py,sha256=xzVvBqcjimeor0pcWMyrGePxBJ-aV8NPbKYuIvu6epU,3181
23
23
  boxd/resources/vars.py,sha256=SuiK6h15Ols9TLA28WIRP_a86PfAnoDIDsi2JH1ZVVs,8301
24
- boxd-0.2.6.dev398.dist-info/licenses/LICENSE,sha256=rD8_32iKSf_QarUkwB8tTujEORtC3uYs4KIggm6cFKg,1061
25
- boxd-0.2.6.dev398.dist-info/METADATA,sha256=_019etJ5MicQQwdEoCTAdYdU4BxhX4SjnjT1nfztMBI,26582
26
- boxd-0.2.6.dev398.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
27
- boxd-0.2.6.dev398.dist-info/top_level.txt,sha256=lJFbtvnDUx23dMMfX5hqRWPjtUhgrLpNJ9qdCPwON30,5
28
- boxd-0.2.6.dev398.dist-info/RECORD,,
24
+ boxd-0.2.6.dev400.dist-info/licenses/LICENSE,sha256=rD8_32iKSf_QarUkwB8tTujEORtC3uYs4KIggm6cFKg,1061
25
+ boxd-0.2.6.dev400.dist-info/METADATA,sha256=8ji71ozZqS2s1zffm_CEPi4lvEjc3-iv5f6uE33dosE,26583
26
+ boxd-0.2.6.dev400.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
27
+ boxd-0.2.6.dev400.dist-info/top_level.txt,sha256=lJFbtvnDUx23dMMfX5hqRWPjtUhgrLpNJ9qdCPwON30,5
28
+ boxd-0.2.6.dev400.dist-info/RECORD,,