Skip to main content

A Genetic Algorithm Framework in Python

Project description

A Genetic Algorithm Framework in pyThon

Build Status Codecov Code Health platform versions Documentation Status


GAFT is a general Python Framework for genetic algorithm computation. It provides built-in genetic operators for target optimization and plugin interfaces for users to define your own genetic operators and on-the-fly analysis for algorithm testing.

GAFT is now accelerated using MPI parallelization interfaces. You can run it on your cluster in parallel with MPI environment.

Python Support

GAFT requires Python version 3.x (Python 2.x is not supported).


  1. Via pip:

    pip install gaft
  2. From source:

    python install

If you want GAFT to run in MPI env, please install mpi4py explicitly:

pip install mpi4py

See for more installation details.


Run unit test:

python test

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

gaft-0.5.7.tar.gz (23.7 kB view hashes)

Uploaded source

Built Distribution

gaft-0.5.7-py3-none-any.whl (39.8 kB view hashes)

Uploaded 3 5

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page