mostlyai 4.7.1__tar.gz → 4.7.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.
Files changed (86) hide show
  1. {mostlyai-4.7.1 → mostlyai-4.7.2}/PKG-INFO +3 -3
  2. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/__init__.py +1 -1
  3. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/domain.py +12 -12
  4. {mostlyai-4.7.1 → mostlyai-4.7.2}/pyproject.toml +3 -3
  5. {mostlyai-4.7.1 → mostlyai-4.7.2}/.gitignore +0 -0
  6. {mostlyai-4.7.1 → mostlyai-4.7.2}/LICENSE +0 -0
  7. {mostlyai-4.7.1 → mostlyai-4.7.2}/README.md +0 -0
  8. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/__init__.py +0 -0
  9. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/auto_detect.py +0 -0
  10. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/base.py +0 -0
  11. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/context.py +0 -0
  12. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/conversions.py +0 -0
  13. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/__init__.py +0 -0
  14. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/base.py +0 -0
  15. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/bigquery.py +0 -0
  16. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/databricks.py +0 -0
  17. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/hive.py +0 -0
  18. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/mssql.py +0 -0
  19. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/mysql.py +0 -0
  20. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/oracle.py +0 -0
  21. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/postgresql.py +0 -0
  22. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/snowflake.py +0 -0
  23. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/sqlite.py +0 -0
  24. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/db/types_coercion.py +0 -0
  25. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/dtype.py +0 -0
  26. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/exceptions.py +0 -0
  27. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/__init__.py +0 -0
  28. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/base.py +0 -0
  29. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/container/__init__.py +0 -0
  30. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/container/aws.py +0 -0
  31. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/container/azure.py +0 -0
  32. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/container/bucket_based.py +0 -0
  33. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/container/gcs.py +0 -0
  34. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/container/minio.py +0 -0
  35. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/table/__init__.py +0 -0
  36. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/table/csv.py +0 -0
  37. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/table/feather.py +0 -0
  38. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/table/json.py +0 -0
  39. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/table/parquet.py +0 -0
  40. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/file/utils.py +0 -0
  41. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/language_model.py +0 -0
  42. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/metadata_objects.py +0 -0
  43. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/non_context.py +0 -0
  44. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/progress_callback.py +0 -0
  45. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/pull.py +0 -0
  46. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/pull_context.py +0 -0
  47. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/pull_utils.py +0 -0
  48. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/push.py +0 -0
  49. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/util/__init__.py +0 -0
  50. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/util/common.py +0 -0
  51. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_data/util/kerberos.py +0 -0
  52. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/__init__.py +0 -0
  53. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/cli.py +0 -0
  54. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/connectors.py +0 -0
  55. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/__init__.py +0 -0
  56. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/jobs.py +0 -0
  57. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/migration.py +0 -0
  58. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/plan.py +0 -0
  59. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_analyze_training_data.py +0 -0
  60. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_create_data_report.py +0 -0
  61. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_create_model_report.py +0 -0
  62. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_deliver_data.py +0 -0
  63. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_encode_training_data.py +0 -0
  64. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_finalize_generation.py +0 -0
  65. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_finalize_training.py +0 -0
  66. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_generate_data.py +0 -0
  67. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_generate_model_report_data.py +0 -0
  68. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_pull_training_data.py +0 -0
  69. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/execution/step_train_model.py +0 -0
  70. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/generators.py +0 -0
  71. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/progress.py +0 -0
  72. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/routes.py +0 -0
  73. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/server.py +0 -0
  74. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/storage.py +0 -0
  75. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/_local/synthetic_datasets.py +0 -0
  76. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/__init__.py +0 -0
  77. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/_base_utils.py +0 -0
  78. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/_naming_conventions.py +0 -0
  79. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/_utils.py +0 -0
  80. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/api.py +0 -0
  81. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/base.py +0 -0
  82. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/connectors.py +0 -0
  83. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/exceptions.py +0 -0
  84. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/generators.py +0 -0
  85. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/client/synthetic_datasets.py +0 -0
  86. {mostlyai-4.7.1 → mostlyai-4.7.2}/mostlyai/sdk/py.typed +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: mostlyai
