verda 1.17.2__py3-none-any.whl → 1.17.4__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.
Files changed (32) hide show
  1. verda/_verda.py +12 -12
  2. verda/authentication/__init__.py +1 -0
  3. verda/authentication/{authentication.py → _authentication.py} +1 -1
  4. verda/balance/__init__.py +1 -0
  5. verda/containers/__init__.py +1 -1
  6. verda/containers/{containers.py → _containers.py} +2 -2
  7. verda/http_client/__init__.py +1 -0
  8. verda/images/__init__.py +1 -0
  9. verda/inference_client/__init__.py +7 -0
  10. verda/instance_types/__init__.py +1 -0
  11. verda/instances/__init__.py +1 -0
  12. verda/locations/__init__.py +1 -0
  13. verda/ssh_keys/__init__.py +1 -0
  14. verda/startup_scripts/__init__.py +1 -0
  15. verda/volume_types/__init__.py +1 -0
  16. verda/volumes/__init__.py +1 -0
  17. {verda-1.17.2.dist-info → verda-1.17.4.dist-info}/METADATA +3 -4
  18. verda-1.17.4.dist-info/RECORD +35 -0
  19. verda/InferenceClient/__init__.py +0 -3
  20. verda-1.17.2.dist-info/RECORD +0 -35
  21. /verda/balance/{balance.py → _balance.py} +0 -0
  22. /verda/http_client/{http_client.py → _http_client.py} +0 -0
  23. /verda/images/{images.py → _images.py} +0 -0
  24. /verda/{InferenceClient/inference_client.py → inference_client/_inference_client.py} +0 -0
  25. /verda/instance_types/{instance_types.py → _instance_types.py} +0 -0
  26. /verda/instances/{instances.py → _instances.py} +0 -0
  27. /verda/locations/{locations.py → _locations.py} +0 -0
  28. /verda/ssh_keys/{ssh_keys.py → _ssh_keys.py} +0 -0
  29. /verda/startup_scripts/{startup_scripts.py → _startup_scripts.py} +0 -0
  30. /verda/volume_types/{volume_types.py → _volume_types.py} +0 -0
  31. /verda/volumes/{volumes.py → _volumes.py} +0 -0
  32. {verda-1.17.2.dist-info → verda-1.17.4.dist-info}/WHEEL +0 -0
verda/_verda.py CHANGED
@@ -1,17 +1,17 @@
1
1
  from verda._version import __version__
2
- from verda.authentication.authentication import AuthenticationService
3
- from verda.balance.balance import BalanceService
2
+ from verda.authentication import AuthenticationService
3
+ from verda.balance import BalanceService
4
4
  from verda.constants import Constants
5
- from verda.containers.containers import ContainersService
6
- from verda.http_client.http_client import HTTPClient
7
- from verda.images.images import ImagesService
8
- from verda.instance_types.instance_types import InstanceTypesService
9
- from verda.instances.instances import InstancesService
10
- from verda.locations.locations import LocationsService
11
- from verda.ssh_keys.ssh_keys import SSHKeysService
12
- from verda.startup_scripts.startup_scripts import StartupScriptsService
13
- from verda.volume_types.volume_types import VolumeTypesService
14
- from verda.volumes.volumes import VolumesService
5
+ from verda.containers import ContainersService
6
+ from verda.http_client import HTTPClient
7
+ from verda.images import ImagesService
8
+ from verda.instance_types import InstanceTypesService
9
+ from verda.instances import InstancesService
10
+ from verda.locations import LocationsService
11
+ from verda.ssh_keys import SSHKeysService
12
+ from verda.startup_scripts import StartupScriptsService
13
+ from verda.volume_types import VolumeTypesService
14
+ from verda.volumes import VolumesService
15
15
 
16
16
 
17
17
  class VerdaClient:
@@ -0,0 +1 @@
1
+ from ._authentication import AuthenticationService
@@ -2,7 +2,7 @@ import time
2
2
 
3
3
  import requests
4
4
 
5
- from verda.http_client.http_client import handle_error
5
+ from verda.http_client import handle_error
6
6
 
7
7
  TOKEN_ENDPOINT = '/oauth2/token'
8
8
 
