chassis-cloud 0.1.0__tar.gz → 0.1.2__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.
- {chassis_cloud-0.1.0 → chassis_cloud-0.1.2}/PKG-INFO +5 -15
- {chassis_cloud-0.1.0 → chassis_cloud-0.1.2}/README.md +4 -14
- {chassis_cloud-0.1.0 → chassis_cloud-0.1.2}/pyproject.toml +1 -1
- {chassis_cloud-0.1.0 → chassis_cloud-0.1.2}/.gitignore +0 -0
- {chassis_cloud-0.1.0 → chassis_cloud-0.1.2}/chassis/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: chassis-cloud
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Official Python SDK for the Chassis GPU cloud API by OkeyMeta Ltd
|
|
5
5
|
Project-URL: Homepage, https://chassis.okeymeta.com.ng/docs
|
|
6
6
|
Project-URL: Documentation, https://chassis.okeymeta.com.ng/docs
|
|
@@ -15,24 +15,20 @@ Provides-Extra: requests
|
|
|
15
15
|
Requires-Dist: requests>=2.31.0; extra == 'requests'
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
|
|
18
|
-
# chassis (Python)
|
|
18
|
+
# chassis-cloud (Python)
|
|
19
19
|
|
|
20
20
|
Official Python client for the Chassis public API (`/api/v1`).
|
|
21
21
|
|
|
22
22
|
Default base URL: `https://chassis.okeymeta.com.ng/api/v1`
|
|
23
23
|
|
|
24
|
+
PyPI: [chassis-cloud](https://pypi.org/project/chassis-cloud/) · import as `chassis`
|
|
25
|
+
|
|
24
26
|
## Install
|
|
25
27
|
|
|
26
28
|
```bash
|
|
27
29
|
pip install chassis-cloud
|
|
28
30
|
```
|
|
29
31
|
|
|
30
|
-
From this monorepo during development:
|
|
31
|
-
|
|
32
|
-
```bash
|
|
33
|
-
pip install -e packages/sdk-python
|
|
34
|
-
```
|
|
35
|
-
|
|
36
32
|
Requires **Python 3.10+** and **httpx**.
|
|
37
33
|
|
|
38
34
|
```python
|
|
@@ -50,12 +46,6 @@ with Chassis(api_key="chs_...") as client:
|
|
|
50
46
|
...
|
|
51
47
|
```
|
|
52
48
|
|
|
53
|
-
Optional local override:
|
|
54
|
-
|
|
55
|
-
```python
|
|
56
|
-
Chassis(api_key="chs_...", base_url="http://localhost:3000/api/v1")
|
|
57
|
-
```
|
|
58
|
-
|
|
59
49
|
## Quickstart
|
|
60
50
|
|
|
61
51
|
```python
|
|
@@ -156,7 +146,7 @@ health = client.get_endpoint_health(endpoints[0]["id"])
|
|
|
156
146
|
|
|
157
147
|
Create options also accept `env`, `interruptible`, and `publicIp`.
|
|
158
148
|
|
|
159
|
-
|
|
149
|
+
Responses use `data` / `error`. Failures raise `ChassisError` with `.status`, `.body`, and a clear message.
|
|
160
150
|
|
|
161
151
|
## Docs
|
|
162
152
|
|
|
@@ -1,21 +1,17 @@
|
|
|
1
|
-
# chassis (Python)
|
|
1
|
+
# chassis-cloud (Python)
|
|
2
2
|
|
|
3
3
|
Official Python client for the Chassis public API (`/api/v1`).
|
|
4
4
|
|
|
5
5
|
Default base URL: `https://chassis.okeymeta.com.ng/api/v1`
|
|
6
6
|
|
|
7
|
+
PyPI: [chassis-cloud](https://pypi.org/project/chassis-cloud/) · import as `chassis`
|
|
8
|
+
|
|
7
9
|
## Install
|
|
8
10
|
|
|
9
11
|
```bash
|
|
10
12
|
pip install chassis-cloud
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
From this monorepo during development:
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
pip install -e packages/sdk-python
|
|
17
|
-
```
|
|
18
|
-
|
|
19
15
|
Requires **Python 3.10+** and **httpx**.
|
|
20
16
|
|
|
21
17
|
```python
|
|
@@ -33,12 +29,6 @@ with Chassis(api_key="chs_...") as client:
|
|
|
33
29
|
...
|
|
34
30
|
```
|
|
35
31
|
|
|
36
|
-
Optional local override:
|
|
37
|
-
|
|
38
|
-
```python
|
|
39
|
-
Chassis(api_key="chs_...", base_url="http://localhost:3000/api/v1")
|
|
40
|
-
```
|
|
41
|
-
|
|
42
32
|
## Quickstart
|
|
43
33
|
|
|
44
34
|
```python
|
|
@@ -139,7 +129,7 @@ health = client.get_endpoint_health(endpoints[0]["id"])
|
|
|
139
129
|
|
|
140
130
|
Create options also accept `env`, `interruptible`, and `publicIp`.
|
|
141
131
|
|
|
142
|
-
|
|
132
|
+
Responses use `data` / `error`. Failures raise `ChassisError` with `.status`, `.body`, and a clear message.
|
|
143
133
|
|
|
144
134
|
## Docs
|
|
145
135
|
|
|
File without changes
|
|
File without changes
|