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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

synthyverse-0.2.7.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

synthyverse-0.2.7-py3-none-any.whl (222.2 kB view details)

Uploaded Python 3

File details

Details for the file synthyverse-0.2.7.tar.gz.

File metadata

  • Download URL: synthyverse-0.2.7.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for synthyverse-0.2.7.tar.gz
Algorithm Hash digest
SHA256 b480d55359c0af525240248cd3e40a918d6d95c4fdf9604adcec454a449fa8d4
MD5 62a997039cb2a5d59762d59998181ae6
BLAKE2b-256 4a334a17f12a696b5a5e4aa5916bd3feb04be77c5bbc681ba954e75ed758d4b9

See more details on using hashes here.

File details

Details for the file synthyverse-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: synthyverse-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 222.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.8.18

File hashes

Hashes for synthyverse-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 bd00bbb6cb8b6f53dd20f229e6454989399398db1fa8d176900f2045b4db2cd3
MD5 ad97c56012aca808b0679dd7ecb11145
BLAKE2b-256 f472a96482305efeaa5963d5ecffc0638a480ac7f6303674337bafd21e3e9442

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.7 This release

2 files

0.2.6

2 files

0.2.5

2 files

0.2.4

2 files

0.2.3

2 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