{"id":21689230,"url":"https://github.com/spotlightkid/python-rtmidi","last_synced_at":"2025-05-14T18:03:12.109Z","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":"2025-04-17T17:18:14.000Z","size":4892,"stargazers_count":370,"open_issues_count":4,"forks_count":67,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-13T02:12:11.598Z","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}},"created_at":"2015-06-24T18:13:05.000Z","updated_at":"2025-04-17T17:18:17.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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254198452,"owners_count":22030964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2024-11-25T17:22:03.886Z","updated_at":"2025-05-14T18:03:07.096Z","avatar_url":"https://github.com/SpotlightKid.png","language":"Cython","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","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspotlightkid%2Fpython-rtmidi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspotlightkid%2Fpython-rtmidi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspotlightkid%2Fpython-rtmidi/lists"}