batch-analytics 0.3.17__tar.gz → 0.3.18__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 (33) hide show
  1. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/PKG-INFO +13 -9
  2. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/pyproject.toml +13 -10
  3. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics.egg-info/PKG-INFO +13 -9
  4. batch_analytics-0.3.18/src/batch_analytics.egg-info/requires.txt +57 -0
  5. batch_analytics-0.3.17/src/batch_analytics.egg-info/requires.txt +0 -33
  6. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/README.md +0 -0
  7. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/setup.cfg +0 -0
  8. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/__init__.py +0 -0
  9. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/__main__.py +0 -0
  10. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/analytics/__init__.py +0 -0
  11. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/analytics/correlation.py +0 -0
  12. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/analytics/gluon_autogluon_infer.py +0 -0
  13. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/analytics/gluon_autogluon_train.py +0 -0
  14. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/analytics/linear_regression.py +0 -0
  15. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/analytics/pca_clustering.py +0 -0
  16. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/analytics/t_test.py +0 -0
  17. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/config.py +0 -0
  18. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/extract.py +0 -0
  19. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/job_runner.py +0 -0
  20. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/log.py +0 -0
  21. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/modules.py +0 -0
  22. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/output/__init__.py +0 -0
  23. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/output/base.py +0 -0
  24. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/output/clickhouse.py +0 -0
  25. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/output/local.py +0 -0
  26. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/output/s3.py +0 -0
  27. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/transform.py +0 -0
  28. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/utils/__init__.py +0 -0
  29. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics/utils/gluon_autogluon_common.py +0 -0
  30. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics.egg-info/SOURCES.txt +0 -0
  31. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics.egg-info/dependency_links.txt +0 -0
  32. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics.egg-info/entry_points.txt +0 -0
  33. {batch_analytics-0.3.17 → batch_analytics-0.3.18}/src/batch_analytics.egg-info/top_level.txt +0 -0
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: batch-analytics
3
- Version: 0.3.17
3
+ Version: 0.3.18
4
4
  Summary: PySpark batch analytics: Extract, Transform, Stage, and analytical modules (linear regression, correlation, PCA, t-test).
5
5
  Author: Litewave Analytics Team
6
6
  License: MIT
7
- Requires-Python: >=3.9
7
+ Requires-Python: >=3.8
8
8
  Description-Content-Type: text/markdown
9
9
  Requires-Dist: pyspark<3.6,>=3.4
10
- Requires-Dist: numpy>=1.22.0
10
+ Requires-Dist: numpy>=1.19.0
11
11
  Requires-Dist: scipy>=1.5.0
12
12
  Provides-Extra: dev
13
13
  Requires-Dist: pytest>=7.0; extra == "dev"
@@ -16,22 +16,26 @@ Requires-Dist: scipy>=1.5.0; extra == "ttest"
16
16
  Provides-Extra: s3
17
17
  Requires-Dist: boto3>=1.28; extra == "s3"
18
18
  Provides-Extra: clickhouse
19
- Requires-Dist: clickhouse-connect>=0.7; extra == "clickhouse"
19
+ Requires-Dist: clickhouse-connect<0.9,>=0.7; python_version < "3.9" and extra == "clickhouse"
20
+ Requires-Dist: clickhouse-connect>=0.7; python_version >= "3.9" and extra == "clickhouse"
20
21
  Provides-Extra: output
21
22
  Requires-Dist: boto3>=1.28; extra == "output"
22
- Requires-Dist: clickhouse-connect>=0.7; extra == "output"
23
+ Requires-Dist: clickhouse-connect<0.9,>=0.7; python_version < "3.9" and extra == "output"
24
+ Requires-Dist: clickhouse-connect>=0.7; python_version >= "3.9" and extra == "output"
23
25
  Provides-Extra: autogluon
24
26
  Requires-Dist: autogluon<2.0,>=1.0; extra == "autogluon"
25
27
  Requires-Dist: pandas>=1.3.0; extra == "autogluon"
26
28
  Requires-Dist: boto3>=1.28; extra == "autogluon"
27
- Requires-Dist: clickhouse-connect>=0.7; extra == "autogluon"
28
- Requires-Dist: pyarrow>=10.0.0; extra == "autogluon"
29
+ Requires-Dist: clickhouse-connect<0.9,>=0.7; python_version < "3.9" and extra == "autogluon"
30
+ Requires-Dist: clickhouse-connect>=0.7; python_version >= "3.9" and extra == "autogluon"
31
+ Requires-Dist: pyarrow>=10.0.0; python_version >= "3.8" and extra == "autogluon"
29
32
  Provides-Extra: full
30
33
  Requires-Dist: scipy>=1.5.0; extra == "full"
31
34
  Requires-Dist: boto3>=1.28; extra == "full"
