$npx skillfedfor your agent

deap

Distributed Evolutionary Algorithms in Python

Worth itPyPI Software DevelopmentReleased Apr 2026500.4K downloads / moLGPLPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — deap-1.4.4-py3-none-any.whl
v1.4.4 · released 2026-04-17 · 2 runtime deps: numpy, moocore

Yes. DEAP is actively maintained, has low install friction, carries no known vulnerabilities, and is widely used in research and industry for evolutionary computation. The LGPL license is standard for research software and poses no barrier for most use cases. Install it if you need a mature, flexible framework for genetic algorithms, genetic programming, or multi-objective optimization.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with a pure-Python wheel distribution.
  • Actively maintained with a release within the last 119 days.
  • Depends on numpy and moocore, both widely available.

License · maintenance · safety

LGPL (copyleft) — DEAP is licensed under LGPL (copyleft), which requires that derivative works and modifications remain under the same license, though linking from proprietary code is permitted under the library exception.

last release 2026-04-17 (119 days)

0 known vulnerabilities (OSV.dev, 2026-08-14) · 500,364 downloads/mo, #6,321 on PyPI

Verify before relying

pip install deap

from deap import creator, base, tools, algorithms
import random

creator.create("FitnessMax", base.Fitness, weights=(1.0,))
creator.create("Individual", list, fitness=creator.FitnessMax)
toolbox = base.Toolbox()
toolbox.register("attr_bool", random.randint, 0, 1)
toolbox.register("individual", tools.initRepeat, creator.Individual, toolbox.attr_bool, n=100)
population = toolbox.population(n=300)
  • Whether moocore is a required runtime dependency or only needed for specific multi-objective optimization features
  • Current Python version support range (requires_python not specified in metadata)
Same gist for agents: .md · .json

What it is and what it does

DEAP is a framework for building evolutionary algorithms in Python. It provides building blocks for genetic algorithms, genetic programming, evolution strategies (including CMA-ES), and multi-objective optimization (NSGA-II, NSGA-III, SPEA2, MO-CMA-ES). The framework emphasizes making algorithms explicit and data structures transparent, allowing you to work with any representation—lists, arrays, sets, dictionaries, trees, or numpy arrays. It integrates with numpy and moocore for numerical operations and multi-objective tasks.

The package is designed for rapid prototyping and testing of evolutionary ideas. It includes utilities like a Hall of Fame for tracking the best individuals, checkpoints for system snapshots, benchmarks with common test functions, and genealogy tracking compatible with NetworkX. DEAP supports parallelization of fitness evaluations through mechanisms like multiprocessing and SCOOP, making it suitable for computationally intensive optimization problems.

Use it for

  • Implement a genetic algorithm to optimize parameters for a machine learning model or engineering design
  • Solve multi-objective optimization problems where multiple competing objectives must be balanced
  • Develop genetic programming solutions to evolve symbolic expressions or program trees for regression or classification
  • Run evolution strategies like CMA-ES for continuous optimization of high-dimensional problems
  • Prototype particle swarm optimization or differential evolution algorithms for comparison studies

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

DEAP is actively maintained, has low install friction, carries no known vulnerabilities, and is widely used in research and industry for evolutionary computation. The LGPL license is standard for research software and poses no barrier for most use cases. Install it if you need a mature, flexible framework for genetic algorithms, genetic programming, or multi-objective optimization.

Install

deap on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained with a release within the last 119 days. Depends on numpy and moocore, both widely available.

License in practice

DEAP is licensed under LGPL (copyleft), which requires that derivative works and modifications remain under the same license, though linking from proprietary code is permitted under the library exception.

Quickstart

pip install deap

from deap import creator, base, tools, algorithms
import random

creator.create("FitnessMax", base.Fitness, weights=(1.0,))
creator.create("Individual", list, fitness=creator.FitnessMax)
toolbox = base.Toolbox()
toolbox.register("attr_bool", random.randint, 0, 1)
toolbox.register("individual", tools.initRepeat, creator.Individual, toolbox.attr_bool, n=100)
population = toolbox.population(n=300)

Verify before relying

  • Whether moocore is a required runtime dependency or only needed for specific multi-objective optimization features
  • Current Python version support range (requires_python not specified in metadata)

Package facts

LicenseLGPL copyleft
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
numpymoocore
MaintenanceActively maintained 119 days since the last release
First released
Downloads500,364 / month, #6,321 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 4 - BetaIntended Audience :: DevelopersIntended Audience :: EducationIntended Audience :: Science/ResearchLicense :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)Programming Language :: PythonProgramming Language :: Python :: 3Topic :: Scientific/EngineeringTopic :: Software Development

Evidence: deap-1.4.4-py3-none-any.whl

Tags

Capabilities
genetic algorithm frameworkevolutionary computation pythongenetic programming librarymulti-objective optimizationcma-es implementationparticle swarm optimizationdifferential evolution
Topics
optimizationevolutionary-algorithmsparallelizable
PyPI keywords
evolutionary algorithmsgenetic algorithmsgenetic programmingcma-esgagpespso

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “genetic algorithm framework”

  • deapDEAP is an evolutionary computation framework for implementing…
  • pygadPyGAD is a Python library for building and running genetic algorithms…
  • gepaGEPA optimizes textual system components—prompts, code, agent…

Give your agent the search over MCP, or paste the wish link into any chat.

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also gepa · pygad · pymoo · pyswarms · cmaes · moocore · cma · ax-platform · numdifftools · paretoset

Further reading