Skip to main content

A simple robust Genetic Algorithm utility

Project description

Genetic Algorithm Utility for python

What is Genetic Algorithm ?

Genetic Algorithm is inspired by the natural selection process in our environment. GA is very good for optimisation problems , read more about GA here .

The ga2 module

ga2 is a highly flexible and easy to use utility module implementing Genetic Algorithm.


  • standard pip3 installation is supported
pip3 install ga2
  • upgrading
pip3 install --upgrade --no-cache ga2==1.0.0
  • import the Genetic Algorithm utility as
import ga2.gaDisc as gad

session1 = gad.Session()

this should print the session ID of that session


ga2 is designed to be flexible and also simple to use for a variety of use cases, check the for examples. Documentation will be done as soon as a stable stage is reached

Current Development

gaDisc (Genetic Algorithm Discrete) is working and is in its first release stage, a lot of planning and designing needs to be done for gaCont (Genetic Algorithm continuous), which I hope will be soon !.

    • [x] gaDisc
    • [ ] gaCont

Open to ideas , and contributions !

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

ga2-1.0.0.post1.tar.gz (7.9 kB view hashes)

Uploaded source

Built Distribution

ga2-1.0.0.post1-py3-none-any.whl (10.1 kB view hashes)

Uploaded py3

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