3
- Version: 4.7.1
3
+ Version: 4.7.2
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
@@ -60,7 +60,7 @@ Requires-Dist: filelock>=3.16.1; extra == 'local'
60
60
  Requires-Dist: gcsfs>=2023.1.0; extra == 'local'
61
61
  Requires-Dist: joblib>=1.4.2; extra == 'local'
62
62
  Requires-Dist: mostlyai-engine==1.4.3; extra == 'local'
63
- Requires-Dist: mostlyai-qa==1.9.6; extra == 'local'
63
+ Requires-Dist: mostlyai-qa==1.9.7; extra == 'local'
64
64
  Requires-Dist: networkx<4,>=3.0; extra == 'local'
65
65
  Requires-Dist: openpyxl>=3.1.5; extra == 'local'
66
66
  Requires-Dist: python-multipart>=0.0.20; extra == 'local'
@@ -82,7 +82,7 @@ Requires-Dist: filelock>=3.16.1; extra == 'local-gpu'
82
82
  Requires-Dist: gcsfs>=2023.1.0; extra == 'local-gpu'
83
83
  Requires-Dist: joblib>=1.4.2; extra == 'local-gpu'
84
84
  Requires-Dist: mostlyai-engine[gpu]==1.4.3; extra == 'local-gpu'
85
- Requires-Dist: mostlyai-qa==1.9.6; extra == 'local-gpu'
85
+ Requires-Dist: mostlyai-qa==1.9.7; extra == 'local-gpu'
86
86
  Requires-Dist: networkx<4,>=3.0; extra == 'local-gpu'
87
87
  Requires-Dist: openpyxl>=3.1.5; extra == 'local-gpu'
88
88
  Requires-Dist: python-multipart>=0.0.20; extra == 'local-gpu'
@@ -15,4 +15,4 @@
15
15
  from mostlyai.sdk.client.api import MostlyAI
16
16
 
17
17
  __all__ = ["MostlyAI"]
18
- __version__ = "4.7.1" # Do not set this manually. Use poetry version [params].
18
+ __version__ = "4.7.2" # Do not set this manually. Use poetry version [params].
@@ -13,7 +13,7 @@
13
13
  # limitations under the License.
14
14
 
15
15
  # generated by datamodel-codegen:
16
- # timestamp: 2025-05-28T08:40:17+00:00
16
+ # timestamp: 2025-06-03T10:16:27+00:00
17
17
 
18
18
  from __future__ import annotations
19
19
 
@@ -582,7 +582,7 @@ class GeneratorPatchConfig(CustomBaseModel):
582
582
  random_state: int | None = Field(
583
583
  None,
584
584
  alias="randomState",
585
- description="Seed for the random number generators. If None, the random number generator is initialized randomly, yielding different results for every run. \nSetting it to a specific integer ensures reproducible results across runs.\nUseful when consistent results are desired, e.g. for testing or debugging.\n",
585
+ description="Seed for the random number generators. If None, the random number generator is initialized randomly, yielding different results for every run.\nSetting it to a specific integer ensures reproducible results across runs.\nUseful when consistent results are desired, e.g. for testing or debugging.\n",
586
586
  )
587
587
 
588
588
 
@@ -930,7 +930,7 @@ class AssistantMessage(CustomBaseModel):
930
930
  content_type: AssistantMessageContentType | None = Field(None, alias="contentType")
931
931
  content: str | None = Field(
932
932
  None,
933
- description="The content of a message. \nFor file-based artifacts, this contains the filename and nothing else.\nFor resource-based artifacts, this contains the str and nothing else.\n",
933
+ description="The content of a message.\nFor file-based artifacts, this contains the filename and nothing else.\nFor resource-based artifacts, this contains the str and nothing else.\n",
934
934
  min_length=0,
935
935
  )
936
936
  result: str | None = Field(
@@ -1044,7 +1044,7 @@ class AssistantMessageConfig(CustomBaseModel):
1044
1044
  )
