sm_data_ml_utils 0.1.2__tar.gz → 0.1.4__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.
@@ -1,17 +1,14 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: sm_data_ml_utils
3
- Version: 0.1.2
3
+ Version: 0.1.4
4
4
  Summary: Common Python tools and utilities for ML work
5
5
  License: MIT
6
6
  Author: Shuming Peh
7
7
  Author-email: shuming.peh@gmail.com
8
- Requires-Python: >=3.10,<3.13
8
+ Requires-Python: >=3.13,<3.15
9
9
  Classifier: License :: OSI Approved :: MIT License
10
10
  Classifier: Programming Language :: Python :: 3
11
- Classifier: Programming Language :: Python :: 3.10
12
- Classifier: Programming Language :: Python :: 3.11
13
- Classifier: Programming Language :: Python :: 3.12
14
- Requires-Dist: PyYAML (==6.0)
11
+ Requires-Dist: PyYAML (==6.0.3)
15
12
  Requires-Dist: Werkzeug (>=3.0.3,<4.0.0)
16
13
  Requires-Dist: aiobotocore (>=2.8.0,<3.0.0)
17
14
  Requires-Dist: appdirs (==1.4.4)
@@ -22,8 +19,8 @@ Requires-Dist: botocore (>=1.34.15,<2.0.0)
22
19
  Requires-Dist: certifi (>=2023.7.22,<2024.0.0)
23
20
  Requires-Dist: cfgv (==3.2.0)
24
21
  Requires-Dist: coverage (==5.4)
25
- Requires-Dist: databricks-sql-connector (>=3.3.0,<4.0.0)
26
- Requires-Dist: distlib (>=0.3.8,<0.4.0)
22
+ Requires-Dist: databricks-sql-connector (>=4.2.4,<5.0.0)
23
+ Requires-Dist: distlib (>=0.4.0,<0.5.0)
27
24
  Requires-Dist: filelock (>=3.14.0,<4.0.0)
28
25
  Requires-Dist: flake8 (>=4.0.1,<5.0.0)
29
26
  Requires-Dist: identify (==1.5.13)
@@ -31,19 +28,19 @@ Requires-Dist: iniconfig (==1.1.1)
31
28
  Requires-Dist: isort (>=5.10.1,<6.0.0)
32
29
  Requires-Dist: joblib (==1.3.2)
33
30
  Requires-Dist: mccabe (==0.6.1)
34
- Requires-Dist: mlflow (==2.22.2)
31
+ Requires-Dist: mlflow (==3.9.0)
35
32
  Requires-Dist: mock (>=4.0.3,<5.0.0)
36
33
  Requires-Dist: moto (>=4.2.7,<5.0.0)
37
34
  Requires-Dist: mypy-extensions (==0.4.3)
38
35
  Requires-Dist: nodeenv (>=1.5.0,<2.0.0)
39
- Requires-Dist: numpy (==1.23.5)
36
+ Requires-Dist: numpy (==2.1.3)
40
37
  Requires-Dist: packaging (>=23.1,<24.0)
41
- Requires-Dist: pandas (==1.4.4)
38
+ Requires-Dist: pandas (==2.2.3)
42
39
  Requires-Dist: pluggy (==1.5.0)
43
40
  Requires-Dist: polling (==0.3.2)
44
41
  Requires-Dist: py (>=1.11.0,<2.0.0)
45
- Requires-Dist: pyarrow (>=14.0.1,<15.0.0)
46
- Requires-Dist: pydantic (>=1.10.24,<2.0.0)
42
+ Requires-Dist: pyarrow (>=22.0.0,<23.0.0)
43
+ Requires-Dist: pydantic (>=2.12.5,<3.0.0)
47
44
  Requires-Dist: pyparsing (==2.4.7)
48
45
  Requires-Dist: pytest (>=8.3.3,<9.0.0)
49
46
  Requires-Dist: pytest-cov (>=3.0.0,<4.0.0)
@@ -54,8 +51,7 @@ Requires-Dist: responses (==0.23.1)
54
51
  Requires-Dist: s3fs (>=2023.10.0,<2024.0.0)
