kennethreitz/pytheory
Music Theory for Humans. observed · 2026-08-28
Health v2 · maintenance only
90/100
- Activity 93
- Release rhythm 80
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 2926
- days_rel: 57
- days_push: 43
- n_releases_24m: 84
Adoption not part of the score
1637 stars · 83 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyTheory is a Python library for exploring music theory (tones, scales, chords, keys, intervals, harmony) and composing multi-part arrangements with drums, synths, and effects. It can play audio live, export to MIDI/WAV/MusicXML/tab, tune instruments, transcribe recordings, and is drivable from a Claude Code plugin.
Use cases
- explore scales chords and chord progressions in python
- sketch a song with drums bass and synth parts and export midi
- identify chords and intervals from note names or chord symbols
- get guitar chord fingerings scale diagrams and nashville number charts
- tune a guitar with a real-time strobe tuner
- transcribe a hummed melody into midi or sheet music
- compose music from natural language with claude code
When to choose
- you want to learn or apply music theory programmatically in python
- you want to sketch multi-part arrangements in code and export midi without a daw
- you need guitar fingerings, tablature, or tuning tools without ad-filled websites
When to avoid
- you need professional notation engraving or a full DAW production environment
- you work primarily with non-western tuning systems beyond its supported set
- you need a graphical sequencer rather than a code-first workflow
Facets
library · maturity active
audio-processing sdk developer-tools audio education media developer-tools python cross-platform cli music-theory midi composition chords scales synthesis guitar audio-playback claude-plugin tuner web
6 sources
- readme: https://github.com/kennethreitz/pytheory · fetched 2026-08-28 · 3349e1a37c7e
- homepage: https://pytheory.org/ · fetched 2026-08-29 · bfbda06e9d3f
- site_page: https://pytheory.org/guide/quickstart.html · fetched 2026-08-29 · f03596ffc61e
- site_page: https://pytheory.org/guide/claude.html · fetched 2026-08-29 · 422bcd01b229
- registry_pypi: https://pypi.org/pypi/pytheory/json · fetched 2026-08-29 · 2fbdf78f97f0
- site_page: https://pytheory.org/changelog.html · fetched 2026-08-29 · 83b198475211
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| kennethreitz/pytheory | main | 90 |
For agents
markdown · JSON · MCP: product_card(name="kennethreitz/pytheory")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem