wizata-dsapi 1.3.10__tar.gz → 1.3.12__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 (54) hide show
  1. {wizata_dsapi-1.3.10/wizata_dsapi.egg-info → wizata_dsapi-1.3.12}/PKG-INFO +7 -5
  2. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/setup.py +3 -2
  3. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/mlmodel.py +7 -6
  4. wizata_dsapi-1.3.12/wizata_dsapi/version.py +1 -0
  5. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12/wizata_dsapi.egg-info}/PKG-INFO +7 -5
  6. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi.egg-info/requires.txt +6 -4
  7. wizata_dsapi-1.3.10/wizata_dsapi/version.py +0 -1
  8. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/LICENSE.txt +0 -0
  9. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/README.rst +0 -0
  10. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/setup.cfg +0 -0
  11. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/__init__.py +0 -0
  12. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/api_config.py +0 -0
  13. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/api_dto.py +0 -0
  14. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/api_interface.py +0 -0
  15. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/bucket.py +0 -0
  16. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/business_label.py +0 -0
  17. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/context.py +0 -0
  18. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/dataframe_toolkit.py +0 -0
  19. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/datapoint.py +0 -0
  20. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/datastore.py +0 -0
  21. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/ds_dataframe.py +0 -0
  22. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/dsapi_json_encoder.py +0 -0
  23. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/evaluation.py +0 -0
  24. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/execution.py +0 -0
  25. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/experiment.py +0 -0
  26. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/group_system.py +0 -0
  27. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/ilogger.py +0 -0
  28. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/insight.py +0 -0
  29. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/model_toolkit.py +0 -0
  30. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/models/__init__.py +0 -0
  31. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/models/common.py +0 -0
  32. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/paged_query_result.py +0 -0
  33. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/pipeline.py +0 -0
  34. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/pipeline_image.py +0 -0
  35. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/plot.py +0 -0
  36. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/plots/__init__.py +0 -0
  37. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/plots/common.py +0 -0
  38. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/request.py +0 -0
  39. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/script.py +0 -0
  40. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/scripts/__init__.py +0 -0
  41. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/scripts/common.py +0 -0
  42. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/solution_component.py +0 -0
  43. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/streamlit_utils.py +0 -0
  44. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/template.py +0 -0
  45. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/trigger.py +0 -0
  46. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/twin.py +0 -0
  47. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/twinregistration.py +0 -0
  48. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/wizard_function.py +0 -0
  49. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/wizard_request.py +0 -0
  50. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/wizata_dsapi_client.py +0 -0
  51. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi/words.py +0 -0
  52. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi.egg-info/SOURCES.txt +0 -0
  53. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi.egg-info/dependency_links.txt +0 -0
  54. {wizata_dsapi-1.3.10 → wizata_dsapi-1.3.12}/wizata_dsapi.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wizata_dsapi
3
- Version: 1.3.10
3
+ Version: 1.3.12
4
4
  Summary: Wizata Data Science Toolkit
5
5
  Author: Wizata S.A.
6
6
  Author-email: info@wizata.com
@@ -12,8 +12,9 @@ Requires-Dist: numpy==1.26.4; python_version < "3.12"
12
12
  Requires-Dist: numpy>=2.3.3; python_version >= "3.12"
13
13
  Requires-Dist: dill==0.3.6; python_version < "3.12"
14
14
  Requires-Dist: dill==0.4.0; python_version >= "3.12"
15
- Requires-Dist: protobuf>=3.20.3
16
- Requires-Dist: msal==1.24.0; python_version < "3.12"
15
+ Requires-Dist: protobuf==5.25.9; python_version < "3.12"
16
+ Requires-Dist: protobuf>=5.25.9; python_version >= "3.12"
17
+ Requires-Dist: msal==1.30.0; python_version < "3.12"
17
18
  Requires-Dist: msal>=1.34.0; python_version >= "3.12"
18
19
  Requires-Dist: joblib==1.5.2; python_version < "3.12"
19
20
  Requires-Dist: joblib>=1.2.0; python_version >= "3.12"
@@ -31,8 +32,9 @@ Requires-Dist: numpy==1.26.4; python_version < "3.12" and extra == "all"
31
32
  Requires-Dist: numpy>=2.3.3; python_version >= "3.12" and extra == "all"
32
33
  Requires-Dist: dill==0.3.6; python_version < "3.12" and extra == "all"
33
34
  Requires-Dist: dill==0.4.0; python_version >= "3.12" and extra == "all"
