{"id":50152672,"url":"https://spotlightkid.github.io/python-rtmidi/","last_synced_at":"2026-05-24T09:01:44.667Z","repository":{"id":41148682,"uuid":"38002454","full_name":"SpotlightKid/python-rtmidi","owner":"SpotlightKid","description":"Python bindings for the cross-platform MIDI I/O library RtMidi","archived":false,"fork":false,"pushed_at":"2026-01-23T04:36:50.000Z","size":4882,"stargazers_count":404,"open_issues_count":5,"forks_count":68,"subscribers_count":17,"default_branch":"master","last_synced_at":"2026-04-04T06:27:57.053Z","etag":null,"topics":["alsa","coremidi","jack-midi","midi","python","rtmidi"],"latest_commit_sha":null,"homepage":"https://spotlightkid.github.io/python-rtmidi/","language":"Cython","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpotlightKid.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"docs/contributing.rst","funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"AUTHORS.md","dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-06-24T18:13:05.000Z","updated_at":"2026-03-22T19:58:38.000Z","dependencies_parsed_at":"2023-11-18T21:26:01.204Z","dependency_job_id":"cb5dd8f4-b1c4-49ff-8ae1-2a6dcf1e062d","html_url":"https://github.com/SpotlightKid/python-rtmidi","commit_stats":{"total_commits":601,"total_committers":8,"mean_commits":75.125,"dds":"0.45091514143094846","last_synced_commit":"0d85298662f7512d62d926e8ab7817fdd40a69dc"},"previous_names":[],"tags_count":40,"template":false,"template_full_name":null,"purl":"pkg:github/SpotlightKid/python-rtmidi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpotlightKid%2Fpython-rtmidi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpotlightKid%2Fpython-rtmidi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpotlightKid%2Fpython-rtmidi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpotlightKid%2Fpython-rtmidi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpotlightKid","download_url":"https://codeload.github.com/SpotlightKid/python-rtmidi/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpotlightKid%2Fpython-rtmidi/sbom","scorecard":{"id":133245,"data":{"date":"2025-08-04","repo":{"name":"github.com/SpotlightKid/python-rtmidi","commit":"0077cf64ecdc7a15c7fb4ea9cfe091e0b442faf9"},"scorecard":{"version":"v5.2.1-28-gc1d103a9","commit":"c1d103a9bb9f635ec7260bf9aa0699466fa4be0e"},"score":4,"checks":[{"name":"Code-Review","score":0,"reason":"Found 2/29 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#code-review"}},{"name":"Maintained","score":1,"reason":"0 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 1","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#binary-artifacts"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/pr_to_master.yml:1","Warn: no topLevel permission defined: .github/workflows/push_to_master.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr_to_master.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/pr_to_master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr_to_master.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/pr_to_master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr_to_master.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/pr_to_master.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr_to_master.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/pr_to_master.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/pr_to_master.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/pr_to_master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/pr_to_master.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/pr_to_master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push_to_master.yml:14: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/push_to_master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push_to_master.yml:31: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/push_to_master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push_to_master.yml:46: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/push_to_master.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push_to_master.yml:50: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/push_to_master.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push_to_master.yml:54: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/push_to_master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push_to_master.yml:64: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/push_to_master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/push_to_master.yml:77: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/push_to_master.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/push_to_master.yml:83: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/push_to_master.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:35: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:49: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:53: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:57: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:67: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/release.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/release.yml:78: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/release.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/release.yml:84: update your workflow using https://app.stepsecurity.io/secureworkflow/SpotlightKid/python-rtmidi/release.yml/master?enable=pin","Info:   0 out of  14 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   8 third-party GitHubAction dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#fuzzing"}},{"name":"License","score":9,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Warn: project license file does not contain an FSF or OSI license."],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#branch-protection"}},{"name":"Packaging","score":10,"reason":"packaging workflow detected","details":["Info: Project packages its releases by way of GitHub Actions.: .github/workflows/push_to_master.yml:70"],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#packaging"}},{"name":"Vulnerabilities","score":7,"reason":"3 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-9hjg-9r4m-mvj7","Warn: Project is vulnerable to: GHSA-48p4-8xcf-vxj5","Warn: Project is vulnerable to: GHSA-pq67-6m6q-mj2v"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#vulnerabilities"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 12 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/c1d103a9bb9f635ec7260bf9aa0699466fa4be0e/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-16T05:43:35.042Z","repository_id":41148682,"created_at":"2025-08-16T05:43:35.042Z","updated_at":"2025-08-16T05:43:35.042Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33427584,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-23T22:14:44.296Z","status":"online","status_checked_at":"2026-05-24T02:00:06.296Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alsa","coremidi","jack-midi","midi","python","rtmidi"],"created_at":"2026-05-24T09:01:36.649Z","updated_at":"2026-05-24T09:01:44.659Z","avatar_url":"https://github.com/SpotlightKid.png","language":"Cython","funding_links":[],"categories":["Realtime Audio \u0026 MIDI"],"sub_categories":["IO router / deconstructed loops anchor"],"readme":"# Welcome to python-rtmidi!\n\nA Python binding for the RtMidi C++ library implemented using Cython.\n\n[![Latest version](https://shields.io/pypi/v/python-rtmidi)](https://pypi.org/project/python-rtmidi)\n![Project status](https://shields.io/pypi/status/python-rtmidi)\n[![MIT License](https://shields.io/pypi/l/python-rtmidi)](LICENSE.md)\n![Python versions](https://shields.io/pypi/pyversions/python-rtmidi)\n[![Distribution format](https://shields.io/pypi/format/python-rtmidi)](https://pypi.org/project/python-rtmidi/#files)\n[![CI status](https://github.com/SpotlightKid/python-rtmidi/actions/workflows/push_to_master.yml/badge.svg)](https://github.com/SpotlightKid/python-rtmidi/actions)\n\n# Overview\n\n[RtMidi] is a set of C++ classes which provides a concise and simple,\ncross-platform API (Application Programming Interface) for realtime MIDI\ninput / output across Linux (ALSA \u0026 JACK), macOS / OS X (CoreMIDI \u0026 JACK), and\nWindows (MultiMedia System) operating systems.\n\n[python-rtmidi] is a Python binding for RtMidi implemented using [Cython] and\nprovides a thin wrapper around the RtMidi C++ interface. The API is basically\nthe same as the C++ one but with the naming scheme of classes, methods and\nparameters adapted to the Python PEP-8 conventions and requirements of the\nPython package naming structure. **python-rtmidi** supports Python 3 (3.9+).\n\nThe [documentation] provides installation instructions, a history of changes\nper release and an API reference.\n\nSee the file [LICENSE.md] about copyright and usage terms.\n\nThe source code repository and issue tracker are hosted on GitHub:\n\n\u003chttps://github.com/SpotlightKid/python-rtmidi\u003e.\n\n## Usage example\n\nHere's a quick example of how to use **python-rtmidi** to open the first\navailable MIDI output port and send a middle C note on MIDI channel 1:\n\n```python\nimport time\nimport rtmidi\n\nmidiout = rtmidi.MidiOut()\navailable_ports = midiout.get_ports()\n\nif available_ports:\n    midiout.open_port(0)\nelse:\n    midiout.open_virtual_port(\"My virtual output\")\n\nwith midiout:\n    note_on = [0x90, 60, 112] # channel 1, middle C, velocity 112\n    note_off = [0x80, 60, 0]\n    midiout.send_message(note_on)\n    time.sleep(0.5)\n    midiout.send_message(note_off)\n    time.sleep(0.1)\n\ndel midiout\n```\n\nMore usage examples can be found in the [examples] and [tests] directories of\nthe source repository.\n\n\n[Cython]: http://cython.org/\n[documentation]: https://spotlightkid.github.io/python-rtmidi/\n[examples]: https://github.com/SpotlightKid/python-rtmidi/tree/master/examples\n[LICENSE.md]: https://github.com/SpotlightKid/python-rtmidi/blob/master/LICENSE.md\n[python-rtmidi]: https://github.com/SpotlightKid/python-rtmidi\n[tests]: https://github.com/SpotlightKid/python-rtmidi/tree/master/tests\n[RtMidi]: http://www.music.mcgill.ca/~gary/rtmidi/index.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/spotlightkid.github.io%2Fpython-rtmidi%2F","html_url":"https://awesome.ecosyste.ms/projects/spotlightkid.github.io%2Fpython-rtmidi%2F","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/spotlightkid.github.io%2Fpython-rtmidi%2F/lists"}