mostlyai 4.7.9__tar.gz → 4.8.0__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-4.7.9 → mostlyai-4.8.0}/PKG-INFO +2 -2
- {mostlyai-4.7.9 → mostlyai-4.8.0}/README.md +1 -1
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/__init__.py +1 -1
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/jobs.py +1 -1
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/domain.py +8 -6
- {mostlyai-4.7.9 → mostlyai-4.8.0}/pyproject.toml +1 -1
- {mostlyai-4.7.9 → mostlyai-4.8.0}/.gitignore +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/LICENSE +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/__init__.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/auto_detect.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/base.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/context.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/conversions.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/__init__.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/base.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/bigquery.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/databricks.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/hive.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/mssql.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/mysql.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/oracle.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/postgresql.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/snowflake.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/sqlite.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/db/types_coercion.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/dtype.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/exceptions.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/__init__.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/base.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/container/__init__.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/container/aws.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/container/azure.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/container/bucket_based.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/container/gcs.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/container/minio.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/table/__init__.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/table/csv.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/table/feather.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/table/json.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/table/parquet.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/file/utils.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/language_model.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/metadata_objects.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/non_context.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/progress_callback.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/pull.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/pull_context.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/pull_utils.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/push.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/util/__init__.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/util/common.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_data/util/kerberos.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/__init__.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/cli.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/connectors.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/__init__.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/migration.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/plan.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_analyze_training_data.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_create_data_report.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_create_model_report.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_deliver_data.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_encode_training_data.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_finalize_generation.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_finalize_training.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_generate_data.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_generate_model_report_data.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_pull_training_data.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_train_model.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/generators.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/progress.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/routes.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/server.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/storage.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/synthetic_datasets.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/__init__.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/_base_utils.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/_naming_conventions.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/_utils.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/api.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/base.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/connectors.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/exceptions.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/generators.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/client/synthetic_datasets.py +0 -0
- {mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/py.typed +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mostlyai
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.8.0
|
|
4
4
|
Summary: Synthetic Data SDK
|
|
5
5
|
Project-URL: homepage, https://app.mostly.ai/
|
|
6
6
|
Project-URL: repository, https://github.com/mostly-ai/mostlyai
|
|
@@ -159,7 +159,7 @@ https://github.com/user-attachments/assets/9e233213-a259-455c-b8ed-d1f1548b492f
|
|
|
159
159
|
- In-depth HTML reports for visual analysis
|
|
160
160
|
- **Flexible Sampling**
|
|
161
161
|
- Up-sample to any data volumes
|
|
162
|
-
- Conditional
|
|
162
|
+
- Conditional simulations based on any columns
|
|
163
163
|
- Re-balance underrepresented segments
|
|
164
164
|
- Context-aware data imputation
|
|
165
165
|
- Statistical fairness controls
|
|
@@ -50,7 +50,7 @@ https://github.com/user-attachments/assets/9e233213-a259-455c-b8ed-d1f1548b492f
|
|
|
50
50
|
- In-depth HTML reports for visual analysis
|
|
51
51
|
- **Flexible Sampling**
|
|
52
52
|
- Up-sample to any data volumes
|
|
53
|
-
- Conditional
|
|
53
|
+
- Conditional simulations based on any columns
|
|
54
54
|
- Re-balance underrepresented segments
|
|
55
55
|
- Context-aware data imputation
|
|
56
56
|
- Statistical fairness controls
|
|
@@ -376,7 +376,7 @@ class Execution:
|
|
|
376
376
|
for column in tgt_table.columns:
|
|
377
377
|
if column.name in encoding_types:
|
|
378
378
|
column.model_encoding_type = encoding_types[column.name]
|
|
379
|
-
# update generator with column-level value ranges, so that these are known for conditional
|
|
379
|
+
# update generator with column-level value ranges, so that these are known for conditional simulations
|
|
380
380
|
for column in tgt_table.columns:
|
|
381
381
|
if column.name in value_ranges:
|
|
382
382
|
column.value_range = value_ranges[column.name]
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
# limitations under the License.
|
|
14
14
|
|
|
15
15
|
# generated by datamodel-codegen:
|
|
16
|
-
# timestamp: 2025-06-
|
|
16
|
+
# timestamp: 2025-06-26T08:04:20+00:00
|
|
17
17
|
|
|
18
18
|
from __future__ import annotations
|
|
19
19
|
|
|
@@ -509,7 +509,7 @@ class GeneratorUsage(CustomBaseModel):
|
|
|
509
509
|
class SourceColumnValueRange(CustomBaseModel):
|
|
510
510
|
"""
|
|
511
511
|
The (privacy-safe) range of values detected within a source column. These values can then be used as seed values
|
|
512
|
-
for conditional
|
|
512
|
+
for conditional simulation. For CATEGORICAL and NUMERIC_DISCRETE encoding types, this will be given as a list
|
|
513
513
|
of unique values, sorted by popularity. For other NUMERIC and for DATETIME encoding types, this will be given
|
|
514
514
|
as a min and max value. Note, that this property will only be populated, once the analysis step for the training
|
|
515
515
|
of the generator has been completed.
|
|
@@ -885,6 +885,7 @@ class AssistantMessageContentType(str, Enum):
|
|
|
885
885
|
artifact_image = "artifact/image"
|
|
886
886
|
artifact_data = "artifact/data"
|
|
887
887
|
artifact_file = "artifact/file"
|
|
888
|
+
artifact_html = "artifact/html"
|
|
888
889
|
artifact_generator = "artifact/generator"
|
|
889
890
|
artifact_synthetic_dataset = "artifact/synthetic-dataset"
|
|
890
891
|
artifact_connector = "artifact/connector"
|
|
@@ -901,6 +902,7 @@ class AssistantMessageDeltaContentType(str, Enum):
|
|
|
901
902
|
artifact_image = "artifact/image"
|
|
902
903
|
artifact_data = "artifact/data"
|
|
903
904
|
artifact_file = "artifact/file"
|
|
905
|
+
artifact_html = "artifact/html"
|
|
904
906
|
artifact_generator = "artifact/generator"
|
|
905
907
|
artifact_synthetic_dataset = "artifact/synthetic-dataset"
|
|
906
908
|
artifact_connector = "artifact/connector"
|
|
@@ -2209,7 +2211,7 @@ class ModelConfiguration(CustomBaseModel):
|
|
|
2209
2211
|
enable_flexible_generation: bool | None = Field(
|
|
2210
2212
|
True,
|
|
2211
2213
|
alias="enableFlexibleGeneration",
|
|
2212
|
-
description="If true, then the trained generator can be used for conditional
|
|
2214
|
+
description="If true, then the trained generator can be used for conditional simulation, rebalancing, imputation and fairness.\nIf none of these will be needed, then one can gain extra accuracy by disabling this feature. This will then result in a fixed\ncolumn order being fed into the training process, rather than a column order, that is randomly permuted for every batch.\n",
|
|
2213
2215
|
)
|
|
2214
2216
|
value_protection: bool | None = Field(
|
|
2215
2217
|
True,
|
|
@@ -2341,7 +2343,7 @@ class SyntheticTableConfiguration(CustomBaseModel):
|
|
|
2341
2343
|
sample_seed_connector_id: str | None = Field(
|
|
2342
2344
|
None,
|
|
2343
2345
|
alias="sampleSeedConnectorId",
|
|
2344
|
-
description="The connector id of the seed data for conditional
|
|
2346
|
+
description="The connector id of the seed data for conditional simulation.\nOnly applicable for subject tables.\n",
|
|
2345
2347
|
)
|
|
2346
2348
|
sample_seed_dict: str | None = Field(
|
|
2347
2349
|
None,
|
|
@@ -2351,7 +2353,7 @@ class SyntheticTableConfiguration(CustomBaseModel):
|
|
|
2351
2353
|
sample_seed_data: str | None = Field(
|
|
2352
2354
|
None,
|
|
2353
2355
|
alias="sampleSeedData",
|
|
2354
|
-
description="The base64-encoded string derived from a Parquet file containing the specified sample seed data.\nThis allows conditional
|
|
2356
|
+
description="The base64-encoded string derived from a Parquet file containing the specified sample seed data.\nThis allows conditional simulation as well as live probing via python clients.\nOnly applicable for subject tables.\n",
|
|
2355
2357
|
)
|
|
2356
2358
|
sampling_temperature: float | None = Field(
|
|
2357
2359
|
1.0,
|
|
@@ -2479,7 +2481,7 @@ class AssistantThread(CustomBaseModel):
|
|
|
2479
2481
|
session_status: AssistantThreadSessionStatus | None = Field(None, alias="sessionStatus")
|
|
2480
2482
|
messages: list[AssistantMessage] | None = Field(
|
|
2481
2483
|
None,
|
|
2482
|
-
description="List of all existing messages, excluding any system message.\nExample:\n content result role contentType\n What's the square root of 9? user text | files\n ok, I will write some python assistant text\n r = math.sqrt(9); r 3 assistant python\n The answer is 3! assistant text\n Plot me 2 barplots user text\n ... plt.savefig(fn); fn ... '/mnt/...' assistant python\n /mnt/data/barplot1.png assistant artifact/image NEW\n /mnt/data/barplot2.png assistant artifact/image NEW\n Here you go. assistant text\n Write me a random CSV file user text\n ... .to_csv(fn); fn ... '/mnt/...' assistant python\n /mnt/data/x/data.csv assistant artifact/data NEW\n Here you go. assistant text\n Write me a some PDF file user text\n ... .to_pdf(fn); fn ... '/mnt/...' assistant python\n /mnt/data/some.pdf assistant artifact/file NEW\n Here you go. assistant text\n pd.__version__ 2.2.5 user python\n It's pandas version 2.2.5. assistant text\n Fetch me the census generator user text\n g = ...; g '348...' assistant python\n 348ce156-7f81-4296-a2a3-5a4b0ec7c08e assistant artifact/generator NEW\n",
|
|
2484
|
+
description="List of all existing messages, excluding any system message.\nExample:\n content result role contentType\n What's the square root of 9? user text | files\n ok, I will write some python assistant text\n r = math.sqrt(9); r 3 assistant python\n The answer is 3! assistant text\n Plot me 2 barplots user text\n ... plt.savefig(fn); fn ... '/mnt/...' assistant python\n /mnt/data/barplot1.png assistant artifact/image NEW\n /mnt/data/barplot2.png assistant artifact/image NEW\n Here you go. assistant text\n Write me a random CSV file user text\n ... .to_csv(fn); fn ... '/mnt/...' assistant python\n /mnt/data/x/data.csv assistant artifact/data NEW\n Here you go. assistant text\n Write me a some PDF file user text\n ... .to_pdf(fn); fn ... '/mnt/...' assistant python\n /mnt/data/some.pdf assistant artifact/file NEW\n Here you go. assistant text\n Create an interactvie plot user text\n ... .to_html(fn); fn ... '/mnt/...' assistant python\n /mnt/data/interactive_plot.html assistant artifact/html NEW\n Here you go. assistant text\n pd.__version__ 2.2.5 user python\n It's pandas version 2.2.5. assistant text\n Fetch me the census generator user text\n g = ...; g '348...' assistant python\n 348ce156-7f81-4296-a2a3-5a4b0ec7c08e assistant artifact/generator NEW\n",
|
|
2483
2485
|
)
|
|
2484
2486
|
usage: AssistantThreadUsage | None = None
|
|
2485
2487
|
|
|
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
|
|
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
|
{mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_analyze_training_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_encode_training_data.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{mostlyai-4.7.9 → mostlyai-4.8.0}/mostlyai/sdk/_local/execution/step_generate_model_report_data.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
|