pygene is a simple and easily understandable library for genetic algorithms and genetic programming in Python.
Product's homepage
Here are some key features of "pygene":
· Simple, comfortable, pythonic classes
Several simple working examples, including:
· Quadratic equation solver
· Two-dimensional convergence
· String cracker
· Travelling Salesman Problem
· New! - support for genetic programming
· The genetic algorithms classes are based on classical Mendelian genetics
· Fully customisable recombination, mutation, inheritance, natural selection
· A rich set of primitive Gene classes to use as-is, or subclass
· Hermaphroditic sexual reproduction
· Configurable 'incest' option (high-fitness parents stay in the population and mate with children)
· Configurable spontaneous appearance of random new organisms
· Ability to dump Populations, Organisms and/or Genes out to an XML file or string
Requirements:
· Python