verda 1.17.0__py3-none-any.whl → 1.17.2__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.
verda/__init__.py
CHANGED
|
@@ -1,22 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
from verda._verda import VerdaClient
|
|
3
2
|
from verda._version import __version__
|
|
4
|
-
from verda.verda import VerdaClient
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
class _DataCrunchClientAlias:
|
|
8
|
-
def __call__(self, *args, **kwargs):
|
|
9
|
-
warnings.warn(
|
|
10
|
-
'DataCrunchClient is deprecated; use VerdaClient instead.',
|
|
11
|
-
DeprecationWarning,
|
|
12
|
-
stacklevel=2,
|
|
13
|
-
)
|
|
14
|
-
return VerdaClient(*args, **kwargs)
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
# creates a callable that behaves like the class
|
|
18
|
-
DataCrunchClient = _DataCrunchClientAlias()
|
|
19
|
-
DataCrunchClient.__name__ = 'DataCrunchClient'
|
|
20
|
-
DataCrunchClient.__doc__ = VerdaClient.__doc__
|
|
21
3
|
|
|
22
|
-
__all__ = ['
|
|
4
|
+
__all__ = ['VerdaClient']
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: verda
|
|
3
|
-
Version: 1.17.
|
|
3
|
+
Version: 1.17.2
|
|
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>
|
|
@@ -18,7 +18,7 @@ Classifier: Programming Language :: Python :: 3.14
|
|
|
18
18
|
Requires-Dist: requests>=2.25.1,<3
|
|
19
19
|
Requires-Dist: dataclasses-json>=0.6.7
|
|
20
20
|
Requires-Python: >=3.10
|
|
21
|
-
Project-URL: Changelog, https://
|
|
21
|
+
Project-URL: Changelog, https://github.com/verda-cloud/sdk-python/blob/master/CHANGELOG.md
|
|
22
22
|
Project-URL: Documentation, https://datacrunch-python.readthedocs.io/
|
|
23
23
|
Project-URL: Homepage, https://github.com/verda-cloud
|
|
24
24
|
Project-URL: Repository, https://github.com/verda-cloud/sdk-python
|
|
@@ -46,7 +46,7 @@ Verda Public API documentation [is available here](https://api.verda.com/v1/docs
|
|
|
46
46
|
|
|
47
47
|
```bash
|
|
48
48
|
# via pip
|
|
49
|
-
|
|
49
|
+
pip install verda
|
|
50
50
|
|
|
51
51
|
# via uv
|
|
52
52
|
uv add verda
|
|
@@ -143,7 +143,7 @@ Create a file in the root directory of the project:
|
|
|
143
143
|
|
|
144
144
|
```python
|
|
145
145
|
# example.py
|
|
146
|
-
from verda
|
|
146
|
+
from verda import VerdaClient
|
|
147
147
|
|
|
148
148
|
CLIENT_SECRET = 'secret'
|
|
149
149
|
CLIENT_ID = 'your-id'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
verda/InferenceClient/__init__.py,sha256=oe7RQfoKbKJnIFWOt6TNtdzjXk5Gcl4-smO5DjLE6M0,117
|
|
2
2
|
verda/InferenceClient/inference_client.py,sha256=Lqq7NxpisZdRauThoJCNOnRLdh2UdQGUpnFSAy5eqL4,17209
|
|
3
|
-
verda/__init__.py,sha256=
|
|
3
|
+
verda/__init__.py,sha256=GyYkf1YXGf8vGsFeaAqIBS5zTXS6Tn8iZjzArPLiFdc,103
|
|
4
|
+
verda/_verda.py,sha256=Ki7jl4459g2Tz_3fG3vWIs1OsfECy--o3DiTD50Mg_g,3391
|
|
4
5
|
verda/_version.py,sha256=T11BBcYkWMV48TEHtEI08YyNekJT7iKT6JgY-3Xg6Ws,160
|
|
5
6
|
verda/authentication/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
7
|
verda/authentication/authentication.py,sha256=rCp46zoQNMoNyJZRIcfXLphZNk18LzMh8a4PgO9-A6Q,3506
|
|
@@ -9,7 +10,6 @@ verda/balance/balance.py,sha256=tMuulgL7U4pSPG2hIts1UkB9KShdqLcrjnR3uhYj7KM,1221
|
|
|
9
10
|
verda/constants.py,sha256=cL0rj35X1VS-IHisqxwDgn8PXUjGjfuqUqotS4GB98E,2687
|
|
10
11
|
verda/containers/__init__.py,sha256=I6_H8w90MzlHi4MQ-Oo3R7kUopgU4yLRkaSjOAB6jWI,744
|
|
11
12
|
verda/containers/containers.py,sha256=0wgviFHMdO0O0fzZNz5bIgjWhbuL3R17lQmDToBnmSY,35666
|
|
12
|
-
verda/datacrunch.py,sha256=m1AiQbAm3rCBfDnJesuRzD_NA1IiqGWW73V4dd7493I,1376
|
|
13
13
|
verda/exceptions.py,sha256=B0GD8nHDDvBT8meFnrott8kEZtn8PF6eID6Xcdb8RQE,786
|
|
14
14
|
verda/helpers.py,sha256=qvpWNoh1jqfBGxsYPFTNs_fDeF_H7WsalKeCXTH-bDw,657
|
|
15
15
|
verda/http_client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
@@ -26,11 +26,10 @@ verda/ssh_keys/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
26
26
|
verda/ssh_keys/ssh_keys.py,sha256=5K9UYiNUtKNaUuRb_wGNVMgOJj40YLXlkZaOGoROxio,2868
|
|
27
27
|
verda/startup_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
28
|
verda/startup_scripts/startup_scripts.py,sha256=Q5i5NESB_DOJ9PjCNQFYQubn1CsankMudD217TbfMB8,3129
|
|
29
|
-
verda/verda.py,sha256=Ki7jl4459g2Tz_3fG3vWIs1OsfECy--o3DiTD50Mg_g,3391
|
|
30
29
|
verda/volume_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
30
|
verda/volume_types/volume_types.py,sha256=unvFrhWONbOPcsFzf2Oo29IZ8cC5czNRxuAO0dNiVko,1833
|
|
32
31
|
verda/volumes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
33
32
|
verda/volumes/volumes.py,sha256=V_W51f25HkLrr_PTJwfH4Z532xEZlHaG3MxOpNAoy7Q,11536
|
|
34
|
-
verda-1.17.
|
|
35
|
-
verda-1.17.
|
|
36
|
-
verda-1.17.
|
|
33
|
+
verda-1.17.2.dist-info/WHEEL,sha256=YUH1mBqsx8Dh2cQG2rlcuRYUhJddG9iClegy4IgnHik,79
|
|
34
|
+
verda-1.17.2.dist-info/METADATA,sha256=CVz4xa4moNgK56veqtG-qCuQtA33MQd5qLTuZ5njJwo,5421
|
|
35
|
+
verda-1.17.2.dist-info/RECORD,,
|
verda/datacrunch.py
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# Frozen, minimal compatibility layer for old DataCrunch API
|
|
2
|
-
|
|
3
|
-
from verda import DataCrunchClient
|
|
4
|
-
from verda._version import __version__
|
|
5
|
-
from verda.authentication.authentication import AuthenticationService
|
|
6
|
-
from verda.balance.balance import BalanceService
|
|
7
|
-
from verda.constants import Constants
|
|
8
|
-
from verda.containers.containers import ContainersService
|
|
9
|
-
from verda.http_client.http_client import HTTPClient
|
|
10
|
-
from verda.images.images import ImagesService
|
|
11
|
-
from verda.instance_types.instance_types import InstanceTypesService
|
|
12
|
-
from verda.instances.instances import InstancesService
|
|
13
|
-
from verda.locations.locations import LocationsService
|
|
14
|
-
from verda.ssh_keys.ssh_keys import SSHKeysService
|
|
15
|
-
from verda.startup_scripts.startup_scripts import StartupScriptsService
|
|
16
|
-
from verda.volume_types.volume_types import VolumeTypesService
|
|
17
|
-
from verda.volumes.volumes import VolumesService
|
|
18
|
-
|
|
19
|
-
__all__ = [
|
|
20
|
-
'AuthenticationService',
|
|
21
|
-
'BalanceService',
|
|
22
|
-
'Constants',
|
|
23
|
-
'ContainersService',
|
|
24
|
-
'DataCrunchClient',
|
|
25
|
-
'HTTPClient',
|
|
26
|
-
'ImagesService',
|
|
27
|
-
'InstanceTypesService',
|
|
28
|
-
'InstancesService',
|
|
29
|
-
'LocationsService',
|
|
30
|
-
'SSHKeysService',
|
|
31
|
-
'StartupScriptsService',
|
|
32
|
-
'VolumeTypesService',
|
|
33
|
-
'VolumesService',
|
|
34
|
-
'__version__',
|
|
35
|
-
]
|
|
36
|
-
|
|
37
|
-
import warnings
|
|
38
|
-
|
|
39
|
-
warnings.warn(
|
|
40
|
-
'datacrunch.datacrunch is deprecated; use `from verda` instead.',
|
|
41
|
-
DeprecationWarning,
|
|
42
|
-
stacklevel=2,
|
|
43
|
-
)
|
/verda/{verda.py → _verda.py}
RENAMED
|
File without changes
|
|
File without changes
|