skillfed

pydoe

Design of Experiments for Python

pydoe v1.4.0 2.8M downloads/30d#2,904 on PyPI334
Permissive license BSD-3-Clause Active released

What it is and what it does

PyDOE is a comprehensive experimental design library that generates structured point sets for planning and analyzing scientific experiments. It implements classical DOE methods (full and fractional factorial, Plackett-Burman, Latin hypercube, Box-Behnken, central composite, Taguchi, and many others) plus advanced techniques like space-filling designs, low-discrepancy sequences, and optimal design algorithms. The package depends on numpy and scipy for numerical computation and is built on a stable, long-running codebase (first released in 2013) that supports modern Python versions.

Typical users are experimentalists who need to choose factor levels and run counts before conducting expensive tests—whether in manufacturing, materials science, simulation, or parameter optimization. Rather than running all possible combinations or guessing, PyDOE lets you construct designs that balance coverage, efficiency, and statistical properties, then analyze results to identify important factors or fit response models.

Use it for:

  • Plan a manufacturing experiment with multiple process parameters using fractional factorial to reduce runs while detecting main effects.
  • Generate space-filling sample points for computer simulation or surrogate model training using Latin hypercube or Sobol sequences.
  • Construct a response-surface design (Box-Behnken or central composite) to fit a polynomial model and optimize a process output.
  • Screen many factors quickly with Plackett-Burman or Morris sensitivity analysis to identify which ones matter most.
  • Design a mixture experiment (e.g., recipe formulation) using simplex-lattice or simplex-centroid designs.
  • Apply Taguchi robust design methods to find factor settings that minimize variation under noise conditions.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

PyDOE constructs experimental designs for scientists and engineers, providing factorial, mixture, response-surface, space-filling, and optimal design methods to plan efficient experiments.

Yes. PyDOE is a mature, actively maintained library with no security vulnerabilities, low install friction, and permissive licensing. Install it if you need to design experiments systematically—it covers classical and modern DOE methods and integrates cleanly with numpy and scipy workflows. Skip it only if your experiment is too simple to benefit from structured design or if you prefer a different framework.

Install

pydoe on PyPI

pip

pip install pydoe

uv

uv add pydoe

poetry

poetry add pydoe

Installing pydoe

Before you install

Low friction: pure Python wheel with only numpy and scipy as runtime dependencies. Actively maintained with a recent release (9 days ago) and no known vulnerabilities.

License in practice

BSD-3-Clause is permissive; you can use, modify, and distribute this package freely in commercial and open-source projects with minimal restrictions.

Quickstart

pip install pydoe

import pydoe
design = pydoe.fullfact([2, 3, 4])  # Full factorial with 2, 3, 4 levels

Requires Python 3.10 or later.

Verify before relying

  • Whether the package's large API surface (many design methods) is actively maintained or if some functions are legacy/deprecated.
  • Performance characteristics for large-scale designs (e.g., how many factors or runs the methods can handle efficiently).

Package facts

License BSD-3-Clause (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 2 — numpy, scipy
Maintenance actively maintained — 9 days since the last release
Last repo commit
First released
Downloads 2,757,252/month — #2,904 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pydoe-1.4.0-py3-none-any.whl

Keywords: DOE, design of experiments, experimental design, optimal design, optimization, python, sparse grids, statistics, taguchi design

Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: OSI Approved :: BSD LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: UnixProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/EngineeringTopic :: Software Development

Tags

design of experiments DOEexperimental design pythonfactorial designresponse surface methodologylatin hypercube samplingoptimal experimental designspace-filling designs
experimental-designdoeoptimization

More Software Development packages