# vishnubob/python-midi

Python MIDI library

Repository: https://github.com/vishnubob/python-midi
Canonical: https://ross.abutalabs.com/products/python-midi
Language: Python
License: MIT
License Family: permissive
Last push: 2026-03-08T21:28:46+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 71, release rhythm 35, longevity 100
- inputs: {"age_days": 5614, "days_push": 178, "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 1548, forks 373 (observed 2026-08-28T04:05:01.881302+00:00)

## What it is
A Python library for reading, writing, and manipulating MIDI files and event streams. It provides high-level object-oriented abstractions for MIDI events, multi-track patterns, tempo maps, and file I/O independent of hardware.

## Use cases
- parse midi files in python
- generate midi tracks programmatically
- read and write .mid files
- manipulate midi events and tempo maps
- build midi files from scratch
- dump midi file contents for inspection

## When to choose
- you need to programmatically create, edit, or analyze MIDI files in Python
- you want hardware-independent MIDI event manipulation with tempo tracking
- you need a high-level object model for MIDI patterns and tracks

## When to avoid
- you need real-time MIDI hardware input/output or live performance control
- you need audio synthesis or playback of MIDI to sound
- you need a maintained library with broad community support

## Facets
- artifact type: library
- maturity: active
- function: audio-processing, parser, serialization
- domain: audio, developer-tools
- platform: python, cross-platform
- tags: midi, music, audio-files, sequencing, audio

## Member repositories
- vishnubob/python-midi (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:01.881302+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-30T04:30:26.921816+00:00, confidence not recorded.
  - readme: https://github.com/vishnubob/python-midi (fetched 2026-08-28T04:05:01.881302+00:00, sha 984975a80202)
- Data as of 2026-08-30T08:39:29.467469+00:00.
