digitalhub 0.6.1__tar.gz → 0.7.0b0__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.

Potentially problematic release.


This version of digitalhub might be problematic. Click here for more details.

@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: digitalhub
3
- Version: 0.6.1
4
- Summary: Python SDK for DigitalHub
3
+ Version: 0.7.0b0
4
+ Summary: Python SDK for Digitalhub
5
5
  Author-email: Fondazione Bruno Kessler <dslab@fbk.eu>, Matteo Martini <mmartini@fbk.eu>
6
6
  License: Apache License
7
7
  Version 2.0, January 2004
@@ -228,14 +228,18 @@ Classifier: Programming Language :: Python :: 3.10
228
228
  Requires-Python: >=3.9
229
229
  Description-Content-Type: text/markdown
230
230
  License-File: LICENSE.txt
231
- Requires-Dist: digitalhub-core<0.7,>=0.6.0
231
+ Requires-Dist: digitalhub-core>=0.7.0b
232
232
  Provides-Extra: all
233
- Requires-Dist: digitalhub-data<0.7,>=0.6.0; extra == "all"
234
- Requires-Dist: digitalhub-ml<0.7,>=0.6.0; extra == "all"
233
+ Requires-Dist: digitalhub-data>=0.7.0b; extra == "all"
234
+ Requires-Dist: digitalhub-ml>=0.7.0b; extra == "all"
235
235
  Provides-Extra: ml
236
- Requires-Dist: digitalhub-ml<0.7,>=0.6.0; extra == "ml"
236
+ Requires-Dist: digitalhub-ml>=0.7.0b; extra == "ml"
237
237
  Provides-Extra: data
238
- Requires-Dist: digitalhub-data<0.7,>=0.6.0; extra == "data"
238
+ Requires-Dist: digitalhub-data>=0.7.0b; extra == "data"
239
+ Provides-Extra: full
240
+ Requires-Dist: digitalhub-core[full]>=0.7.0b; extra == "full"
241
+ Requires-Dist: digitalhub-data[pandas]>=0.7.0b; extra == "full"
242
+ Requires-Dist: digitalhub-ml>=0.7.0b; extra == "full"
239
243
 
240
244
  # Digitalhub Library
241
245
 