34
- Requires-Dist: protobuf>=3.20.3; extra == "all"
35
- Requires-Dist: msal==1.24.0; python_version < "3.12" and extra == "all"
35
+ Requires-Dist: protobuf==5.25.9; python_version < "3.12" and extra == "all"
36
+ Requires-Dist: protobuf>=5.25.9; python_version >= "3.12" and extra == "all"
37
+ Requires-Dist: msal==1.30.0; python_version < "3.12" and extra == "all"
36
38
  Requires-Dist: msal>=1.34.0; python_version >= "3.12" and extra == "all"
37
39
  Requires-Dist: joblib==1.5.2; python_version < "3.12" and extra == "all"
38
40
  Requires-Dist: joblib>=1.2.0; python_version >= "3.12" and extra == "all"
@@ -14,8 +14,9 @@ core_dependencies = [
14
14
  'numpy>=2.3.3; python_version>="3.12"',
15
15
  'dill==0.3.6; python_version<"3.12"',
16
16
  'dill==0.4.0; python_version>="3.12"',
17
- 'protobuf>=3.20.3',
18
- 'msal==1.24.0; python_version<"3.12"',
17
+ 'protobuf==5.25.9; python_version<"3.12"',
18
+ 'protobuf>=5.25.9; python_version>="3.12"',
19
+ 'msal==1.30.0; python_version<"3.12"',
19
20
  'msal>=1.34.0; python_version>="3.12"',
20
21
  'joblib==1.5.2; python_version<"3.12"',
21
22
  'joblib>=1.2.0; python_version>="3.12"',
@@ -24,6 +24,7 @@ class MLModelConfig(ApiDto):
24
24
  :ivar str model_key: key of the model to store (or use story property if dynamic).
25
25
  :ivar str model_type: reserved for 'mlflow' defines model flavor such as 'sklearn' or 'pyfunc'.
26
26
  :ivar str model_alias: reserved for 'mlflow' set the alias to target and use inside a pipeline.
27
+ :ivar str model_format: type of model (by default 'pkl') accept also 'pt' for PyTorch model using tensors (none = 'pkl')
27
28
  :ivar dict properties_mapping: dict to map properties expected by the script with the properties from the context.
28
29
  :ivar str property_name: define which property is looked for when using 'by_property'.
29
30
  :ivar str source: define name of model storage to use 'wizata'.
@@ -40,7 +41,6 @@ class MLModelConfig(ApiDto):
40
41
  train_script=None,
41
42
  train_test_split_pct: float = 1.0,
42
43
  train_test_split_type: str = "ignore",
43
- format: str = 'pkl',
44
44
  function: str = "predict",
45
45
  properties_mapping=None,
46
46
  target_feat=None,
@@ -51,6 +51,7 @@ class MLModelConfig(ApiDto):
51
51
  model_key: str = None,
52
52
  model_type: str = None,
53
53
  model_alias: str = None,
54
+ model_format: str = 'pkl',
54
55
  by_twin: bool = False,
55
56
  by_property: bool = False,
56
57
  property_name: str = None,
@@ -76,7 +77,7 @@ class MLModelConfig(ApiDto):
76
77
  self.by_twin = by_twin
77
78
  self.by_property = by_property
78
79
  self.property_name = property_name
79
- self.format = format
80
+ self.model_format = model_format
80
81
 
81
82
  # source
82
83
  self.source = source
@@ -159,8 +160,8 @@ class MLModelConfig(ApiDto):
159
160
  self.model_type = obj["model_type"]
160
161
  if "model_alias" in obj.keys() and obj["model_alias"] is not None:
161
162
  self.model_alias = obj["model_alias"]
162
- if "format" in obj.keys() and obj["format"] is not None:
163
- self.format = obj["format"]
163
+ if "model_format" in obj.keys() and obj["model_format"] is not None:
164
+ self.model_format = obj["model_format"]
164
165
 
165
166
  def to_json(self, target: str = None):
166
167
  obj = {
@@ -204,8 +205,8 @@ class MLModelConfig(ApiDto):
204
205
  obj["by_property"] = str(self.by_property)
205
206
  if self.property_name is not None:
206
207
  obj["property_name"] = self.property_name
207
- if self.format is not None:
208
- obj["format"] = self.format
208
+ if self.model_format is not None:
209
+ obj["model_format"] = self.model_format
209
210
 
210
211
  return obj
211
212
 
@@ -0,0 +1 @@
1
+ __version__ = "1.3.12"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wizata_dsapi
3
- Version: 1.3.10
3
+ Version: 1.3.12
4
4
  Summary: Wizata Data Science Toolkit
5
5
  Author: Wizata S.A.
6
6
  Author-email: info@wizata.com
@@ -12,8 +12,9 @@ Requires-Dist: numpy==1.26.4; python_version < "3.12"
12
12
  Requires-Dist: numpy>=2.3.3; python_version >= "3.12"
13
13
  Requires-Dist: dill==0.3.6; python_version < "3.12"
14
14
  Requires-Dist: dill==0.4.0; python_version >= "3.12"
15
- Requires-Dist: protobuf>=3.20.3
16
- Requires-Dist: msal==1.24.0; python_version < "3.12"
15
+ Requires-Dist: protobuf==5.25.9; python_version < "3.12"
16
+ Requires-Dist: protobuf>=5.25.9; python_version >= "3.12"
17
+ Requires-Dist: msal==1.30.0; python_version < "3.12"
17
18
  Requires-Dist: msal>=1.34.0; python_version >= "3.12"
18
19
  Requires-Dist: joblib==1.5.2; python_version < "3.12"
19
20
  Requires-Dist: joblib>=1.2.0; python_version >= "3.12"
@@ -31,8 +32,9 @@ Requires-Dist: numpy==1.26.4; python_version < "3.12" and extra == "all"
31
32
  Requires-Dist: numpy>=2.3.3; python_version >= "3.12" and extra == "all"
32
33
  Requires-Dist: dill==0.3.6; python_version < "3.12" and extra == "all"
33
34
  Requires-Dist: dill==0.4.0; python_version >= "3.12" and extra == "all"
34
- Requires-Dist: protobuf>=3.20.3; extra == "all"
35
- Requires-Dist: msal==1.24.0; python_version < "3.12" and extra == "all"
35
+ Requires-Dist: protobuf==5.25.9; python_version < "3.12" and extra == "all"
36
+ Requires-Dist: protobuf>=5.25.9; python_version >= "3.12" and extra == "all"
37
+ Requires-Dist: msal==1.30.0; python_version < "3.12" and extra == "all"
36
38
  Requires-Dist: msal>=1.34.0; python_version >= "3.12" and extra == "all"
37
39
  Requires-Dist: joblib==1.5.2; python_version < "3.12" and extra == "all"
38
40
  Requires-Dist: joblib>=1.2.0; python_version >= "3.12" and extra == "all"
@@ -1,4 +1,3 @@
1
- protobuf>=3.20.3
2
1
 
3
2
  [:python_version < "3.11"]
4
3
  pandas==1.5.3
@@ -8,7 +7,8 @@ setuptools==67.6.0
8
7
  [:python_version < "3.12"]
9
8
  numpy==1.26.4
10
9
  dill==0.3.6
11
- msal==1.24.0
10
+ protobuf==5.25.9
11
+ msal==1.30.0
12
12
  joblib==1.5.2
13
13
  plotly==5.13.1
14
14
 
@@ -23,12 +23,12 @@ pandas==2.2.3
23
23
  pandas>=2.3.3
24
24
  numpy>=2.3.3
25
25
  dill==0.4.0
26
+ protobuf>=5.25.9
26
27
  msal>=1.34.0
27
28
  joblib>=1.2.0
28
29
  plotly>=6.3.1
29
30
 
30
31
  [all]
31
- protobuf>=3.20.3
32
32
  adtk==0.6.2
33
33
 
34
34
  [all:(sys_platform != "darwin" or platform_machine != "arm64") and python_version < "3.12"]
@@ -43,7 +43,8 @@ matplotlib==3.7.1
43
43
  [all:python_version < "3.12"]
44
44
  numpy==1.26.4
45
45
  dill==0.3.6
46
- msal==1.24.0
46
+ protobuf==5.25.9
47
+ msal==1.30.0
47
48
  joblib==1.5.2
48
49
  plotly==5.13.1
49
50
  keras==2.15.0
@@ -74,6 +75,7 @@ torch==2.7.1
74
75
  pandas>=2.3.3
75
76
  numpy>=2.3.3
76
77
  dill==0.4.0
78
+ protobuf>=5.25.9
77
79
  msal>=1.34.0
78
80
  joblib>=1.2.0
79
81
  plotly>=6.3.1
@@ -1 +0,0 @@
1
- __version__ = "1.3.10"
File without changes
File without changes
File without changes