Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

My fork with small fixes to pygene project

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time


pygene is my attempt at a genetic algorithms
and genetic programming library
for python that is easy to use and understand

This is your chance to play God.

You design the genome of a species.

You implement a fitness calculation procedure
for members of that species.

You create a population of that species,
then sit back as members of the species indulge
their promiscuous desires.

A given organism's chance of getting laid is proportional
tno its fitness.

Watch as your population evolves closer and closer
to perfection, or converges to something reasonably close
to it.


To get your nice HTML doco, type:



There are some examples in the toplevel directory, including:
 - Travelling Salesman Problem (console and graphical versions)
 - simple converger
 - string guesser
 - function deriver (genetic programming)

Something went wrong with that request. Please try again.