@@ -35,7 +35,7 @@ from digitalhub_core import (
35
35
  new_secret,
36
36
  new_task,
37
37
  new_workflow,
38
- set_dhub_env,
38
+ set_dhcore_env,
39
39
  set_store,
40
40
  update_artifact,
41
41
  update_function,
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: digitalhub
3
- Version: 0.6.1
4
- Summary: Python SDK for DigitalHub
3
+ Version: 0.7.0b0
4
+ Summary: Python SDK for Digitalhub
5
5
  Author-email: Fondazione Bruno Kessler <dslab@fbk.eu>, Matteo Martini <mmartini@fbk.eu>
6
6
  License: Apache License
7
7
  Version 2.0, January 2004
@@ -228,14 +228,18 @@ Classifier: Programming Language :: Python :: 3.10
228
228
  Requires-Python: >=3.9
229
229
  Description-Content-Type: text/markdown
230
230
  License-File: LICENSE.txt
231
- Requires-Dist: digitalhub-core<0.7,>=0.6.0
231
+ Requires-Dist: digitalhub-core>=0.7.0b
232
232
  Provides-Extra: all
233
- Requires-Dist: digitalhub-data<0.7,>=0.6.0; extra == "all"
234
- Requires-Dist: digitalhub-ml<0.7,>=0.6.0; extra == "all"
233
+ Requires-Dist: digitalhub-data>=0.7.0b; extra == "all"
234
+ Requires-Dist: digitalhub-ml>=0.7.0b; extra == "all"
235
235
  Provides-Extra: ml
236
- Requires-Dist: digitalhub-ml<0.7,>=0.6.0; extra == "ml"
236
+ Requires-Dist: digitalhub-ml>=0.7.0b; extra == "ml"
237
237
  Provides-Extra: data
238
- Requires-Dist: digitalhub-data<0.7,>=0.6.0; extra == "data"
238
+ Requires-Dist: digitalhub-data>=0.7.0b; extra == "data"
239
+ Provides-Extra: full
240
+ Requires-Dist: digitalhub-core[full]>=0.7.0b; extra == "full"
241
+ Requires-Dist: digitalhub-data[pandas]>=0.7.0b; extra == "full"
242
+ Requires-Dist: digitalhub-ml>=0.7.0b; extra == "full"
239
243
 
240
244
  # Digitalhub Library
241
245
 
@@ -0,0 +1,16 @@
1
+ digitalhub-core>=0.7.0b
2
+
3
+ [all]
4
+ digitalhub-data>=0.7.0b
5
+ digitalhub-ml>=0.7.0b
6
+
7
+ [data]
8
+ digitalhub-data>=0.7.0b
9
+
10
+ [full]
11
+ digitalhub-core[full]>=0.7.0b
12
+ digitalhub-data[pandas]>=0.7.0b
13
+ digitalhub-ml>=0.7.0b
14
+
15
+ [ml]
16
+ digitalhub-ml>=0.7.0b
@@ -4,8 +4,8 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "digitalhub"
7
- version = "0.6.1"
8
- description = "Python SDK for DigitalHub"
7
+ version = "0.7.0b0"
8
+ description = "Python SDK for Digitalhub"
9
9
  readme = "README.md"
10
10
  authors = [
11
11
  { name = "Fondazione Bruno Kessler", email = "dslab@fbk.eu" },
@@ -20,16 +20,21 @@ classifiers = [
20
20
  keywords = ["data", "dataops", "kubernetes"]
21
21
  requires-python = ">=3.9"
22
22
  dependencies = [
23
- "digitalhub-core>=0.6.0, <0.7",
23
+ "digitalhub-core>=0.7.0b",
24
24
  ]
25
25
 
26
26
  [project.optional-dependencies]
27
27
  all = [
28
- "digitalhub-data>=0.6.0, <0.7",
29
- "digitalhub-ml>=0.6.0, <0.7",
28
+ "digitalhub-data>=0.7.0b",
29
+ "digitalhub-ml>=0.7.0b",
30
+ ]
31
+ ml = ["digitalhub-ml>=0.7.0b"]
32
+ data = ["digitalhub-data>=0.7.0b"]
33
+ full = [
34
+ "digitalhub-core[full]>=0.7.0b",
35
+ "digitalhub-data[pandas]>=0.7.0b",
36
+ "digitalhub-ml>=0.7.0b",
30
37
  ]
31
- ml = ["digitalhub-ml>=0.6.0, <0.7"]
32
- data = ["digitalhub-data>=0.6.0, <0.7"]
33
38
 
34
39
  [project.urls]
35
40
  Homepage = "https://github.com/scc-digitalhub/digitalhub-sdk"
@@ -50,7 +55,7 @@ line-length = 120
50
55
  convention = "numpy"
51
56
 
52
57
  [tool.bumpver]
53
- current_version = "0.6.1"
58
+ current_version = "0.7.0b0"
54
59
  version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
55
60
  commit_message = "Bump version {old_version} -> {new_version}"
56
61
  commit = false
@@ -1,7 +1,7 @@
1
1
  from copy import deepcopy
2
2
 
3
3
  import dotenv
4
- from digitalhub_core.entities.artifacts.entity import Artifact
4
+ from digitalhub_core.entities.artifact.entity._base import Artifact
5
5
 
6
6
  import digitalhub
7
7
 
@@ -1,7 +1,7 @@
1
1
  from copy import deepcopy
2
2
 
3
3
  import dotenv
4
- from digitalhub_data.entities.dataitems.entity._base import Dataitem
4
+ from digitalhub_data.entities.dataitem.entity._base import Dataitem
5
5
 
6
6
  import digitalhub
7
7
 
@@ -1,7 +1,7 @@
1
1
  from copy import deepcopy
2
2
 
3
3
  import dotenv
4
- from digitalhub_core.entities.functions.entity import Function
4
+ from digitalhub_core.entities.function.entity import Function
5
5
 
6
6
  import digitalhub
7
7
 
@@ -1,5 +1,5 @@
1
1
  import dotenv
2
- from digitalhub_core.entities.runs.entity import Run
2
+ from digitalhub_core.entities.run.entity import Run
3
3
 
4
4
  import digitalhub
5
5
 
@@ -1,5 +1,5 @@
1
1
  import dotenv
2
- from digitalhub_core.entities.tasks.entity import Task
2
+ from digitalhub_core.entities.task.entity import Task
3
3
 
4
4
  import digitalhub
5
5
 
@@ -54,7 +54,7 @@ METHODS = [
54
54
  "delete_workflow",
55
55
  "delete_dataitem",
56
56
  "delete_model",
57
- "set_dhub_env",
57
+ "set_dhcore_env",
58
58
  "set_store",
59
59
  "load_project",
60
60
  "get_or_create_project",
@@ -8,8 +8,8 @@ def _is_finished(state: str):
8
8
  return state == "COMPLETED" or state == "ERROR" or state == "STOPPED"
9
9
 
10
10
 
11
- os.environ["DIGITALHUB_CORE_ENDPOINT"] = "http://localhost:8080/"
12
- os.environ["DIGITALHUB_CORE_WORKFLOW_IMAGE"] = "localhost:5000/dhcoreworkflow9:latest"
11
+ os.environ["DHCORE_ENDPOINT"] = "http://localhost:8080/"
12
+ os.environ["DHCORE_WORKFLOW_IMAGE"] = "localhost:5000/dhcoreworkflow9:latest"
13
13
  os.environ["KFP_ENDPOINT"] = "http://localhost:8888/"
14
14
 
15
15
  # Get or create project
@@ -1,11 +0,0 @@
1
- digitalhub-core<0.7,>=0.6.0
2
-
3
- [all]
4
- digitalhub-data<0.7,>=0.6.0
5
- digitalhub-ml<0.7,>=0.6.0
6
-
7
- [data]
8
- digitalhub-data<0.7,>=0.6.0
9
-
10
- [ml]
11
- digitalhub-ml<0.7,>=0.6.0
File without changes
File without changes
File without changes