verda/balance/__init__.py CHANGED
@@ -0,0 +1 @@
1
+ from ._balance import Balance, BalanceService
@@ -1,4 +1,4 @@
1
- from .containers import (
1
+ from ._containers import (
2
2
  AWSECRCredentials,
3
3
  BaseRegistryCredentials,
4
4
  ComputeResource,
@@ -12,8 +12,8 @@ from typing import Any
12
12
 
13
13
  from dataclasses_json import Undefined, dataclass_json # type: ignore
14
14
 
15
- from verda.http_client.http_client import HTTPClient
16
- from verda.InferenceClient import InferenceClient, InferenceResponse
15
+ from verda.http_client import HTTPClient
16
+ from verda.inference_client import InferenceClient, InferenceResponse
17
17
 
18
18
  # API endpoints
19
19
  CONTAINER_DEPLOYMENTS_ENDPOINT = '/container-deployments'
@@ -0,0 +1 @@
1
+ from ._http_client import HTTPClient, handle_error
verda/images/__init__.py CHANGED
@@ -0,0 +1 @@
1
+ from ._images import Image, ImagesService
@@ -0,0 +1,7 @@
1
+ from ._inference_client import (
2
+ AsyncInferenceExecution,
3
+ AsyncStatus,
4
+ InferenceClient,
5
+ InferenceClientError,
6
+ InferenceResponse,
7
+ )
@@ -0,0 +1 @@
1
+ from ._instance_types import InstanceType, InstanceTypesService
@@ -0,0 +1 @@
1
+ from ._instances import Contract, Instance, InstancesService, Pricing
@@ -0,0 +1 @@
1
+ from ._locations import LocationsService
@@ -0,0 +1 @@
1
+ from ._ssh_keys import SSHKey, SSHKeysService
@@ -0,0 +1 @@
1
+ from ._startup_scripts import StartupScript, StartupScriptsService
@@ -0,0 +1 @@
1
+ from ._volume_types import VolumeType, VolumeTypesService
verda/volumes/__init__.py CHANGED
@@ -0,0 +1 @@
1
+ from ._volumes import Volume, VolumesService
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: verda
3
- Version: 1.17.2
3
+ Version: 1.17.4
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>
@@ -40,6 +40,8 @@ The SDK's documentation is available on [ReadTheDocs](https://datacrunch-python.
40
40
 
41
41
  Verda Public API documentation [is available here](https://api.verda.com/v1/docs).
42
42
 
43
+ This package was originally published under `datacrunch` name, see [MIGRATION.md](./MIGRATION.md) for details.
44
+
43
45
  ## Getting Started - Using the SDK:
44
46
 
45
47
  - Install:
@@ -65,7 +67,6 @@ Verda Public API documentation [is available here](https://api.verda.com/v1/docs
65
67
  ```
66
68
 
67
69
  - To enable sending inference requests from SDK you must generate an inference key - [Instructions on inference authorization](https://docs.verda.com/inference/authorization)
68
-
69
70
 
70
71
  - Add your inference key to an environment variable
71
72
 
@@ -78,8 +79,6 @@ Verda Public API documentation [is available here](https://api.verda.com/v1/docs
78
79
  Other platforms:
79
80
  https://en.wikipedia.org/wiki/Environment_variable
80
81
 
81
-
82
-
83
82
  - Example for creating a new instance:
84
83
 
85
84
  ```python
@@ -0,0 +1,35 @@
1
+ verda/__init__.py,sha256=GyYkf1YXGf8vGsFeaAqIBS5zTXS6Tn8iZjzArPLiFdc,103
2
+ verda/_verda.py,sha256=Kp42RwXS7HQnVYcuXECRIQIzzgaW6E6m6at0kPikNdY,3257
3
+ verda/_version.py,sha256=T11BBcYkWMV48TEHtEI08YyNekJT7iKT6JgY-3Xg6Ws,160
4
+ verda/authentication/__init__.py,sha256=M6Fl6S_YG59aYzImY9sMT1g8TiSs3f6p2-seomaHT-c,51
5
+ verda/authentication/_authentication.py,sha256=ImlqbNBM4BDCCxB3clW9edO64WElnWtEey5SjjJYavw,3494
6
+ verda/balance/__init__.py,sha256=zhuyhgU-nKvqsOQ00FB5WZQq7ycO3navQfR3xxSlD9Y,46
7
+ verda/balance/_balance.py,sha256=tMuulgL7U4pSPG2hIts1UkB9KShdqLcrjnR3uhYj7KM,1221
8
+ verda/constants.py,sha256=cL0rj35X1VS-IHisqxwDgn8PXUjGjfuqUqotS4GB98E,2687
9
+ verda/containers/__init__.py,sha256=r6_-9ctfdLUyufSW03Y1L1VFTHklkVLYbpUHit4QwpM,745
10
+ verda/containers/_containers.py,sha256=tmtUwsWh2_9Qf1WAynRdPEB9CWOwrmwALgl3zj-Ze9w,35655
11
+ verda/exceptions.py,sha256=B0GD8nHDDvBT8meFnrott8kEZtn8PF6eID6Xcdb8RQE,786
12
+ verda/helpers.py,sha256=qvpWNoh1jqfBGxsYPFTNs_fDeF_H7WsalKeCXTH-bDw,657
13
+ verda/http_client/__init__.py,sha256=uDfbGLkT4kPT6E9_C5RFK9ZYbpnlLzh9BuwOLtivTXY,51
14
+ verda/http_client/_http_client.py,sha256=ywyJK-PBfHRbatKTl2uqp8UHcpLBrqwyMRL-0tKXv7s,8342
15
+ verda/images/__init__.py,sha256=JJQo-pb8akNAyRo75nB9xY83UpMGx3OAk3aOEcQbHsY,42
16
+ verda/images/_images.py,sha256=mmuvubOTdnkvVeWX3wkOjm2sQXTpQ0Z-kBqQUL0t5xo,2156
17
+ verda/inference_client/__init__.py,sha256=6kdmRm0xTVGVi6-SS4owY3BnMJdmNd8rCYuYqp3VV7U,151
18
+ verda/inference_client/_inference_client.py,sha256=Lqq7NxpisZdRauThoJCNOnRLdh2UdQGUpnFSAy5eqL4,17209
19
+ verda/instance_types/__init__.py,sha256=Xci23SmXhFPI7V8HYPulrg7t7eypV5QANLyMrk8wsy0,64
20
+ verda/instance_types/_instance_types.py,sha256=pc5uo4HKo9Vrqr8uegylhVslZZDClrE9m9UXa67IPxo,2046
21
+ verda/instances/__init__.py,sha256=MPDUqADcE3zrH0NhGGLi-JsuSUqZu-I6t2d1wqYbKSI,70
22
+ verda/instances/_instances.py,sha256=o_dq9iqp9_OMSkzwFbO0ucaph9_brm7lT_mb9GESvNM,9690
23
+ verda/locations/__init__.py,sha256=rT6mV63mhsNOJNTZ0ZdPhAoQFJuo-BlIX1irTCAoxAo,41
24
+ verda/locations/_locations.py,sha256=SxmKVgxU8TAas_ca5OBBpi-SkbN87CeWOUEihL8g4Ws,372
25
+ verda/ssh_keys/__init__.py,sha256=vap_O4NxVz_B_lPxwsSucaGwELggfxYzdljju3r_QOo,46
26
+ verda/ssh_keys/_ssh_keys.py,sha256=5K9UYiNUtKNaUuRb_wGNVMgOJj40YLXlkZaOGoROxio,2868
27
+ verda/startup_scripts/__init__.py,sha256=KXODJqxj95XRorPDiISx6pIqT-I7bCv8RPCwjrQTQYg,67
28
+ verda/startup_scripts/_startup_scripts.py,sha256=Q5i5NESB_DOJ9PjCNQFYQubn1CsankMudD217TbfMB8,3129
29
+ verda/volume_types/__init__.py,sha256=RbM_-0ByeAUASjYRBfqt7AupzaZyVTLc3qK6a3vGJvY,58
30
+ verda/volume_types/_volume_types.py,sha256=unvFrhWONbOPcsFzf2Oo29IZ8cC5czNRxuAO0dNiVko,1833
31
+ verda/volumes/__init__.py,sha256=kSXsg5Hj4urV06rCPJKpEGGcOTjeLJFL_J_IaN4Qqo8,45
32
+ verda/volumes/_volumes.py,sha256=V_W51f25HkLrr_PTJwfH4Z532xEZlHaG3MxOpNAoy7Q,11536
33
+ verda-1.17.4.dist-info/WHEEL,sha256=YUH1mBqsx8Dh2cQG2rlcuRYUhJddG9iClegy4IgnHik,79
34
+ verda-1.17.4.dist-info/METADATA,sha256=BKdcvVnmZUoKAhMRPVEXAZIi_cjfqMkIdmjxwjeT4SQ,5528
35
+ verda-1.17.4.dist-info/RECORD,,
@@ -1,3 +0,0 @@
1
- from .inference_client import InferenceClient, InferenceResponse
2
-
3
- __all__ = ['InferenceClient', 'InferenceResponse']
@@ -1,35 +0,0 @@
1
- verda/InferenceClient/__init__.py,sha256=oe7RQfoKbKJnIFWOt6TNtdzjXk5Gcl4-smO5DjLE6M0,117
2
- verda/InferenceClient/inference_client.py,sha256=Lqq7NxpisZdRauThoJCNOnRLdh2UdQGUpnFSAy5eqL4,17209
3
- verda/__init__.py,sha256=GyYkf1YXGf8vGsFeaAqIBS5zTXS6Tn8iZjzArPLiFdc,103
4
- verda/_verda.py,sha256=Ki7jl4459g2Tz_3fG3vWIs1OsfECy--o3DiTD50Mg_g,3391
5
- verda/_version.py,sha256=T11BBcYkWMV48TEHtEI08YyNekJT7iKT6JgY-3Xg6Ws,160
6
- verda/authentication/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
- verda/authentication/authentication.py,sha256=rCp46zoQNMoNyJZRIcfXLphZNk18LzMh8a4PgO9-A6Q,3506
8
- verda/balance/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- verda/balance/balance.py,sha256=tMuulgL7U4pSPG2hIts1UkB9KShdqLcrjnR3uhYj7KM,1221
10
- verda/constants.py,sha256=cL0rj35X1VS-IHisqxwDgn8PXUjGjfuqUqotS4GB98E,2687
11
- verda/containers/__init__.py,sha256=I6_H8w90MzlHi4MQ-Oo3R7kUopgU4yLRkaSjOAB6jWI,744
12
- verda/containers/containers.py,sha256=0wgviFHMdO0O0fzZNz5bIgjWhbuL3R17lQmDToBnmSY,35666
13
- verda/exceptions.py,sha256=B0GD8nHDDvBT8meFnrott8kEZtn8PF6eID6Xcdb8RQE,786
14
- verda/helpers.py,sha256=qvpWNoh1jqfBGxsYPFTNs_fDeF_H7WsalKeCXTH-bDw,657
15
- verda/http_client/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
16
- verda/http_client/http_client.py,sha256=ywyJK-PBfHRbatKTl2uqp8UHcpLBrqwyMRL-0tKXv7s,8342
17
- verda/images/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
18
- verda/images/images.py,sha256=mmuvubOTdnkvVeWX3wkOjm2sQXTpQ0Z-kBqQUL0t5xo,2156
19
- verda/instance_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
- verda/instance_types/instance_types.py,sha256=pc5uo4HKo9Vrqr8uegylhVslZZDClrE9m9UXa67IPxo,2046
21
- verda/instances/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
22
- verda/instances/instances.py,sha256=o_dq9iqp9_OMSkzwFbO0ucaph9_brm7lT_mb9GESvNM,9690
23
- verda/locations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
24
- verda/locations/locations.py,sha256=SxmKVgxU8TAas_ca5OBBpi-SkbN87CeWOUEihL8g4Ws,372
25
- verda/ssh_keys/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
26
- verda/ssh_keys/ssh_keys.py,sha256=5K9UYiNUtKNaUuRb_wGNVMgOJj40YLXlkZaOGoROxio,2868
27
- verda/startup_scripts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
- verda/startup_scripts/startup_scripts.py,sha256=Q5i5NESB_DOJ9PjCNQFYQubn1CsankMudD217TbfMB8,3129
29
- verda/volume_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
30
- verda/volume_types/volume_types.py,sha256=unvFrhWONbOPcsFzf2Oo29IZ8cC5czNRxuAO0dNiVko,1833
31
- verda/volumes/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
- verda/volumes/volumes.py,sha256=V_W51f25HkLrr_PTJwfH4Z532xEZlHaG3MxOpNAoy7Q,11536
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,,
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes