Skip to main content

A framework for creating evolutionary computations in Python.

Project description

ECsPy (Evolutionary Computations in Python) is a free, open source framework for creating evolutionary computations in Python. Additionally, ECsPy provides an easy-to-use canonical genetic algorithm (GA), evolution strategy (ES), estimation of distribution algorithm (EDA), differential evolution algorithm (DEA), and particle swarm optimizer (PSO) for users who don’t need much customization.


  • Requires at least Python 2.6 (not compatible with Python 3+).

  • Numpy and Matplotlib are required if the line plot observer is used.

  • Parallel Python (pp) is required if parallel_evaluation_pp is used.


This package is distributed under the GNU General Public License version 3.0 (GPLv3). This license can be found online at

Package Structure

ECsPy consists of the following modules:

  • – provides tools for analyzing the results of an EC

  • – defines useful archiving methods, particularly for EMO algorithms

  • – defines several single- and multi-objective benchmark optimization problems

  • – provides the basic framework for an EvolutionaryComputation and specific ECs

  • – provides the Pareto class for multiobjective optimization along with specific EMOs (e.g. NSGA-II)

  • – defines useful evaluation schemes, such as parallel evaluation

  • – defines a few built-in migrators, including migration via network and migration among concurrent processes

  • – defines a few built-in observers, including screen, file, and plotting observers

  • – defines standard replacement schemes such as generational and steady-state replacement

  • – defines standard selectors (e.g., tournament)

  • – provides a basic particle swarm optimizer

  • – defines standard terminators (e.g., exceeding a maximum number of generations)

  • – defines standard topologies for particle swarms

  • – defines standard variators (crossover and mutation schemes such as n-point crossover)


Project details

Download files

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

Source Distribution

ecspy-1.1.tar.gz (173.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page