Skip to main content
Synthyverse logo

Welcome to the synthyverse!

An extensive ecosystem for synthetic data generation and evaluation in Python.

Read the docs for in-depth usage.

The synthyverse is a work in progress. Please provide any suggestions through a GitHub Issue.

Features

  • Tabular synthetic data generators. Use low-level generators directly, or wrap them with shared preprocessing through SynthyverseGenerator.
  • Evaluation metrics. Compare synthetic data with fidelity, utility, and privacy metrics through individual metric classes or TabularMetricEvaluator.
  • Benchmarking workflows. Train, sample, evaluate, and save benchmark artifacts with TabularSynthesisBenchmark.
  • Shared preprocessing. Reuse DataProcessor for missing-value handling, schema restoration, and column constraints.

Installation

Install synthyverse from PyPI:

pip install synthyverse

The base package is MIT licensed and does not install the ctgan package. CTGANGenerator and TVAEGenerator are only available when installing the optional CTGAN extra:

pip install "synthyverse[ctgan]"

That extra installs the ctgan dependency, which is distributed under the Business Source License. Review that license before using CTGAN or TVAE functionality.

Third-party attribution, license, NOTICE, and modification details are listed in THIRD_PARTY_NOTICES.md.

For local development from a clone:

pip install -e .

Usage

Use a high-level wrapper when you want preprocessing and schema restoration handled for you:

from synthyverse.generators import SynthyverseGenerator

generator = SynthyverseGenerator(
    "univariate",
    missing_imputation_method="median",
    random_state=42,
)
generator.fit(X, discrete_features=["category", "target"])
X_syn = generator.generate(1000)

Use the lower-level APIs when you want explicit control over preprocessing, generator fitting, metrics, or benchmarking. See the docs for complete examples.

Metadata

Release files for synthyverse 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for synthyverse 0.2.8
File Size Uploaded
synthyverse-0.2.8.tar.gz 2.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for synthyverse 0.2.8
File Interpreter ABI Platform
synthyverse-0.2.8-py3-none-any.whl Python 3 none any Details

Total release size: 2.4 MB

Release files / synthyverse-0.2.8.tar.gz

Download URL synthyverse-0.2.8.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
059fba9813bb9291dfc4cf28edc32b65722a334cb07e8a6d238eb0bcc5343c7d
BLAKE2b-256 checksum
How to use checksums
9a034dd9cdaf8a36935b7426b8956a1efaef78e4bd6eb5c1d737a7a6e67edbbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.18

Release files / synthyverse-0.2.8-py3-none-any.whl

Download URL synthyverse-0.2.8-py3-none-any.whl
Size 294.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3ed90b8ff0f9e60f0ab479facb8db7393efd0c66abca2f6649e7d9789d8c03a5
BLAKE2b-256 checksum
How to use checksums
fdcad21b643d8025dcb782fa33156ee8609e68f8ef4b7cfb4c53426d70e8e8ee
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.8.18

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page