1045
1045
  content: str | None = Field(
1046
1046
  None,
1047
- description="The content of a message. \nFor file-based artifacts, this contains the filename and nothing else.\nFor resource-based artifacts, this contains the str and nothing else.\n",
1047
+ description="The content of a message.\nFor file-based artifacts, this contains the filename and nothing else.\nFor resource-based artifacts, this contains the str and nothing else.\n",
1048
1048
  min_length=0,
1049
1049
  )
1050
1050
  content_type: AssistantMessageContentType | None = Field(None, alias="contentType")
@@ -1419,13 +1419,13 @@ class DifferentialPrivacyConfig(CustomBaseModel):
1419
1419
  max_epsilon: float | None = Field(
1420
1420
  10.0,
1421
1421
  alias="maxEpsilon",
1422
- description="Specifies the maximum allowable epsilon value. If the training process exceeds this threshold, it will be terminated early. Only model checkpoints with epsilon values below this limit will be retained. \nIf not provided, the training will proceed without early termination based on epsilon constraints.\n",
1422
+ description="Specifies the maximum allowable epsilon value. If the training process exceeds this threshold, it will be terminated early. Only model checkpoints with epsilon values below this limit will be retained.\nIf not provided, the training will proceed without early termination based on epsilon constraints.\n",
1423
1423
  gt=0.0,
1424
1424
  le=10000.0,
1425
1425
  )
1426
1426
  delta: float | None = Field(
1427
1427
  "1e-5",
1428
- description="The delta value for differential privacy. It is the probability of the privacy guarantee not holding. \nThe smaller the delta, the more confident you can be that the privacy guarantee holds.\nThis delta will be equally distributed between the analysis and the training phase.\n",
1428
+ description="The delta value for differential privacy. It is the probability of the privacy guarantee not holding.\nThe smaller the delta, the more confident you can be that the privacy guarantee holds.\nThis delta will be equally distributed between the analysis and the training phase.\n",
1429
1429
  gt=0.0,
1430
1430
  le=1.0,
1431
1431
  )
@@ -1576,7 +1576,7 @@ class Similarity(CustomBaseModel):
1576
1576
  cosine_similarity_training_holdout: float | None = Field(
1577
1577
  None,
1578
1578
  alias="cosineSimilarityTrainingHoldout",
1579
- description="Cosine similarity between training and holdout centroids. \nServes as a reference for `cosine_similarity_training_synthetic`.\n",
1579
+ description="Cosine similarity between training and holdout centroids.\nServes as a reference for `cosine_similarity_training_synthetic`.\n",
1580
1580
  ge=-1.0,
1581
1581
  le=1.0,
1582
1582
  )
@@ -1590,7 +1590,7 @@ class Similarity(CustomBaseModel):
1590
1590
  discriminator_auc_training_holdout: float | None = Field(
1591
1591
  None,
1592
1592
  alias="discriminatorAUCTrainingHoldout",
1593
- description="Cross-validated AUC of a discriminative model to distinguish between training and holdout samples. \nServes as a reference for `discriminator_auc_training_synthetic`.\n",
1593
+ description="Cross-validated AUC of a discriminative model to distinguish between training and holdout samples.\nServes as a reference for `discriminator_auc_training_synthetic`.\n",
1594
1594
  ge=0.0,
1595
1595
  le=1.0,
1596
1596
  )
@@ -1788,7 +1788,7 @@ class Metadata(CustomBaseModel):
1788
1788
  short_lived_file_token: str | None = Field(
1789
1789
  None,
1790
1790
  alias="shortLivedFileToken",
1791
- description="An auto-generated short-lived file token (`slft`) for accessing resource artifacts.\nThe token is always restricted to a single resource, only valid for 60 minutes, and \nonly accepted by API endpoints that allow to download single files.\n",
1791
+ description="An auto-generated short-lived file token (`slft`) for accessing resource artifacts.\nThe token is always restricted to a single resource, only valid for 60 minutes, and\nonly accepted by API endpoints that allow to download single files.\n",
1792
1792
  )
