{"adoption": {"forks": 169, "observed_at": "2026-08-28T04:03:18.886589+00:00", "stars": 1034}, "canonical_url": "https://ross.abutalabs.com/products/pretty-midi", "card": {"archived": false, "artifact_type": "library", "description": "Utility functions for handling MIDI data in a nice/intuitive way.", "domain": ["audio", "machine-learning", "data-science"], "enriched": true, "function": ["audio-processing", "parser", "data-science"], "health_score": 76, "homepage": null, "language": "Jupyter Notebook", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["craffel/pretty-midi"], "name": "craffel/pretty-midi", "platform": ["python", "cross-platform"], "pushed_at": "2026-02-18T16:33:36+00:00", "repo": "craffel/pretty-midi", "stars": 1034, "tags": ["midi", "music-information-retrieval", "audio-synthesis", "music-notation", "audio"], "topics": [], "urls": [], "use_cases": ["parse midi files in python", "analyze tempo and key of a midi song", "programmatically create midi files", "convert midi notes to audio", "extract features from midi for music machine learning", "transpose notes in a midi track"], "what_it_is": "A Python library providing utility functions and classes for conveniently handling, analyzing, creating, and manipulating MIDI data. It supports loading MIDI files, extracting musical features like tempo and chroma, editing notes, and synthesizing audio.", "when_to_avoid": ["you need real-time MIDI playback or live performance features", "you're working with audio files rather than MIDI data", "you need a full-featured digital audio workstation"], "when_to_choose": ["you need an intuitive Python API for reading, writing, or editing MIDI data", "you're doing music information retrieval research or feature extraction from MIDI", "you want to synthesize MIDI to audio within Python"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pretty-midi", "repo": "craffel/pretty-midi", "role": "main", "score": 57}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:18.886589+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T07:06:32.458821+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c0eaa1c099e9020b1d5c56a56fb53b07f237b1d1230013123c589e898ae42bd8", "fetched_at": "2026-08-28T04:03:18.886589+00:00", "kind": "readme", "missing": false, "url": "https://github.com/craffel/pretty-midi"}, {"content_hash": "4f4274dfd941277d3fb25edf18bd05a5d362fb7ba6271111bbe9f03d7bf2e2c2", "fetched_at": "2026-08-29T13:06:12.706970+00:00", "kind": "registry_pypi", "missing": false, "url": "https://pypi.org/pypi/pretty-midi/json"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 68, "longevity": 100, "rhythm": 19}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4780, "days_push": 196, "days_rel": 329, "gap_med": null, "n_releases_24m": 1}, "score": 57, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}