# gregmalcolm/python_koans

Python Koans - Learn Python through TDD

Repository: https://github.com/gregmalcolm/python_koans
Canonical: https://ross.abutalabs.com/products/python_koans
Language: Python
License: MIT
License Family: permissive
Topics: python, koans
Last push: 2024-08-18T20:33:41+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": 6029, "days_push": 745, "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 5113, forks 2847 (observed 2026-08-28T04:09:10.769154+00:00)

## What it is
Python Koans is an interactive tutorial that teaches the Python programming language through test-driven development, based on a port of Ruby Koans. Learners fix failing unit tests by filling in missing assertions and implementing small pieces of code to progress through the lessons.

## Use cases
- learn python from scratch
- practice test driven development
- interactive python exercises
- teach a python workshop
- brush up on python basics
- hands-on python tutorial

## When to choose
- you want to learn Python by doing rather than reading
- you want a gentle introduction to TDD and unit testing
- you prefer self-paced, gamified exercises

## When to avoid
- you need a reference or comprehensive language documentation
- you want production-ready code or a library to depend on
- you need advanced or intermediate Python topics

## Facets
- artifact type: learning-resource
- maturity: maintenance
- function: testing, developer-tools
- domain: education, programming-languages, tutorials
- platform: python, cross-platform
- tags: koans, tdd, interactive-tutorial, learn-python, exercises

## Member repositories
- gregmalcolm/python_koans (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:10.769154+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-29T18:02:08.332566+00:00, confidence not recorded.
  - readme: https://github.com/gregmalcolm/python_koans (fetched 2026-08-28T04:09:10.769154+00:00, sha 3100f77d11ab)
- Data as of 2026-08-30T08:39:29.467469+00:00.
