# handcraftsman/GeneticAlgorithmsWithPython

source code from the book Genetic Algorithms with Python by Clinton Sheppard

Repository: https://github.com/handcraftsman/GeneticAlgorithmsWithPython
Canonical: https://ross.abutalabs.com/products/geneticalgorithmswithpython
Language: Python
License: Apache-2.0
License Family: permissive
Topics: genetic-algorithms, python, python3
Last push: 2022-10-17T21:49:44+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 3583, "days_push": 1416, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1259, forks 453 (observed 2026-08-28T04:04:09.784974+00:00)

## What it is
Source code repository accompanying the book 'Genetic Algorithms with Python' by Clinton Sheppard. It provides step-by-step tutorial projects that teach genetic algorithms and genetic programming through hands-on Python examples.

## Use cases
- learn genetic algorithms in python
- find source code for the genetic algorithms with python book
- tutorial on solving optimization problems with evolutionary algorithms
- example implementations of the 8 queens puzzle and graph coloring
- introduction to genetic programming with python

## When to choose
- you want a hands-on, tutorial-driven introduction to genetic algorithms in Python
- you prefer learning through small example projects like password guessing, sorting, and the 8 queens puzzle
- you want reference implementations to adapt to your own optimization problems

## When to avoid
- you need a production-ready genetic algorithm library or framework
- you want modern maintained tooling - the code is book companion material
- you need other machine learning techniques like neural networks or deep learning

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: machine-learning, developer-tools
- domain: machine-learning, education, tutorials
- platform: python, cross-platform
- tags: genetic-algorithms, book-source-code, evolutionary-computation, optimization, tutorials, algorithms

## Member repositories
- handcraftsman/GeneticAlgorithmsWithPython (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:09.784974+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:05:30.029615+00:00, confidence not recorded.
  - readme: https://github.com/handcraftsman/GeneticAlgorithmsWithPython (fetched 2026-08-28T04:04:09.784974+00:00, sha 69c304aadf26)
- Data as of 2026-08-30T08:39:29.467469+00:00.
