verda 1.17.0__tar.gz → 1.17.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.
Files changed (37) hide show
  1. {verda-1.17.0 → verda-1.17.2}/PKG-INFO +4 -4
  2. {verda-1.17.0 → verda-1.17.2}/README.md +2 -2
  3. {verda-1.17.0 → verda-1.17.2}/pyproject.toml +9 -5
  4. verda-1.17.2/verda/__init__.py +4 -0
  5. verda-1.17.0/verda/__init__.py +0 -22
  6. verda-1.17.0/verda/datacrunch.py +0 -43
  7. {verda-1.17.0 → verda-1.17.2}/verda/InferenceClient/__init__.py +0 -0
  8. {verda-1.17.0 → verda-1.17.2}/verda/InferenceClient/inference_client.py +0 -0
  9. /verda-1.17.0/verda/verda.py → /verda-1.17.2/verda/_verda.py +0 -0
  10. {verda-1.17.0 → verda-1.17.2}/verda/_version.py +0 -0
  11. {verda-1.17.0 → verda-1.17.2}/verda/authentication/__init__.py +0 -0
  12. {verda-1.17.0 → verda-1.17.2}/verda/authentication/authentication.py +0 -0
  13. {verda-1.17.0 → verda-1.17.2}/verda/balance/__init__.py +0 -0
  14. {verda-1.17.0 → verda-1.17.2}/verda/balance/balance.py +0 -0
  15. {verda-1.17.0 → verda-1.17.2}/verda/constants.py +0 -0
  16. {verda-1.17.0 → verda-1.17.2}/verda/containers/__init__.py +0 -0
  17. {verda-1.17.0 → verda-1.17.2}/verda/containers/containers.py +0 -0
  18. {verda-1.17.0 → verda-1.17.2}/verda/exceptions.py +0 -0
  19. {verda-1.17.0 → verda-1.17.2}/verda/helpers.py +0 -0
  20. {verda-1.17.0 → verda-1.17.2}/verda/http_client/__init__.py +0 -0
  21. {verda-1.17.0 → verda-1.17.2}/verda/http_client/http_client.py +0 -0
  22. {verda-1.17.0 → verda-1.17.2}/verda/images/__init__.py +0 -0
  23. {verda-1.17.0 → verda-1.17.2}/verda/images/images.py +0 -0
  24. {verda-1.17.0 → verda-1.17.2}/verda/instance_types/__init__.py +0 -0
  25. {verda-1.17.0 → verda-1.17.2}/verda/instance_types/instance_types.py +0 -0
  26. {verda-1.17.0 → verda-1.17.2}/verda/instances/__init__.py +0 -0
  27. {verda-1.17.0 → verda-1.17.2}/verda/instances/instances.py +0 -0
  28. {verda-1.17.0 → verda-1.17.2}/verda/locations/__init__.py +0 -0
  29. {verda-1.17.0 → verda-1.17.2}/verda/locations/locations.py +0 -0
  30. {verda-1.17.0 → verda-1.17.2}/verda/ssh_keys/__init__.py +0 -0
  31. {verda-1.17.0 → verda-1.17.2}/verda/ssh_keys/ssh_keys.py +0 -0
  32. {verda-1.17.0 → verda-1.17.2}/verda/startup_scripts/__init__.py +0 -0
  33. {verda-1.17.0 → verda-1.17.2}/verda/startup_scripts/startup_scripts.py +0 -0
  34. {verda-1.17.0 → verda-1.17.2}/verda/volume_types/__init__.py +0 -0
  35. {verda-1.17.0 → verda-1.17.2}/verda/volume_types/volume_types.py +0 -0
  36. {verda-1.17.0 → verda-1.17.2}/verda/volumes/__init__.py +0 -0
  37. {verda-1.17.0 → verda-1.17.2}/verda/volumes/volumes.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: verda
3
- Version: 1.17.0
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://datacrunch-python.readthedocs.io/en/latest/changelog.html
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
- pip3 install verda
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.verda import VerdaClient
146
+ from verda import VerdaClient
147
147
 
148
148
  CLIENT_SECRET = 'secret'
149
149
  CLIENT_ID = 'your-id'
@@ -20,7 +20,7 @@ Verda Public API documentation [is available here](https://api.verda.com/v1/docs
20
20
 
21
21
  ```bash
22
22
  # via pip
23
- pip3 install verda
23
+ pip install verda
24
24
 
25
25
  # via uv
26
26
  uv add verda
@@ -117,7 +117,7 @@ Create a file in the root directory of the project:
117
117
 
118
118
  ```python
119
119
  # example.py
120
- from verda.verda import VerdaClient
120
+ from verda import VerdaClient
121
121
 
122
122
  CLIENT_SECRET = 'secret'
123
123
  CLIENT_ID = 'your-id'
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "verda"
3
- version = "1.17.0"
3
+ version = "1.17.2"
4
4
  description = "Official Python SDK for Verda (formerly DataCrunch) Public API"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.10"
@@ -26,10 +26,10 @@ dependencies = ["requests>=2.25.1,<3", "dataclasses_json>=0.6.7"]
26
26
  [dependency-groups]
27
27
  dev = [
28
28
  "pytest-cov>=2.10.1,<3",
29
- "pytest-responses>=0.4.0,<1",
29
+ "pytest-responses>=0.5.1",
30
30
  "pytest>=8.1,<9",
31
31
  "python-dotenv>=1.1.1",
32
- "responses>=0.12.1,<1",
32
+ "responses>=0.25.8",
33
33
  "ruff>=0.14.2",
34
34
  ]
35
35
 
@@ -37,7 +37,7 @@ dev = [
37
37
  Homepage = "https://github.com/verda-cloud"
38
38
  Documentation = "https://datacrunch-python.readthedocs.io/"
39
39
  Repository = "https://github.com/verda-cloud/sdk-python"
40
- Changelog = "https://datacrunch-python.readthedocs.io/en/latest/changelog.html"
40
+ Changelog = "https://github.com/verda-cloud/sdk-python/blob/master/CHANGELOG.md"
41
41
 
42
42
  [build-system]
43
43
  requires = ["uv_build>=0.9.5,<0.10.0"]
@@ -47,6 +47,9 @@ build-backend = "uv_build"
47
47
  module-name = "verda"
48
48
  module-root = ""
49
49
 
50
+ [tool.uv.workspace]
51
+ members = ["datacrunch_compat"]
52
+
50
53
  [tool.ruff]
51
54
  line-length = 100
52
55
 
@@ -81,8 +84,9 @@ pydocstyle.convention = "google"
81
84
  ignore = ["F401", "B006", "D100", "D105", "D107"]
82
85
 
83
86
  [tool.ruff.lint.per-file-ignores]
84
- "{tests,examples}/*" = ["D"]
87
+ "{tests,examples,datacrunch_compat/tests}/*" = ["D"]
85
88
  "__init__.py" = ["D104"]
89
+ "datacrunch_compat/datacrunch/*.py" = ["F403"]
86
90
 
87
91
  [tool.ruff.format]
88
92
  quote-style = "single"
@@ -0,0 +1,4 @@
1
+ from verda._verda import VerdaClient
2
+ from verda._version import __version__
3
+
4
+ __all__ = ['VerdaClient']
@@ -1,22 +0,0 @@
1
- import warnings
2
-
3
- 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
-
22
- __all__ = ['DataCrunchClient', 'VerdaClient', '__version__']
@@ -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
- )
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