digitalhub 0.6.0__tar.gz → 0.6.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,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: digitalhub
3
- Version: 0.6.0
3
+ Version: 0.6.0b0
4
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
@@ -228,14 +228,14 @@ 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.6.0b
231
+ Requires-Dist: digitalhub-core<0.7,~=0.6.0b
232
232
  Provides-Extra: all
233
- Requires-Dist: digitalhub-data>=0.6.0b; extra == "all"
234
- Requires-Dist: digitalhub-ml>=0.6.0b; extra == "all"
233
+ Requires-Dist: digitalhub-data<0.7,~=0.6.0b; extra == "all"
234
+ Requires-Dist: digitalhub-ml<0.7,~=0.6.0b; extra == "all"
235
235
  Provides-Extra: ml
236
- Requires-Dist: digitalhub-ml>=0.6.0b; extra == "ml"
236
+ Requires-Dist: digitalhub-ml<0.7,~=0.6.0b; extra == "ml"
237
237
  Provides-Extra: data
238
- Requires-Dist: digitalhub-data>=0.6.0b; extra == "data"
238
+ Requires-Dist: digitalhub-data<0.7,~=0.6.0b; extra == "data"
239
239
 
240
240
  # Digitalhub Library
241
241
 
@@ -7,15 +7,11 @@ from digitalhub_core import (
7
7
  delete_task,
8
8
  delete_workflow,
9
9
  get_artifact,
10
- get_artifact_versions,
11
10
  get_function,
12
- get_function_versions,
13
11
  get_run,
14
12
  get_secret,
15
- get_secret_versions,
16
13
  get_task,
17
14
  get_workflow,
18
- get_workflow_versions,
19
15
  import_artifact,
20
16
  import_function,
21
17
  import_run,
@@ -28,7 +24,6 @@ from digitalhub_core import (
28
24
  list_secrets,
29
25
  list_tasks,
30
26
  list_workflows,
31
- log_artifact,
32
27
  new_artifact,
33
28
  new_function,
34
29
  new_run,
@@ -54,24 +49,20 @@ if not _PROJECT_IMPORTED:
54
49
  from digitalhub_data import (
55
50
  delete_dataitem,
56
51
  get_dataitem,
57
- get_dataitem_versions,
58
52
  import_dataitem,
59
53
  list_dataitems,
60
- log_dataitem,
61
54
  new_dataitem,
62
55
  update_dataitem,
63
56
  )
64
57
  from digitalhub_ml import (
65
58
  delete_model,
66
59
  get_model,
67
- get_model_versions,
68
60
  get_or_create_project,
69
61
  get_project,
70
62
  import_model,
71
63
  import_project,
72
64
  list_models,
73
65
  load_project,
74
- log_model,
75
66
  new_model,
76
67
  new_project,
77
68
  update_model,
@@ -86,14 +77,12 @@ if not _PROJECT_IMPORTED:
86
77
  from digitalhub_data import (
87
78
  delete_dataitem,
88
79
  get_dataitem,
89
- get_dataitem_versions,
90
80
  get_or_create_project,
91
81
  get_project,
92
82
  import_dataitem,
93
83
  import_project,
94
84
  list_dataitems,
95
85
  load_project,
96
- log_dataitem,
97
86
  new_dataitem,
98
87
  new_project,
99
88
  update_dataitem,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: digitalhub
3
- Version: 0.6.0
3
+ Version: 0.6.0b0
4
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
@@ -228,14 +228,14 @@ 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.6.0b
231
+ Requires-Dist: digitalhub-core<0.7,~=0.6.0b
232
232
  Provides-Extra: all
233
- Requires-Dist: digitalhub-data>=0.6.0b; extra == "all"
234
- Requires-Dist: digitalhub-ml>=0.6.0b; extra == "all"
233
+ Requires-Dist: digitalhub-data<0.7,~=0.6.0b; extra == "all"
234
+ Requires-Dist: digitalhub-ml<0.7,~=0.6.0b; extra == "all"
235
235
  Provides-Extra: ml
236
- Requires-Dist: digitalhub-ml>=0.6.0b; extra == "ml"
236
+ Requires-Dist: digitalhub-ml<0.7,~=0.6.0b; extra == "ml"
237
237
  Provides-Extra: data
238
- Requires-Dist: digitalhub-data>=0.6.0b; extra == "data"
238
+ Requires-Dist: digitalhub-data<0.7,~=0.6.0b; extra == "data"
239
239
 
240
240
  # Digitalhub Library
241
241
 
@@ -0,0 +1,11 @@
1
+ digitalhub-core<0.7,~=0.6.0b
2
+
3
+ [all]
4
+ digitalhub-data<0.7,~=0.6.0b
5
+ digitalhub-ml<0.7,~=0.6.0b
6
+
7
+ [data]
8
+ digitalhub-data<0.7,~=0.6.0b
9
+
10
+ [ml]
11
+ digitalhub-ml<0.7,~=0.6.0b
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "digitalhub"
7
- version = "0.6.0"
7
+ version = "0.6.0b0"
8
8
  description = "Python SDK for DigitalHub"
9
9
  readme = "README.md"
10
10
  authors = [
@@ -20,16 +20,16 @@ classifiers = [
20
20
  keywords = ["data", "dataops", "kubernetes"]
21
21
  requires-python = ">=3.9"
22
22
  dependencies = [
23
- "digitalhub-core>=0.6.0b",
23
+ "digitalhub-core~=0.6.0b, <0.7",
24
24
  ]
25
25
 
26
26
  [project.optional-dependencies]
27
27
  all = [
28
- "digitalhub-data>=0.6.0b",
29
- "digitalhub-ml>=0.6.0b",
28
+ "digitalhub-data~=0.6.0b, <0.7",
29
+ "digitalhub-ml~=0.6.0b, <0.7",
30
30
  ]
31
- ml = ["digitalhub-ml>=0.6.0b"]
32
- data = ["digitalhub-data>=0.6.0b"]
31
+ ml = ["digitalhub-ml~=0.6.0b, <0.7"]
32
+ data = ["digitalhub-data~=0.6.0b, <0.7"]
33
33
 
34
34
  [project.urls]
35
35
  Homepage = "https://github.com/scc-digitalhub/digitalhub-sdk"
@@ -50,7 +50,7 @@ line-length = 120
50
50
  convention = "numpy"
51
51
 
52
52
  [tool.bumpver]
53
- current_version = "0.6.0"
53
+ current_version = "0.6.0b0"
54
54
  version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]"
55
55
  commit_message = "Bump version {old_version} -> {new_version}"
56
56
  commit = false
@@ -1,7 +1,7 @@
1
1
  import os
2
2
  import time
3
3
 
4
- import digitalhub as dh
4
+ import digitalhub as dhcore
5
5
 
6
6
 
7
7
  def _is_finished(state: str):
@@ -13,7 +13,7 @@ os.environ["DIGITALHUB_CORE_WORKFLOW_IMAGE"] = "localhost:5000/dhcoreworkflow9:l
13
13
  os.environ["KFP_ENDPOINT"] = "http://localhost:8888/"
14
14
 
15
15
  # Get or create project
16
- project = dh.get_or_create_project("project-kfp2")
16
+ project = dhcore.get_or_create_project("project-kfp2")
17
17
 
18
18
  url = "https://gist.githubusercontent.com/kevin336/acbb2271e66c10a5b73aacf82ca82784/raw/e38afe62e088394d61ed30884dd50a6826eee0a8/employees.csv"
19
19
 
@@ -1,11 +0,0 @@
1
- digitalhub-core>=0.6.0b
2
-
3
- [all]
4
- digitalhub-data>=0.6.0b
5
- digitalhub-ml>=0.6.0b
6
-
7
- [data]
8
- digitalhub-data>=0.6.0b
9
-
10
- [ml]
11
- digitalhub-ml>=0.6.0b
File without changes
File without changes
File without changes