Skip to content

Repository files navigation

PySynthData

Synthetic data generation for ML training. Create realistic datasets for model development and testing.

Tests

Generate synthetic datasets that match your production data characteristics. Useful for testing, development, and training machine learning models without exposing real data.

Quick Start

from pysynthdata import Generator

# Create synthetic data matching your schema
generator = Generator(
    rows=10000,
    schema={
        "user_id": "integer",
        "email": "email",
        "age": {"type": "integer", "min": 18, "max": 100},
    }
)

df = generator.generate()

Key Features

  • Generate realistic synthetic data matching your schema
  • Preserve statistical properties of original data
  • Support for multiple data types and distributions
  • Configurable correlations between fields
  • Export to CSV, Parquet, JSON

Installation

pip install pysynthdata

Use Cases

  • Testing data pipelines without real data
  • ML model training and development
  • Load testing databases and systems
  • Privacy-preserving data sharing
  • Benchmarking data processing applications

Documentation

License

MIT License - See LICENSE

About

Synthetic data generation for ML training. Create realistic datasets for model development and testing.

Resources

Security policy

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages