verda 0.2.0__tar.gz → 1.17.0__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.
- {verda-0.2.0 → verda-1.17.0}/PKG-INFO +3 -3
- {verda-0.2.0 → verda-1.17.0}/README.md +2 -2
- {verda-0.2.0 → verda-1.17.0}/pyproject.toml +1 -1
- {verda-0.2.0 → verda-1.17.0}/verda/http_client/http_client.py +2 -2
- {verda-0.2.0 → verda-1.17.0}/verda/verda.py +2 -2
- {verda-0.2.0 → verda-1.17.0}/verda/InferenceClient/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/InferenceClient/inference_client.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/_version.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/authentication/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/authentication/authentication.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/balance/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/balance/balance.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/constants.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/containers/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/containers/containers.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/datacrunch.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/exceptions.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/helpers.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/http_client/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/images/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/images/images.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/instance_types/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/instance_types/instance_types.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/instances/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/instances/instances.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/locations/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/locations/locations.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/ssh_keys/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/ssh_keys/ssh_keys.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/startup_scripts/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/startup_scripts/startup_scripts.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/volume_types/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/volume_types/volume_types.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/volumes/__init__.py +0 -0
- {verda-0.2.0 → verda-1.17.0}/verda/volumes/volumes.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: verda
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.17.0
|
|
4
4
|
Summary: Official Python SDK for Verda (formerly DataCrunch) Public API
|
|
5
5
|
Author: Verda Cloud Oy
|
|
6
6
|
Author-email: Verda Cloud Oy <info@verda.com>
|
|
@@ -38,7 +38,7 @@ The official [Verda](https://verda.com) (formerly DataCrunch) Python SDK.
|
|
|
38
38
|
|
|
39
39
|
The SDK's documentation is available on [ReadTheDocs](https://datacrunch-python.readthedocs.io/en/latest/)
|
|
40
40
|
|
|
41
|
-
Verda Public API documentation [is available here](https://api.
|
|
41
|
+
Verda Public API documentation [is available here](https://api.verda.com/v1/docs).
|
|
42
42
|
|
|
43
43
|
## Getting Started - Using the SDK:
|
|
44
44
|
|
|
@@ -52,7 +52,7 @@ Verda Public API documentation [is available here](https://api.datacrunch.io/v1/
|
|
|
52
52
|
uv add verda
|
|
53
53
|
```
|
|
54
54
|
|
|
55
|
-
- Generate your client credentials - [instructions in the public API docs](https://api.
|
|
55
|
+
- Generate your client credentials - [instructions in the public API docs](https://api.verda.com/v1/docs#description/quick-start-guide).
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
- Add your client id and client secret to an environment variable (don't want it to be hardcoded):
|
|
@@ -12,7 +12,7 @@ The official [Verda](https://verda.com) (formerly DataCrunch) Python SDK.
|
|
|
12
12
|
|
|
13
13
|
The SDK's documentation is available on [ReadTheDocs](https://datacrunch-python.readthedocs.io/en/latest/)
|
|
14
14
|
|
|
15
|
-
Verda Public API documentation [is available here](https://api.
|
|
15
|
+
Verda Public API documentation [is available here](https://api.verda.com/v1/docs).
|
|
16
16
|
|
|
17
17
|
## Getting Started - Using the SDK:
|
|
18
18
|
|
|
@@ -26,7 +26,7 @@ Verda Public API documentation [is available here](https://api.datacrunch.io/v1/
|
|
|
26
26
|
uv add verda
|
|
27
27
|
```
|
|
28
28
|
|
|
29
|
-
- Generate your client credentials - [instructions in the public API docs](https://api.
|
|
29
|
+
- Generate your client credentials - [instructions in the public API docs](https://api.verda.com/v1/docs#description/quick-start-guide).
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
- Add your client id and client secret to an environment variable (don't want it to be hardcoded):
|
|
@@ -235,8 +235,8 @@ class HTTPClient:
|
|
|
235
235
|
|
|
236
236
|
Example:
|
|
237
237
|
if the relative url is '/balance'
|
|
238
|
-
and the base url is 'https://api.
|
|
239
|
-
then this method will return 'https://api.
|
|
238
|
+
and the base url is 'https://api.verda.com/v1'
|
|
239
|
+
then this method will return 'https://api.verda.com/v1/balance'
|
|
240
240
|
|
|
241
241
|
:param url: a relative url path
|
|
242
242
|
:type url: str
|
|
@@ -21,7 +21,7 @@ class VerdaClient:
|
|
|
21
21
|
self,
|
|
22
22
|
client_id: str,
|
|
23
23
|
client_secret: str,
|
|
24
|
-
base_url: str = 'https://api.
|
|
24
|
+
base_url: str = 'https://api.verda.com/v1',
|
|
25
25
|
inference_key: str | None = None,
|
|
26
26
|
) -> None:
|
|
27
27
|
"""Verda client.
|
|
@@ -30,7 +30,7 @@ class VerdaClient:
|
|
|
30
30
|
:type client_id: str
|
|
31
31
|
:param client_secret: client secret
|
|
32
32
|
:type client_secret: str
|
|
33
|
-
:param base_url: base url for all the endpoints, optional, defaults to "https://api.
|
|
33
|
+
:param base_url: base url for all the endpoints, optional, defaults to "https://api.verda.com/v1"
|
|
34
34
|
:type base_url: str, optional
|
|
35
35
|
:param inference_key: inference key, optional
|
|
36
36
|
:type inference_key: str, optional
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|