55
52
  Requires-Dist: six (==1.15.0)
56
53
  Requires-Dist: toml (==0.10.2)
57
- Requires-Dist: torch (==2.3.1)
58
- Requires-Dist: typed-ast (>=1.5.3,<2.0.0)
54
+ Requires-Dist: torch (==2.10.0)
59
55
  Requires-Dist: typing-extensions (>=4.4.0,<5.0.0)
60
56
  Description-Content-Type: text/markdown
61
57
 
@@ -1,13 +1,13 @@
1
1
  [tool.poetry]
2
2
  name = "sm_data_ml_utils"
3
- version = "0.1.2"
3
+ version = "0.1.4"
4
4
  description = "Common Python tools and utilities for ML work"
5
5
  authors = ["Shuming Peh <shuming.peh@gmail.com>"]
6
6
  license = "MIT"
7
7
  readme = "README.md"
8
8
 
9
9
  [tool.poetry.dependencies]
10
- python = ">=3.10,<3.13"
10
+ python = ">=3.13,<3.15"
11
11
  aiobotocore = "^2.8.0"
12
12
  appdirs = "1.4.4"
13
13
  attrs = "^22.2.0"
@@ -17,8 +17,8 @@ botocore = "^1.34.15"
17
17
  certifi = "^2023.7.22"
18
18
  cfgv = "3.2.0"
19
19
  coverage = "5.4"
20
- databricks-sql-connector = "^3.3.0"
21
- distlib = "^0.3.8"
20
+ databricks-sql-connector = "^4.2.4"
21
+ distlib = "^0.4.0"
22
22
  filelock = "^3.14.0"
23
23
  flake8 = "^4.0.1"
24
24
  identify = "1.5.13"
@@ -26,32 +26,31 @@ iniconfig = "1.1.1"
26
26
  isort = "^5.10.1"
27
27
  joblib= "1.3.2"
28
28
  mccabe = "0.6.1"
29
- mlflow = "2.22.2"
29
+ mlflow = "3.9.0"
30
30
  mock = "^4.0.3"
31
31
  moto = "^4.2.7"
32
32
  mypy-extensions = "0.4.3"
33
33
  nodeenv = "^1.5.0"
34
- numpy = "1.23.5"
34
+ numpy = "2.1.3"
35
35
  packaging = "^23.1"
36
- pandas = "1.4.4"
36
+ pandas = "2.2.3"
37
37
  pluggy = "1.5.0"
38
38
  polling = "0.3.2"
39
39
  py = "^1.11.0"
40
- pyarrow = "^14.0.1"
41
- pydantic = "^1.10.24"
40
+ pyarrow = "^22.0.0"
41
+ pydantic = "^2.12.5"
42
42
  pyparsing = "2.4.7"
43
43
  pytest = "^8.3.3"
44
44
  pytest-cov = "^3.0.0"
45
45
  pytest-custom-exit-code = "0.3.0"
46
- PyYAML = "6.0"
46
+ PyYAML = "6.0.3"
47
47
  regex = "^2024.9.11"
48
48
  requests = "^2.32.0"
49
49
  responses = "0.23.1"
50
50
  s3fs = "^2023.10.0"
51
51
  six = "1.15.0"
52
52
  toml = "0.10.2"
53
- torch = "2.3.1"
54
- typed-ast = "^1.5.3"
53
+ torch = "2.10.0"
55
54
  typing-extensions = "^4.4.0"
56
55
  Werkzeug = "^3.0.3"
57
56
 
@@ -1,6 +1,6 @@
1
1
  from typing import Dict
2
2
 
3
- from pydantic import BaseSettings
3
+ from pydantic_settings import BaseSettings
4
4
 
5
5
 
6
6
  class Settings(BaseSettings):
@@ -7,6 +7,7 @@ from typing import Union
7
7
  import mlflow
8
8
  import pandas as pd
9
9
  import torch
10
+ from joblib import load
10
11
 
11
12
  from sm_data_ml_utils.core.databricks_utils import get_target_stage_for_env
12
13
  from sm_data_ml_utils.core.databricks_utils import load_yaml