32
- Requires-Dist: clickhouse-connect>=0.7; extra == "full"
35
+ Requires-Dist: clickhouse-connect<0.9,>=0.7; python_version < "3.9" and extra == "full"
36
+ Requires-Dist: clickhouse-connect>=0.7; python_version >= "3.9" and extra == "full"
33
37
  Requires-Dist: autogluon<2.0,>=1.0; extra == "full"
34
- Requires-Dist: pyarrow>=10.0.0; extra == "full"
38
+ Requires-Dist: pyarrow>=10.0.0; python_version >= "3.8" and extra == "full"
35
39
 
36
40
  # Batch Analytics
37
41
 
@@ -4,14 +4,13 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "batch-analytics"
7
- version = "0.3.17"
7
+ version = "0.3.18"
8
8
  description = "PySpark batch analytics: Extract, Transform, Stage, and analytical modules (linear regression, correlation, PCA, t-test)."
9
9
  readme = "README.md"
10
- # AutoGluon 1.x pulls thinc/blis which need NumPy 2.x; NumPy 2 does not support Python 3.8.
11
- requires-python = ">=3.9"
10
+ requires-python = ">=3.8"
12
11
  dependencies = [
13
12
  "pyspark>=3.4,<3.6",
14
- "numpy>=1.22.0",
13
+ "numpy>=1.19.0",
15
14
  # Welch t-test (t_test.py); keep on core deps so `pip install batch-analytics` works in minimal driver images
16
15
  "scipy>=1.5.0",
17
16
  ]
@@ -24,27 +23,31 @@ dev = ["pytest>=7.0"]
24
23
  ttest = ["scipy>=1.5.0"]
25
24
  s3 = ["boto3>=1.28"]
26
25
  clickhouse = [
27
- "clickhouse-connect>=0.7",
26
+ "clickhouse-connect>=0.7,<0.9; python_version < '3.9'",
27
+ "clickhouse-connect>=0.7; python_version >= '3.9'",
28
28
  ]
29
29
  output = [
30
30
  "boto3>=1.28",
31
- "clickhouse-connect>=0.7",
31
+ "clickhouse-connect>=0.7,<0.9; python_version < '3.9'",
32
+ "clickhouse-connect>=0.7; python_version >= '3.9'",
32
33
  ]
33
34
  # AutoGluon Tabular train/infer (POST /submit/train, /submit/inf on analytics_runner). Requires Python 3.9+.
34
35
  autogluon = [
35
36
  "autogluon>=1.0,<2.0",
36
37
  "pandas>=1.3.0",
37
38
  "boto3>=1.28",
38
- "clickhouse-connect>=0.7",
39
- "pyarrow>=10.0.0",
39
+ "clickhouse-connect>=0.7,<0.9; python_version < '3.9'",
40
+ "clickhouse-connect>=0.7; python_version >= '3.9'",
41
+ "pyarrow>=10.0.0; python_version >= '3.8'",
40
42
  ]
41
43
  # Install all optional runtime deps used anywhere in the package
42
44
  full = [
43
45
  "scipy>=1.5.0",
44
46
  "boto3>=1.28",
45
- "clickhouse-connect>=0.7",
47
+ "clickhouse-connect>=0.7,<0.9; python_version < '3.9'",
48
+ "clickhouse-connect>=0.7; python_version >= '3.9'",
46
49
  "autogluon>=1.0,<2.0",
47
- "pyarrow>=10.0.0",
50
+ "pyarrow>=10.0.0; python_version >= '3.8'",
48
51
  ]
49
52
 
50
53
  [project.scripts]
@@ -1,13 +1,13 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: batch-analytics
3
- Version: 0.3.17
3
+ Version: 0.3.18
4
4
  Summary: PySpark batch analytics: Extract, Transform, Stage, and analytical modules (linear regression, correlation, PCA, t-test).
5
5
  Author: Litewave Analytics Team
6
6
  License: MIT
7
- Requires-Python: >=3.9
7
+ Requires-Python: >=3.8
8
8
  Description-Content-Type: text/markdown
9
9
  Requires-Dist: pyspark<3.6,>=3.4
10
- Requires-Dist: numpy>=1.22.0
10
+ Requires-Dist: numpy>=1.19.0
11
11
  Requires-Dist: scipy>=1.5.0
12
12
  Provides-Extra: dev
13
13
  Requires-Dist: pytest>=7.0; extra == "dev"
@@ -16,22 +16,26 @@ Requires-Dist: scipy>=1.5.0; extra == "ttest"
16
16
  Provides-Extra: s3
17
17
  Requires-Dist: boto3>=1.28; extra == "s3"
18
18
  Provides-Extra: clickhouse
19
- Requires-Dist: clickhouse-connect>=0.7; extra == "clickhouse"
19
+ Requires-Dist: clickhouse-connect<0.9,>=0.7; python_version < "3.9" and extra == "clickhouse"
20
+ Requires-Dist: clickhouse-connect>=0.7; python_version >= "3.9" and extra == "clickhouse"
20
21
  Provides-Extra: output
