mostlyai 6.1.0__tar.gz → 6.1.2__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.
- {mostlyai-6.1.0 → mostlyai-6.1.2}/PKG-INFO +13 -13
- {mostlyai-6.1.0 → mostlyai-6.1.2}/README.md +2 -2
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/__init__.py +1 -1
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_analyze_training_data.py +3 -1
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_generate_model_report_data.py +2 -1
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_train_model.py +2 -1
- {mostlyai-6.1.0 → mostlyai-6.1.2}/pyproject.toml +11 -11
- {mostlyai-6.1.0 → mostlyai-6.1.2}/.gitignore +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/LICENSE +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/auto_detect.py +1 -1
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/base.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/constraints/transformations.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/constraints/types/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/constraints/types/base.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/constraints/types/fixed_combinations.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/constraints/types/inequality.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/context.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/conversions.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/base.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/bigquery.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/mssql.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/mysql.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/oracle.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/postgresql.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/snowflake.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/sqlite.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/db/types_coercion.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/dtype.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/exceptions.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/base.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/container/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/container/aws.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/container/azure.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/container/bucket_based.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/container/gcs.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/container/minio.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/table/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/table/csv.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/table/feather.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/table/json.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/table/parquet.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/file/utils.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/language_model.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/metadata_objects.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/non_context.py +5 -5
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/progress_callback.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/pull.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/pull_context.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/pull_utils.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/push.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/util/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/util/common.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/cli.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/connectors.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/docker_entrypoint.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/jobs.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/migration.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/plan.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_create_data_report.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_create_model_report.py +1 -1
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_deliver_data.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_encode_training_data.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_finalize_generation.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_finalize_training.py +1 -1
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_generate_data.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_pull_training_data.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/generators.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/progress.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/routes.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/server.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/storage.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/synthetic_datasets.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/__init__.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/_base_utils.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/_constraint_types.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/_naming_conventions.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/_utils.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/api.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/base.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/connectors.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/exceptions.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/generators.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/client/synthetic_datasets.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/domain.py +0 -0
- {mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/py.typed +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
2
|
Name: mostlyai
|
|
3
|
-
Version: 6.1.
|
|
3
|
+
Version: 6.1.2
|
|
4
4
|
Summary: Synthetic Data SDK
|
|
5
5
|
Project-URL: homepage, https://mostly.ai/
|
|
6
6
|
Project-URL: repository, https://github.com/mostly-ai/mostlyai
|
|
7
7
|
Project-URL: documentation, https://mostly-ai.github.io/mostlyai/
|
|
8
|
-
|
|
8
|
+
Project-URL: issues, https://github.com/mostly-ai/mostlyai/issues
|
|
9
9
|
License-Expression: Apache-2.0
|
|
10
10
|
License-File: LICENSE
|
|
11
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
@@ -53,8 +53,8 @@ Requires-Dist: fastapi>=0.116.0; extra == 'local'
|
|
|
53
53
|
Requires-Dist: filelock>=3.16.1; extra == 'local'
|
|
54
54
|
Requires-Dist: gcsfs>=2023.1.0; extra == 'local'
|
|
55
55
|
Requires-Dist: joblib>=1.4.2; extra == 'local'
|
|
56
|
-
Requires-Dist: mostlyai-engine==2.
|
|
57
|
-
Requires-Dist: mostlyai-qa==1.10.
|
|
56
|
+
Requires-Dist: mostlyai-engine==2.7.0; extra == 'local'
|
|
57
|
+
Requires-Dist: mostlyai-qa==1.10.8; extra == 'local'
|
|
58
58
|
Requires-Dist: networkx<4,>=3.0; extra == 'local'
|
|
59
59
|
Requires-Dist: openpyxl>=3.1.5; extra == 'local'
|
|
60
60
|
Requires-Dist: python-multipart>=0.0.20; extra == 'local'
|
|
@@ -62,9 +62,9 @@ Requires-Dist: s3fs>=2023.1.0; extra == 'local'
|
|
|
62
62
|
Requires-Dist: smart-open[azure,gcs,s3]>=6.3.0; extra == 'local'
|
|
63
63
|
Requires-Dist: sqlalchemy>=2.0.0; extra == 'local'
|
|
64
64
|
Requires-Dist: sshtunnel<0.5,>=0.4.0; extra == 'local'
|
|
65
|
-
Requires-Dist: torch<2.
|
|
65
|
+
Requires-Dist: torch<2.14.0,>=2.13.0; extra == 'local'
|
|
66
66
|
Requires-Dist: torchaudio<2.12.0,>=2.11.0; extra == 'local'
|
|
67
|
-
Requires-Dist: torchvision<0.
|
|
67
|
+
Requires-Dist: torchvision<0.29.0,>=0.28.0; extra == 'local'
|
|
68
68
|
Requires-Dist: uvicorn>=0.34.0; extra == 'local'
|
|
69
69
|
Requires-Dist: xlsxwriter<4,>=3.1.9; extra == 'local'
|
|
70
70
|
Provides-Extra: local-gpu
|
|
@@ -75,8 +75,8 @@ Requires-Dist: fastapi>=0.116.0; extra == 'local-gpu'
|
|
|
75
75
|
Requires-Dist: filelock>=3.16.1; extra == 'local-gpu'
|
|
76
76
|
Requires-Dist: gcsfs>=2023.1.0; extra == 'local-gpu'
|
|
77
77
|
Requires-Dist: joblib>=1.4.2; extra == 'local-gpu'
|
|
78
|
-
Requires-Dist: mostlyai-engine[gpu]==2.
|
|
79
|
-
Requires-Dist: mostlyai-qa==1.10.
|
|
78
|
+
Requires-Dist: mostlyai-engine[gpu]==2.7.0; extra == 'local-gpu'
|
|
79
|
+
Requires-Dist: mostlyai-qa==1.10.8; extra == 'local-gpu'
|
|
80
80
|
Requires-Dist: networkx<4,>=3.0; extra == 'local-gpu'
|
|
81
81
|
Requires-Dist: openpyxl>=3.1.5; extra == 'local-gpu'
|
|
82
82
|
Requires-Dist: python-multipart>=0.0.20; extra == 'local-gpu'
|
|
@@ -84,9 +84,9 @@ Requires-Dist: s3fs>=2023.1.0; extra == 'local-gpu'
|
|
|
84
84
|
Requires-Dist: smart-open[azure,gcs,s3]>=6.3.0; extra == 'local-gpu'
|
|
85
85
|
Requires-Dist: sqlalchemy>=2.0.0; extra == 'local-gpu'
|
|
86
86
|
Requires-Dist: sshtunnel<0.5,>=0.4.0; extra == 'local-gpu'
|
|
87
|
-
Requires-Dist: torch<2.
|
|
87
|
+
Requires-Dist: torch<2.14.0,>=2.13.0; extra == 'local-gpu'
|
|
88
88
|
Requires-Dist: torchaudio<2.12.0,>=2.11.0; extra == 'local-gpu'
|
|
89
|
-
Requires-Dist: torchvision<0.
|
|
89
|
+
Requires-Dist: torchvision<0.29.0,>=0.28.0; extra == 'local-gpu'
|
|
90
90
|
Requires-Dist: uvicorn>=0.34.0; extra == 'local-gpu'
|
|
91
91
|
Requires-Dist: xlsxwriter<4,>=3.1.9; extra == 'local-gpu'
|
|
92
92
|
Provides-Extra: mssql
|
|
@@ -309,12 +309,12 @@ On Linux, one can explicitly install the CPU-only variant of torch together with
|
|
|
309
309
|
|
|
310
310
|
```shell
|
|
311
311
|
# uv pip install
|
|
312
|
-
uv pip install --index-strategy unsafe-first-match -U torch==2.
|
|
312
|
+
uv pip install --index-strategy unsafe-first-match -U torch==2.13.0+cpu torchvision==0.28.0+cpu torchaudio==2.11.0+cpu 'mostlyai[local]' --extra-index-url https://download.pytorch.org/whl/cpu
|
|
313
313
|
```
|
|
314
314
|
|
|
315
315
|
```shell
|
|
316
316
|
# standard pip install
|
|
317
|
-
pip install -U torch==2.
|
|
317
|
+
pip install -U torch==2.13.0+cpu torchvision==0.28.0+cpu torchaudio==2.11.0+cpu 'mostlyai[local]' --extra-index-url https://download.pytorch.org/whl/cpu
|
|
318
318
|
```
|
|
319
319
|
|
|
320
320
|
### CLIENT mode
|
|
@@ -206,12 +206,12 @@ On Linux, one can explicitly install the CPU-only variant of torch together with
|
|
|
206
206
|
|
|
207
207
|
```shell
|
|
208
208
|
# uv pip install
|
|
209
|
-
uv pip install --index-strategy unsafe-first-match -U torch==2.
|
|
209
|
+
uv pip install --index-strategy unsafe-first-match -U torch==2.13.0+cpu torchvision==0.28.0+cpu torchaudio==2.11.0+cpu 'mostlyai[local]' --extra-index-url https://download.pytorch.org/whl/cpu
|
|
210
210
|
```
|
|
211
211
|
|
|
212
212
|
```shell
|
|
213
213
|
# standard pip install
|
|
214
|
-
pip install -U torch==2.
|
|
214
|
+
pip install -U torch==2.13.0+cpu torchvision==0.28.0+cpu torchaudio==2.11.0+cpu 'mostlyai[local]' --extra-index-url https://download.pytorch.org/whl/cpu
|
|
215
215
|
```
|
|
216
216
|
|
|
217
217
|
### CLIENT mode
|
|
@@ -47,4 +47,4 @@ For more information, visit: https://mostly-ai.github.io/mostlyai/
|
|
|
47
47
|
from mostlyai.sdk.client.api import MostlyAI
|
|
48
48
|
|
|
49
49
|
__all__ = ["MostlyAI"]
|
|
50
|
-
__version__ = "6.1.
|
|
50
|
+
__version__ = "6.1.2" # Do not set this manually. Use poetry version [params].
|
{mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_analyze_training_data.py
RENAMED
|
@@ -18,6 +18,7 @@ from collections.abc import Callable
|
|
|
18
18
|
from pathlib import Path
|
|
19
19
|
|
|
20
20
|
from mostlyai.engine.domain import DifferentialPrivacyConfig
|
|
21
|
+
|
|
21
22
|
from mostlyai.sdk.domain import Generator, ModelEncodingType, ModelType, SourceColumnValueRange
|
|
22
23
|
|
|
23
24
|
|
|
@@ -30,9 +31,10 @@ def execute_step_analyze_training_data(
|
|
|
30
31
|
update_progress: Callable,
|
|
31
32
|
) -> tuple[dict[str, ModelEncodingType], dict[str, SourceColumnValueRange]]:
|
|
32
33
|
# import ENGINE here to avoid pre-mature loading of large ENGINE dependencies
|
|
33
|
-
from mostlyai import engine
|
|
34
34
|
from mostlyai.engine._workspace import Workspace
|
|
35
35
|
|
|
36
|
+
from mostlyai import engine
|
|
37
|
+
|
|
36
38
|
# fetch model_config
|
|
37
39
|
tgt_table = next(t for t in generator.tables if t.name == target_table_name)
|
|
38
40
|
if model_type == ModelType.language:
|
{mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_generate_model_report_data.py
RENAMED
|
@@ -29,9 +29,10 @@ def execute_step_generate_model_report_data(
|
|
|
29
29
|
update_progress: Callable,
|
|
30
30
|
):
|
|
31
31
|
# import ENGINE here to avoid pre-mature loading of large ENGINE dependencies
|
|
32
|
-
from mostlyai import engine
|
|
33
32
|
from mostlyai.engine._workspace import Workspace
|
|
34
33
|
|
|
34
|
+
from mostlyai import engine
|
|
35
|
+
|
|
35
36
|
# determine max sample size for generated report samples
|
|
36
37
|
workspace = Workspace(workspace_dir)
|
|
37
38
|
tgt_stats = workspace.tgt_stats.read()
|
|
@@ -31,9 +31,10 @@ def execute_step_train_model(
|
|
|
31
31
|
upload_model_data_callback: Callable | None,
|
|
32
32
|
):
|
|
33
33
|
# import ENGINE here to avoid pre-mature loading of large ENGINE dependencies
|
|
34
|
-
from mostlyai import engine
|
|
35
34
|
from mostlyai.engine.domain import DifferentialPrivacyConfig, ModelStateStrategy
|
|
36
35
|
|
|
36
|
+
from mostlyai import engine
|
|
37
|
+
|
|
37
38
|
_LOG.info(f"mostlyai-engine: {engine.__version__}")
|
|
38
39
|
|
|
39
40
|
# fetch model_config
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "mostlyai"
|
|
3
|
-
version = "6.1.
|
|
3
|
+
version = "6.1.2"
|
|
4
4
|
description = "Synthetic Data SDK"
|
|
5
|
-
authors = [{ name = "MOSTLY AI", email = "dev@mostly.ai" }]
|
|
6
5
|
requires-python = ">=3.11,<3.14"
|
|
7
6
|
readme = "README.md"
|
|
8
7
|
license = "Apache-2.0"
|
|
@@ -49,14 +48,14 @@ dependencies = [
|
|
|
49
48
|
local = [
|
|
50
49
|
# "mostlyai-engine @ git+https://github.com/mostly-ai/mostlyai-engine.git@main", # for development
|
|
51
50
|
# "mostlyai-qa @ git+https://github.com/mostly-ai/mostlyai-qa.git@main", # for development
|
|
52
|
-
"mostlyai-engine==2.
|
|
53
|
-
"mostlyai-qa==1.10.
|
|
51
|
+
"mostlyai-engine==2.7.0", # for release (PyPI)
|
|
52
|
+
"mostlyai-qa==1.10.8", # for release (PyPI)
|
|
54
53
|
"fastapi>=0.116.0",
|
|
55
54
|
"uvicorn>=0.34.0",
|
|
56
55
|
"python-multipart>=0.0.20",
|
|
57
|
-
"torch>=2.
|
|
56
|
+
"torch>=2.13.0,<2.14.0",
|
|
58
57
|
"torchaudio>=2.11.0,<2.12.0",
|
|
59
|
-
"torchvision>=0.
|
|
58
|
+
"torchvision>=0.28.0,<0.29.0",
|
|
60
59
|
"joblib>=1.4.2",
|
|
61
60
|
"sqlalchemy>=2.0.0",
|
|
62
61
|
"sshtunnel>=0.4.0,<0.5",
|
|
@@ -75,14 +74,14 @@ local = [
|
|
|
75
74
|
local-gpu = [
|
|
76
75
|
# "mostlyai-engine[gpu] @ git+https://github.com/mostly-ai/mostlyai-engine.git@main", # for development
|
|
77
76
|
# "mostlyai-qa @ git+https://github.com/mostly-ai/mostlyai-qa.git@main", # for development
|
|
78
|
-
"mostlyai-engine[gpu]==2.
|
|
79
|
-
"mostlyai-qa==1.10.
|
|
77
|
+
"mostlyai-engine[gpu]==2.7.0", # for release (PyPI)
|
|
78
|
+
"mostlyai-qa==1.10.8", # for release (PyPI)
|
|
80
79
|
"fastapi>=0.116.0",
|
|
81
80
|
"uvicorn>=0.34.0",
|
|
82
81
|
"python-multipart>=0.0.20",
|
|
83
|
-
"torch>=2.
|
|
82
|
+
"torch>=2.13.0,<2.14.0",
|
|
84
83
|
"torchaudio>=2.11.0,<2.12.0",
|
|
85
|
-
"torchvision>=0.
|
|
84
|
+
"torchvision>=0.28.0,<0.29.0",
|
|
86
85
|
"joblib>=1.4.2",
|
|
87
86
|
"sqlalchemy>=2.0.0",
|
|
88
87
|
"sshtunnel>=0.4.0,<0.5",
|
|
@@ -121,7 +120,7 @@ snowflake = [
|
|
|
121
120
|
[dependency-groups]
|
|
122
121
|
dev = [
|
|
123
122
|
"pytest>=8.0",
|
|
124
|
-
"ruff>=0.
|
|
123
|
+
"ruff>=0.15.12", # sync'ed with .pre-commit-config (ruff-pre-commit rev)
|
|
125
124
|
"pre-commit>=4.0",
|
|
126
125
|
"twine>=6.1",
|
|
127
126
|
"ipykernel>=6.25",
|
|
@@ -146,6 +145,7 @@ docs = [
|
|
|
146
145
|
homepage = "https://mostly.ai/"
|
|
147
146
|
repository = "https://github.com/mostly-ai/mostlyai"
|
|
148
147
|
documentation = "https://mostly-ai.github.io/mostlyai/"
|
|
148
|
+
issues = "https://github.com/mostly-ai/mostlyai/issues"
|
|
149
149
|
|
|
150
150
|
[tool.uv]
|
|
151
151
|
default-groups = ["dev", "docs"]
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -17,8 +17,8 @@ import re
|
|
|
17
17
|
import time
|
|
18
18
|
|
|
19
19
|
import pandas as pd
|
|
20
|
-
|
|
21
20
|
from mostlyai.engine._common import safe_convert_datetime
|
|
21
|
+
|
|
22
22
|
from mostlyai.sdk._data.base import DataTable
|
|
23
23
|
from mostlyai.sdk._data.dtype import VirtualDType, VirtualInteger, VirtualVarchar
|
|
24
24
|
from mostlyai.sdk._data.util.common import absorb_errors, run_with_timeout_unsafe
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_data/constraints/types/fixed_combinations.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -31,15 +31,11 @@ from copy import copy as shallow_copy
|
|
|
31
31
|
from copy import deepcopy
|
|
32
32
|
from pathlib import Path
|
|
33
33
|
|
|
34
|
+
import mostlyai.engine as engine
|
|
34
35
|
import numpy as np
|
|
35
36
|
import pandas as pd
|
|
36
37
|
import torch
|
|
37
38
|
import torch.nn.functional as F
|
|
38
|
-
from pathvalidate import sanitize_filename
|
|
39
|
-
from torch import nn
|
|
40
|
-
from torch.utils.data import DataLoader, TensorDataset, random_split
|
|
41
|
-
|
|
42
|
-
import mostlyai.engine as engine
|
|
43
39
|
from mostlyai.engine._common import read_json, write_json
|
|
44
40
|
from mostlyai.engine._encoding_types.tabular.categorical import (
|
|
45
41
|
analyze_categorical,
|
|
@@ -49,6 +45,10 @@ from mostlyai.engine._encoding_types.tabular.categorical import (
|
|
|
49
45
|
from mostlyai.engine._encoding_types.tabular.datetime import analyze_datetime, analyze_reduce_datetime, encode_datetime
|
|
50
46
|
from mostlyai.engine._encoding_types.tabular.numeric import analyze_numeric, analyze_reduce_numeric, encode_numeric
|
|
51
47
|
from mostlyai.engine.domain import ModelEncodingType
|
|
48
|
+
from pathvalidate import sanitize_filename
|
|
49
|
+
from torch import nn
|
|
50
|
+
from torch.utils.data import DataLoader, TensorDataset, random_split
|
|
51
|
+
|
|
52
52
|
from mostlyai.sdk._data.base import DataIdentifier, DataTable, NonContextRelation, Schema
|
|
53
53
|
from mostlyai.sdk._data.util.common import IS_NULL, NON_CONTEXT_COLUMN_INFIX
|
|
54
54
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -23,9 +23,9 @@ from pathlib import Path
|
|
|
23
23
|
import pandas as pd
|
|
24
24
|
import pyarrow as pa
|
|
25
25
|
import pyarrow.parquet as papqt
|
|
26
|
+
from mostlyai.engine._workspace import Workspace
|
|
26
27
|
|
|
27
28
|
from mostlyai import qa
|
|
28
|
-
from mostlyai.engine._workspace import Workspace
|
|
29
29
|
from mostlyai.sdk._data.util.common import TABLE_COLUMN_INFIX, TEMPORARY_PRIMARY_KEY, strip_column_prefix
|
|
30
30
|
from mostlyai.sdk._local.execution.step_generate_model_report_data import qa_sample_size_heuristic
|
|
31
31
|
from mostlyai.sdk._local.storage import get_model_label
|
|
File without changes
|
{mostlyai-6.1.0 → mostlyai-6.1.2}/mostlyai/sdk/_local/execution/step_encode_training_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -19,9 +19,9 @@ import time
|
|
|
19
19
|
import traceback
|
|
20
20
|
from pathlib import Path
|
|
21
21
|
|
|
22
|
+
import mostlyai.engine as engine
|
|
22
23
|
import pandas as pd
|
|
23
24
|
|
|
24
|
-
import mostlyai.engine as engine
|
|
25
25
|
from mostlyai.sdk._data.base import NonContextRelation, Schema
|
|
26
26
|
from mostlyai.sdk._data.non_context import (
|
|
27
27
|
CHILDREN_COUNT_COLUMN_NAME,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|