copulas
Create tabular synthetic data using copulas-based modeling.
What it is and what it does
Copulas is a Python library for learning multivariate distributions from numerical data and generating synthetic data that follows the same statistical patterns. You provide a table of real data, fit a copula model (choosing from options like Gaussian Copula, Vine Copulas, or Archimedian Copulas), and then sample new synthetic records that preserve the correlations and marginal distributions of the original. The library integrates with numpy, pandas, scipy for computation and plotly for visualization, allowing you to compare real and synthetic data side-by-side in 1D, 2D, and 3D plots.
The package is part of the Synthetic Data Vault Project and targets developers and data engineers building synthetic data pipelines. It exposes the learned model parameters for inspection and tuning, making it suitable for both exploratory work and production use where you need control over the generation process. The codebase is actively maintained, supports Python 3.9 through 3.14, and has no known security vulnerabilities.
Use it for:
- Generate privacy-preserving synthetic datasets for testing and development without exposing real customer or sensitive data
- Create balanced training datasets for machine learning by sampling from learned multivariate distributions
- Augment small datasets by learning their statistical structure and generating additional synthetic records
- Validate data pipelines and analytics by producing synthetic data with known statistical properties
- Compare real versus synthetic data distributions visually to verify model quality before deployment
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Copulas models multivariate statistical distributions and generates synthetic tabular data that preserves the statistical properties of the original dataset using copula functions.
Yes, with conditions. The package is actively maintained, has low install friction, and solves a real need for synthetic tabular data generation. However, the BUSL-1.1 license restricts commercial use until a future date—verify the license terms against your use case before committing. The pre-alpha development status suggests the API may change; for production use, pin the version and monitor releases.
Install
copulas on PyPI
pip
pip install copulasuv
uv add copulaspoetry
poetry add copulasInstalling copulas
Before you install
Installation is straightforward with low friction; the package has four common runtime dependencies (numpy, pandas, plotly, scipy) and maintains active development with a recent release.
License in practice
The package uses BUSL-1.1 (Business Source License), which restricts commercial use until a future date and may require review before adoption in commercial projects.
Quickstart
pip install copulas
from copulas.datasets import sample_trivariate_xyz
from copulas.multivariate import GaussianMultivariate
real_data = sample_trivariate_xyz()
copula = GaussianMultivariate()
copula.fit(real_data)
synthetic_data = copula.sample(len(real_data))
Verify before relying
- Whether BUSL-1.1 license restrictions apply to your intended use case and timeline
- Performance characteristics and scalability limits for large datasets
- Specific copula types supported beyond Gaussian, Vine, and Archimedian mentioned in description
Package facts
| License | BUSL-1.1 (unclear) |
| Python support | supports the current Python release (<3.15,>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 4 — numpy, pandas, plotly, scipy |
| Maintenance | actively maintained — 190 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 201,903/month — #9,656 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: copulas-0.14.1-py3-none-any.whl
Keywords: copulas
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
sdvSDV generates synthetic tabular data by…
unclear · top 15,000 on PyPI
deepechoDeepEcho generates synthetic time series data…
unclear · top 15,000 on PyPI
ctganCTGAN generates synthetic tabular data by…
unclear · top 15,000 on PyPI
hyppohyppo provides multivariate hypothesis testing…
permissive · top 15,000 on PyPI
sdmetricsSDMetrics evaluates synthetic data by computing…
permissive · top 15,000 on PyPI
data-designerGenerates high-quality synthetic datasets from…
permissive · top 15,000 on PyPI
princePrince implements multivariate exploratory data…
permissive · top 15,000 on PyPI
statsmodelsstatsmodels provides statistical models,…
permissive · top 1,000 on PyPI
cornerGenerates publication-quality corner plots…
permissive · top 15,000 on PyPI
rdtRDT converts raw, mixed-type data into fully…
unclear · top 15,000 on PyPI