1793
1793
 
1794
1794
 
@@ -2209,7 +2209,7 @@ class ModelConfiguration(CustomBaseModel):
2209
2209
  enable_flexible_generation: bool | None = Field(
2210
2210
  True,
2211
2211
  alias="enableFlexibleGeneration",
2212
- description="If true, then the trained generator can be used for conditional generation, 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",
2212
+ description="If true, then the trained generator can be used for conditional generation, 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
2213
  )
2214
2214
  value_protection: bool | None = Field(
2215
2215
  True,
@@ -3014,7 +3014,7 @@ class Generator(CustomBaseModel):
3014
3014
  random_state: int | None = Field(
3015
3015
  None,
3016
3016
  alias="randomState",
3017
- description="Seed for the random number generators. If None, the random number generator is initialized randomly, yielding different results for every run. \nSetting it to a specific integer ensures reproducible results across runs.\nUseful when consistent results are desired, e.g. for testing or debugging.\n",
3017
+ description="Seed for the random number generators. If None, the random number generator is initialized randomly, yielding different results for every run.\nSetting it to a specific integer ensures reproducible results across runs.\nUseful when consistent results are desired, e.g. for testing or debugging.\n",
3018
3018
  )
3019
3019
  OPEN_URL_PARTS: ClassVar[list] = ["d", "generators"]
3020
3020
  training: Annotated[Any | None, Field(exclude=True)] = None
@@ -3240,7 +3240,7 @@ class GeneratorConfig(CustomBaseModel):
3240
3240
  random_state: int | None = Field(
3241
3241
  None,
3242
3242
  alias="randomState",
3243
- description="Seed for the random number generators. If None, the random number generator is initialized randomly, yielding different results for every run. \nSetting it to a specific integer ensures reproducible results across runs.\nUseful when consistent results are desired, e.g. for testing or debugging.\n",
3243
+ description="Seed for the random number generators. If None, the random number generator is initialized randomly, yielding different results for every run.\nSetting it to a specific integer ensures reproducible results across runs.\nUseful when consistent results are desired, e.g. for testing or debugging.\n",
3244
3244
  )
3245
3245
  tables: list[SourceTableConfig] | None = Field(None, description="The tables of a generator")
3246
3246
 
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "mostlyai"
3
- version = "4.7.1"
3
+ version = "4.7.2"
4
4
  description = "Synthetic Data SDK"
5
5
  authors = [{ name = "MOSTLY AI", email = "dev@mostly.ai" }]
6
6
  requires-python = ">=3.10,<3.14"
@@ -50,7 +50,7 @@ local = [
50
50
  # "mostlyai-engine @ git+https://github.com/mostly-ai/mostlyai-engine.git@main", # for development
51
51
  # "mostlyai-qa @ git+https://github.com/mostly-ai/mostlyai-qa.git@main", # for development
52
52
  "mostlyai-engine==1.4.3", # for release
53
- "mostlyai-qa==1.9.6", # for release
53
+ "mostlyai-qa==1.9.7", # for release
54
54
  "fastapi>=0.115.6,<0.116",
55
55
  "uvicorn>=0.34.0,<0.35",
56
56
  "python-multipart>=0.0.20",
@@ -76,7 +76,7 @@ local-gpu = [
76
76
  # "mostlyai-engine[gpu] @ git+https://github.com/mostly-ai/mostlyai-engine.git@main", # for development
77
77
  # "mostlyai-qa @ git+https://github.com/mostly-ai/mostlyai-qa.git@main", # for development
78
78
  "mostlyai-engine[gpu]==1.4.3", # for release
79
- "mostlyai-qa==1.9.6", # for release
79
+ "mostlyai-qa==1.9.7", # for release
80
80
  "fastapi>=0.115.6,<0.116",
81
81
  "uvicorn>=0.34.0,<0.35",
82
82
  "python-multipart>=0.0.20",
File without changes
File without changes
File without changes
File without changes