21
22
  Requires-Dist: boto3>=1.28; extra == "output"
22
- Requires-Dist: clickhouse-connect>=0.7; extra == "output"
23
+ Requires-Dist: clickhouse-connect<0.9,>=0.7; python_version < "3.9" and extra == "output"
24
+ Requires-Dist: clickhouse-connect>=0.7; python_version >= "3.9" and extra == "output"
23
25
  Provides-Extra: autogluon
24
26
  Requires-Dist: autogluon<2.0,>=1.0; extra == "autogluon"
25
27
  Requires-Dist: pandas>=1.3.0; extra == "autogluon"
26
28
  Requires-Dist: boto3>=1.28; extra == "autogluon"
27
- Requires-Dist: clickhouse-connect>=0.7; extra == "autogluon"
28
- Requires-Dist: pyarrow>=10.0.0; extra == "autogluon"
29
+ Requires-Dist: clickhouse-connect<0.9,>=0.7; python_version < "3.9" and extra == "autogluon"
30
+ Requires-Dist: clickhouse-connect>=0.7; python_version >= "3.9" and extra == "autogluon"
31
+ Requires-Dist: pyarrow>=10.0.0; python_version >= "3.8" and extra == "autogluon"
29
32
  Provides-Extra: full
30
33
  Requires-Dist: scipy>=1.5.0; extra == "full"
31
34
  Requires-Dist: boto3>=1.28; extra == "full"
32
- Requires-Dist: clickhouse-connect>=0.7; extra == "full"
35
+ Requires-Dist: clickhouse-connect<0.9,>=0.7; python_version < "3.9" and extra == "full"
36
+ Requires-Dist: clickhouse-connect>=0.7; python_version >= "3.9" and extra == "full"
33
37
  Requires-Dist: autogluon<2.0,>=1.0; extra == "full"
34
- Requires-Dist: pyarrow>=10.0.0; extra == "full"
38
+ Requires-Dist: pyarrow>=10.0.0; python_version >= "3.8" and extra == "full"
35
39
 
36
40
  # Batch Analytics
37
41
 
@@ -0,0 +1,57 @@
1
+ pyspark<3.6,>=3.4
2
+ numpy>=1.19.0
3
+ scipy>=1.5.0
4
+
5
+ [autogluon]
6
+ autogluon<2.0,>=1.0
7
+ pandas>=1.3.0
8
+ boto3>=1.28
9
+
10
+ [autogluon:python_version < "3.9"]
11
+ clickhouse-connect<0.9,>=0.7
12
+
13
+ [autogluon:python_version >= "3.8"]
14
+ pyarrow>=10.0.0
15
+
16
+ [autogluon:python_version >= "3.9"]
17
+ clickhouse-connect>=0.7
18
+
19
+ [clickhouse]
20
+
21
+ [clickhouse:python_version < "3.9"]
22
+ clickhouse-connect<0.9,>=0.7
23
+
24
+ [clickhouse:python_version >= "3.9"]
25
+ clickhouse-connect>=0.7
26
+
27
+ [dev]
28
+ pytest>=7.0
29
+
30
+ [full]
31
+ scipy>=1.5.0
32
+ boto3>=1.28
33
+ autogluon<2.0,>=1.0
34
+
35
+ [full:python_version < "3.9"]
36
+ clickhouse-connect<0.9,>=0.7
37
+
38
+ [full:python_version >= "3.8"]
39
+ pyarrow>=10.0.0
40
+
41
+ [full:python_version >= "3.9"]
42
+ clickhouse-connect>=0.7
43
+
44
+ [output]
45
+ boto3>=1.28
46
+
47
+ [output:python_version < "3.9"]
48
+ clickhouse-connect<0.9,>=0.7
49
+
50
+ [output:python_version >= "3.9"]
51
+ clickhouse-connect>=0.7
52
+
53
+ [s3]
54
+ boto3>=1.28
55
+
56
+ [ttest]
57
+ scipy>=1.5.0
@@ -1,33 +0,0 @@
1
- pyspark<3.6,>=3.4
2
- numpy>=1.22.0
3
- scipy>=1.5.0
4
-
5
- [autogluon]
6
- autogluon<2.0,>=1.0
7
- pandas>=1.3.0
8
- boto3>=1.28
9
- clickhouse-connect>=0.7
10
- pyarrow>=10.0.0
11
-
12
- [clickhouse]
13
- clickhouse-connect>=0.7
14
-
15
- [dev]
16
- pytest>=7.0
17
-
18
- [full]
19
- scipy>=1.5.0
20
- boto3>=1.28
21
- clickhouse-connect>=0.7
22
- autogluon<2.0,>=1.0
23
- pyarrow>=10.0.0
24
-
25
- [output]
26
- boto3>=1.28
27
- clickhouse-connect>=0.7
28
-
29
- [s3]
30
- boto3>=1.28
31
-
32
- [ttest]
33
- scipy>=1.5.0