11 Best Python Genetic Algorithm Libraries

share link

by Kanika Maheshwari dot icon Updated: Apr 5, 2023

technology logo
technology logo

Guide Kit Guide Kit  

Here are some famous Python Genetic Algorithm Libraries. Some of the use cases of Python Genetic Algorithm Libraries include Designing and evolving computational models of biological systems, Automating the design of complex algorithms, developing a custom genetic algorithm, Generating Artificial Life, and Designing and growing digital systems. 


Python genetic library is a set of libraries and tools that can be used to analyze genetic data and build genetic algorithms in Python. It includes a variety of functions and classes for performing common genetic programming and analysis tasks, such as creating and manipulating genetic data, creating and manipulating genetic algorithms, and running simulations. 


Let us look at the libraries in detail below. 

biopython 

  • Provides a convenient high-level interface to many commonly used bioinformatics tools. 
  • Offers a wide range of sequence manipulation functions, such as translation. 
  • Is a cross-platform library to use on different operating systems. 

biopythonby biopython

Python doticonstar image 3633 doticonVersion:Currentdoticon
License: Others (Non-SPDX)

Official git repository for Biopython (originally converted from CVS)

Support
    Quality
      Security
        License
          Reuse

            biopythonby biopython

            Python doticon star image 3633 doticonVersion:Currentdoticon License: Others (Non-SPDX)

            Official git repository for Biopython (originally converted from CVS)
            Support
              Quality
                Security
                  License
                    Reuse

                      DEAP 

                      • Uses an object-oriented design, making it easier to use and customize. 
                      • Includes a variety of genetic operators, selection algorithms, and other features. 
                      • Is built on top of NumPy, allowing for efficient vectorized operations on large datasets. 

                      deapby DEAP

                      Python doticonstar image 5142 doticonVersion:Currentdoticon
                      License: Weak Copyleft (LGPL-3.0)

                      Distributed Evolutionary Algorithms in Python

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                deapby DEAP

                                Python doticon star image 5142 doticonVersion:Currentdoticon License: Weak Copyleft (LGPL-3.0)

                                Distributed Evolutionary Algorithms in Python
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          Pyevolve 

                                          • Offers many built-in selection, mutation, and crossover methods. 
                                          • Has several built-in modules and functions for conveniently running experiments.  
                                          • Is fast and efficient, allowing for short runtimes and quick results. 

                                          Pyevolveby perone

                                          Python doticonstar image 301 doticonVersion:Currentdoticon
                                          no licences License: No License (null)

                                          Pyevolve

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    Pyevolveby perone

                                                    Python doticon star image 301 doticonVersion:Currentdoticonno licences License: No License

                                                    Pyevolve
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              EvolutionaryForest 

                                                              • Uses evolutionary algorithms to generate robust and diverse tree ensembles. 
                                                              • Implements the multi-objective optimization paradigm. 
                                                              • Highly parallelizable, allowing for efficient distributed computing.  

                                                              EvolutionaryForestby hengzhe-zhang

                                                              Python doticonstar image 57 doticonVersion:Currentdoticon
                                                              License: Weak Copyleft (LGPL-3.0)

                                                              An open source python library for automated feature engineering based on Genetic Programming

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        EvolutionaryForestby hengzhe-zhang

                                                                        Python doticon star image 57 doticonVersion:Currentdoticon License: Weak Copyleft (LGPL-3.0)

                                                                        An open source python library for automated feature engineering based on Genetic Programming
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  crianza  

                                                                                  • Supports both Python 2 and Python 3, making it compatible with a wider range of systems. 
                                                                                  • Allows for multicore processing, allowing faster and more efficient genetic programming.    
                                                                                  • Includes features such as fitness scaling, elitism, and tournament selection. 

                                                                                  crianzaby cslarsen

                                                                                  Python doticonstar image 41 doticonVersion:Currentdoticon
                                                                                  License: Permissive (BSD-3-Clause)

                                                                                  A stack machine VM, interpreter and genetic programming library

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            crianzaby cslarsen

                                                                                            Python doticon star image 41 doticonVersion:Currentdoticon License: Permissive (BSD-3-Clause)

                                                                                            A stack machine VM, interpreter and genetic programming library
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      gpFlappyBird 

                                                                                                      • Highly modular and extensible, making it easy to create complex genetic algorithms. 
                                                                                                      • Designed to be platform-independent, allowing it to be used in various environments.  
                                                                                                      • Designed to be cross-platform, you can write code to work with Windows, Mac, and Linux.

                                                                                                      gpFlappyBirdby ShuhuaGao

                                                                                                      Python doticonstar image 120 doticonVersion:Currentdoticon
                                                                                                      License: Permissive (MIT)

                                                                                                      Flappy Bird AI using Cartesian Genetic Programming (Evolutionary Computation)

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                gpFlappyBirdby ShuhuaGao

                                                                                                                Python doticon star image 120 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                Flappy Bird AI using Cartesian Genetic Programming (Evolutionary Computation)
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse

                                                                                                                          PS-Tree 

                                                                                                                          • Has various features that make it suitable for many genetic programming tasks.   
                                                                                                                          • Has a simple and intuitive syntax, allowing users to set up and run experiments quickly.   
                                                                                                                          • Provides a suite of powerful tools for data exploration, data visualization, and model evaluation.  

                                                                                                                          PS-Treeby hengzhe-zhang

                                                                                                                          Python doticonstar image 16 doticonVersion:Currentdoticon
                                                                                                                          License: Permissive (MIT)

                                                                                                                          An open source python library for non-linear piecewise symbolic regression based on Genetic Programming

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    PS-Treeby hengzhe-zhang

                                                                                                                                    Python doticon star image 16 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                    An open source python library for non-linear piecewise symbolic regression based on Genetic Programming
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              zoonomia 

                                                                                                                                              • Provides a broad range of genetic programming algorithms, from simple search algorithms to complex evolutionary algorithms.  
                                                                                                                                              • Used to investigate and optimize complex problems.  
                                                                                                                                              • Well-suited for applications that require many variables and complex relationships between them. 

                                                                                                                                              zoonomiaby jgrillo

                                                                                                                                              Python doticonstar image 3 doticonVersion:Currentdoticon
                                                                                                                                              License: Permissive (MIT)

                                                                                                                                              A genetic programming library

                                                                                                                                              Support
                                                                                                                                                Quality
                                                                                                                                                  Security
                                                                                                                                                    License
                                                                                                                                                      Reuse

                                                                                                                                                        zoonomiaby jgrillo

                                                                                                                                                        Python doticon star image 3 doticonVersion:Currentdoticon License: Permissive (MIT)

                                                                                                                                                        A genetic programming library
                                                                                                                                                        Support
                                                                                                                                                          Quality
                                                                                                                                                            Security
                                                                                                                                                              License
                                                                                                                                                                Reuse

                                                                                                                                                                  pyGENP 

                                                                                                                                                                  • Suited to both novice and experienced Python developers. 
                                                                                                                                                                  • Uses an object-oriented approach, making it easy to use and extend.  
                                                                                                                                                                  • Includes a number of visualization and analysis tools. 

                                                                                                                                                                  pyGENPby carbogninalberto

                                                                                                                                                                  Python doticonstar image 1 doticonVersion:v1.0.0-beta.0doticon
                                                                                                                                                                  License: Permissive (MIT)

                                                                                                                                                                  Python Genetic Programming library written to evolve chunks of c++.

                                                                                                                                                                  Support
                                                                                                                                                                    Quality
                                                                                                                                                                      Security
                                                                                                                                                                        License
                                                                                                                                                                          Reuse

                                                                                                                                                                            pyGENPby carbogninalberto

                                                                                                                                                                            Python doticon star image 1 doticonVersion:v1.0.0-beta.0doticon License: Permissive (MIT)

                                                                                                                                                                            Python Genetic Programming library written to evolve chunks of c++.
                                                                                                                                                                            Support
                                                                                                                                                                              Quality
                                                                                                                                                                                Security
                                                                                                                                                                                  License
                                                                                                                                                                                    Reuse

                                                                                                                                                                                      gp2 

                                                                                                                                                                                      • Offers a wide range of features, including multiple data types. 
                                                                                                                                                                                      • Supports both single- and multi-objective optimization, as well as parallelization. 
                                                                                                                                                                                      • Very extensible, allowing users to create custom code blocks and write their own functions. 

                                                                                                                                                                                      gp2by mightestDuck

                                                                                                                                                                                      Python doticonstar image 1 doticonVersion:Currentdoticon
                                                                                                                                                                                      no licences License: No License (null)

                                                                                                                                                                                      General Purpose Genetic Programming library, a MSc thesis project

                                                                                                                                                                                      Support
                                                                                                                                                                                        Quality
                                                                                                                                                                                          Security
                                                                                                                                                                                            License
                                                                                                                                                                                              Reuse

                                                                                                                                                                                                gp2by mightestDuck

                                                                                                                                                                                                Python doticon star image 1 doticonVersion:Currentdoticonno licences License: No License

                                                                                                                                                                                                General Purpose Genetic Programming library, a MSc thesis project
                                                                                                                                                                                                Support
                                                                                                                                                                                                  Quality
                                                                                                                                                                                                    Security
                                                                                                                                                                                                      License
                                                                                                                                                                                                        Reuse

                                                                                                                                                                                                          GPLpy 

                                                                                                                                                                                                          • Designed to provide a straightforward and intuitive interface for users. 
                                                                                                                                                                                                          • Built on a modular architecture, it is easier to customize and extend.  
                                                                                                                                                                                                          • Includes a unique debugger, offering users the ability to pause the program. 

                                                                                                                                                                                                          GPLpyby aturing

                                                                                                                                                                                                          Python doticonstar image 1 doticonVersion:Currentdoticon
                                                                                                                                                                                                          License: Permissive (Apache-2.0)

                                                                                                                                                                                                          Grammar-Guided Genetic Programming Library

                                                                                                                                                                                                          Support
                                                                                                                                                                                                            Quality
                                                                                                                                                                                                              Security
                                                                                                                                                                                                                License
                                                                                                                                                                                                                  Reuse

                                                                                                                                                                                                                    GPLpyby aturing

                                                                                                                                                                                                                    Python doticon star image 1 doticonVersion:Currentdoticon License: Permissive (Apache-2.0)

                                                                                                                                                                                                                    Grammar-Guided Genetic Programming Library
                                                                                                                                                                                                                    Support
                                                                                                                                                                                                                      Quality
                                                                                                                                                                                                                        Security
                                                                                                                                                                                                                          License
                                                                                                                                                                                                                            Reuse

                                                                                                                                                                                                                              See similar Kits and Libraries