sdv 1.38.1.dev0__tar.gz → 1.38.2.dev0__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.
- {sdv-1.38.1.dev0/sdv.egg-info → sdv-1.38.2.dev0}/PKG-INFO +2 -1
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/pyproject.toml +2 -1
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/__init__.py +1 -1
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/multi_table/base.py +5 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/multi_table/hma.py +0 -1
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0/sdv.egg-info}/PKG-INFO +2 -1
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv.egg-info/requires.txt +1 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/LICENSE +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/README.md +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/_utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/_errors.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/_utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/base.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/fixed_combinations.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/fixed_increments.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/inequality.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/one_hot_encoding.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/programmable_constraint.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/cag/range.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/constraints/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/constraints/base.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/constraints/errors.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/constraints/tabular.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/constraints/utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/data_processing/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/data_processing/data_processor.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/data_processing/datetime_formatter.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/data_processing/errors.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/data_processing/numerical_formatter.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/data_processing/utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/datasets/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/datasets/demo.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/datasets/local.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/errors.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/evaluation/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/evaluation/_utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/evaluation/evaluation.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/evaluation/multi_table.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/evaluation/single_table.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/evaluation/utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/io/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/io/local/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/io/local/local.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/lite/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/lite/single_table.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/logging/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/logging/logger.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/logging/sdv_logger_config.yml +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/logging/utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metadata/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metadata/errors.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metadata/metadata.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metadata/metadata_upgrader.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metadata/multi_table.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metadata/single_table.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metadata/utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metadata/visualization.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metrics/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metrics/demos.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metrics/relational.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metrics/tabular.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/metrics/timeseries.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/multi_table/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/multi_table/dayz.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/multi_table/utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/sampling/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/sampling/hierarchical_sampler.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/sampling/independent_sampler.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/sampling/tabular.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/sequential/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/sequential/par.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/single_table/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/single_table/base.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/single_table/copulagan.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/single_table/copulas.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/single_table/ctgan.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/single_table/dayz.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/single_table/utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/utils/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/utils/mixins.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/utils/poc.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/utils/utils.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv/version/__init__.py +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv.egg-info/SOURCES.txt +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv.egg-info/dependency_links.txt +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv.egg-info/entry_points.txt +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/sdv.egg-info/top_level.txt +0 -0
- {sdv-1.38.1.dev0 → sdv-1.38.2.dev0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sdv
|
|
3
|
-
Version: 1.38.
|
|
3
|
+
Version: 1.38.2.dev0
|
|
4
4
|
Summary: Generate synthetic data for single table, multi table and sequential data
|
|
5
5
|
Author-email: "DataCebo, Inc." <info@sdv.dev>
|
|
6
6
|
License-Expression: BUSL-1.1
|
|
@@ -49,6 +49,7 @@ Requires-Dist: deepecho>=0.8.0; python_version >= "3.14"
|
|
|
49
49
|
Requires-Dist: rdt>=1.18.2; python_version < "3.14"
|
|
50
50
|
Requires-Dist: rdt>=1.20.0; python_version >= "3.14"
|
|
51
51
|
Requires-Dist: sdmetrics>=0.28.1
|
|
52
|
+
Requires-Dist: plotly<7.0.0
|
|
52
53
|
Requires-Dist: platformdirs>=4.0
|
|
53
54
|
Requires-Dist: pyyaml>=6.0.1
|
|
54
55
|
Provides-Extra: excel
|
|
@@ -47,6 +47,7 @@ dependencies = [
|
|
|
47
47
|
"rdt>=1.18.2;python_version<'3.14'",
|
|
48
48
|
"rdt>=1.20.0;python_version>='3.14'",
|
|
49
49
|
"sdmetrics>=0.28.1",
|
|
50
|
+
"plotly<7.0.0",
|
|
50
51
|
'platformdirs>=4.0',
|
|
51
52
|
'pyyaml>=6.0.1',
|
|
52
53
|
]
|
|
@@ -149,7 +150,7 @@ namespaces = false
|
|
|
149
150
|
version = {attr = 'sdv.__version__'}
|
|
150
151
|
|
|
151
152
|
[tool.bumpversion]
|
|
152
|
-
current_version = "1.38.
|
|
153
|
+
current_version = "1.38.2.dev0"
|
|
153
154
|
parse = '(?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\.(?P<release>[a-z]+)(?P<candidate>\d+))?'
|
|
154
155
|
serialize = [
|
|
155
156
|
'{major}.{minor}.{patch}.{release}{candidate}',
|
|
@@ -133,6 +133,10 @@ class BaseMultiTableSynthesizer:
|
|
|
133
133
|
'not supported in SDV Community.'
|
|
134
134
|
)
|
|
135
135
|
|
|
136
|
+
def _validate_schema_complexity(self):
|
|
137
|
+
"""Implement this function for slow synthesizers."""
|
|
138
|
+
pass
|
|
139
|
+
|
|
136
140
|
def __init__(self, metadata, locales=['en_US'], synthesizer_kwargs=None):
|
|
137
141
|
self.metadata = metadata
|
|
138
142
|
if type(metadata) is MultiTableMetadata:
|
|
@@ -141,6 +145,7 @@ class BaseMultiTableSynthesizer:
|
|
|
141
145
|
warnings.filterwarnings('ignore', message=r'.*column relationship.*')
|
|
142
146
|
self.metadata.validate()
|
|
143
147
|
|
|
148
|
+
self._validate_schema_complexity()
|
|
144
149
|
self._check_metadata_updated()
|
|
145
150
|
self._original_metadata = deepcopy(self.metadata)
|
|
146
151
|
self._modified_multi_table_metadata = deepcopy(self.metadata)
|
|
@@ -203,7 +203,6 @@ class HMASynthesizer(BaseHierarchicalSampler, BaseMultiTableSynthesizer):
|
|
|
203
203
|
child_tables.add(relationship['child_table_name'])
|
|
204
204
|
for child_table_name in child_tables:
|
|
205
205
|
self.set_table_parameters(child_table_name, {'default_distribution': 'norm'})
|
|
206
|
-
self._validate_schema_complexity()
|
|
207
206
|
|
|
208
207
|
def set_table_parameters(self, table_name, table_parameters):
|
|
209
208
|
"""Update the table's synthesizer instantiation parameters.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: sdv
|
|
3
|
-
Version: 1.38.
|
|
3
|
+
Version: 1.38.2.dev0
|
|
4
4
|
Summary: Generate synthetic data for single table, multi table and sequential data
|
|
5
5
|
Author-email: "DataCebo, Inc." <info@sdv.dev>
|
|
6
6
|
License-Expression: BUSL-1.1
|
|
@@ -49,6 +49,7 @@ Requires-Dist: deepecho>=0.8.0; python_version >= "3.14"
|
|
|
49
49
|
Requires-Dist: rdt>=1.18.2; python_version < "3.14"
|
|
50
50
|
Requires-Dist: rdt>=1.20.0; python_version >= "3.14"
|
|
51
51
|
Requires-Dist: sdmetrics>=0.28.1
|
|
52
|
+
Requires-Dist: plotly<7.0.0
|
|
52
53
|
Requires-Dist: platformdirs>=4.0
|
|
53
54
|
Requires-Dist: pyyaml>=6.0.1
|
|
54
55
|
Provides-Extra: excel
|
|
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
|
|
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
|