digitalhub 0.6.1__py3-none-any.whl → 0.7.0b0__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.

Potentially problematic release.


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

digitalhub/__init__.py CHANGED
@@ -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: data
236
- Requires-Dist: digitalhub-data<0.7,>=0.6.0; extra == "data"
236
+ Requires-Dist: digitalhub-data>=0.7.0b; extra == "data"
237
+ Provides-Extra: full
238
+ Requires-Dist: digitalhub-core[full]>=0.7.0b; extra == "full"
239
+ Requires-Dist: digitalhub-data[pandas]>=0.7.0b; extra == "full"
240
+ Requires-Dist: digitalhub-ml>=0.7.0b; extra == "full"
237
241
  Provides-Extra: ml
238
- Requires-Dist: digitalhub-ml<0.7,>=0.6.0; extra == "ml"
242
+ Requires-Dist: digitalhub-ml>=0.7.0b; extra == "ml"
239
243
 
240
244
  # Digitalhub Library
241
245
 
@@ -0,0 +1,14 @@
1
+ digitalhub/__init__.py,sha256=E26WFuMyA9djIFxYhvgtkoHcix2OmcM7XkzjxVMoEaM,2521
2
+ test/test_crud_artifacts.py,sha256=14mM6AsUfNh0e4RPT68DEKUUcH1v0HLVoXc0L-hMbHQ,2516
3
+ test/test_crud_dataitems.py,sha256=PE93AMOe9ZrhoYSE9U7bAmoLrqI2AF0y4pPRFosLwNw,2503
4
+ test/test_crud_functions.py,sha256=zihCaqWUps-Cm14BkCr5qHoOubeZPOn7TyKi49DSkE4,2768
5
+ test/test_crud_runs.py,sha256=MIOgrgEa6gdwoS6rhdOkPderZcQrdZXMptCV0w3f6-k,2219
6
+ test/test_crud_tasks.py,sha256=LLFf6teU64YF8m-gS02tyEoi_eHZmHw6OmO4yhe3Wqo,2110
7
+ test/test_imports.py,sha256=W-YugO0rpJwvtWp57MXaXfEmE-f5iWuCiLY-n0ZU4z8,1271
8
+ test/testkfp.py,sha256=01UpLKkVbwAQu4S1BMiddnnq5x1DStMlJtCoHzi9zq8,1060
9
+ test/testkfp_pipeline.py,sha256=WceFrCp-avHI7PcwIvnv7Kgs2xK3oQqU6sjaonGamg8,622
10
+ digitalhub-0.7.0b0.dist-info/LICENSE.txt,sha256=_yVOtnbW7Ss28mp058UEEc1X4Rgj8-kQBP_kj8_Sc88,11585
11
+ digitalhub-0.7.0b0.dist-info/METADATA,sha256=aGTTNypp4IFBO8P4WFLM5zyKghnUGtwuOBvRhyTGn3U,14858
12
+ digitalhub-0.7.0b0.dist-info/WHEEL,sha256=Mdi9PDNwEZptOjTlUcAth7XJDFtKrHYaQMPulZeBCiQ,91
13
+ digitalhub-0.7.0b0.dist-info/top_level.txt,sha256=ae9pDfCF27ZoaVAxuBKONMP0lm5P-N_I-e-no1WlvD8,16
14
+ digitalhub-0.7.0b0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.0.0)
2
+ Generator: setuptools (73.0.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -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
 
test/test_crud_runs.py CHANGED
@@ -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
 
test/test_crud_tasks.py CHANGED
@@ -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
 
test/test_imports.py CHANGED
@@ -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",
test/testkfp.py CHANGED
@@ -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,14 +0,0 @@
1
- digitalhub/__init__.py,sha256=-cfIAC3MzPffMfYGAe-hwsAmGNLacyzCbTg9-xNSDQI,2519
2
- test/test_crud_artifacts.py,sha256=yjlY_Bx99LPtMh15ufqFVU3KdogkmMjbbIGFkyVg25I,2511
3
- test/test_crud_dataitems.py,sha256=-xAQ4UxSBqWPwsSLDSqy0EXp8uElymh-MAak3NqnOcs,2504
4
- test/test_crud_functions.py,sha256=gYIBpPTE0spTVoM8li2N64nCa4zSTgh2CRu0FReWsEg,2769
5
- test/test_crud_runs.py,sha256=s8LG1SpsQe4pisFGmq-hlHiJr3RQcXsfjggRKtLGCCA,2220
6
- test/test_crud_tasks.py,sha256=XhSTj0hQNwJ61MbdSczYKMXYUIf_e6alwls9TnIpEiY,2111
7
- test/test_imports.py,sha256=2Uuo-pa0HgA-qASl1ZpUj6tVze8_2PlmBapuyvDgLDQ,1269
8
- test/testkfp.py,sha256=JnJkFGRhFAP7DdBVGQEduisNGyR1Eek8SgbK_4wYdF4,1078
9
- test/testkfp_pipeline.py,sha256=WceFrCp-avHI7PcwIvnv7Kgs2xK3oQqU6sjaonGamg8,622
10
- digitalhub-0.6.1.dist-info/LICENSE.txt,sha256=_yVOtnbW7Ss28mp058UEEc1X4Rgj8-kQBP_kj8_Sc88,11585
11
- digitalhub-0.6.1.dist-info/METADATA,sha256=Ds2NCNZu8palH0y2j3g4kABedM9grqumCIRy2iLK5dw,14675
12
- digitalhub-0.6.1.dist-info/WHEEL,sha256=5Mi1sN9lKoFv_gxcPtisEVrJZihrm_beibeg5R6xb4I,91
13
- digitalhub-0.6.1.dist-info/top_level.txt,sha256=ae9pDfCF27ZoaVAxuBKONMP0lm5P-N_I-e-no1WlvD8,16
14
- digitalhub-0.6.1.dist-info/RECORD,,