This release is a pre-release and may not be stable for production use.
Overview
RtMidi is a set of C++ classes which provides a concise and simple, cross-platform API (Application Programming Interface) for realtime MIDI input / output across Linux (ALSA & JACK), macOS / OS X (CoreMIDI & JACK), and Windows (MultiMedia Library) operating systems.
python-rtmidi is a Python binding for RtMidi implemented using Cython and provides a thin wrapper around the RtMidi C++ interface. The API is basically the same as the C++ one but with the naming scheme of classes, methods and parameters adapted to the Python PEP-8 conventions and requirements of the Python package naming structure. python-rtmidi supports Python 2 (tested with Python 2.7) and Python 3 (3.4, 3.5, 3.6 and 3.7).
Usage example
Here’s a quick example of how to use python-rtmidi to open the first available MIDI output port and send a middle C note on MIDI channel 1:
import time
import rtmidi
midiout = rtmidi.MidiOut()
available_ports = midiout.get_ports()
if available_ports:
midiout.open_port(0)
else:
midiout.open_virtual_port("My virtual output")
note_on = [0x90, 60, 112] # channel 1, middle C, velocity 112
note_off = [0x80, 60, 0]
midiout.send_message(note_on)
time.sleep(0.5)
midiout.send_message(note_off)
del midiout
More usage examples can be found in the examples and tests directories of the source repository.
The documentation provides installation instructions, a history of changes per release and an API reference.
See the file LICENSE.txt about copyright and usage terms.
For more information, visit https://chrisarndt.de/projects/python-rtmidi.
Metadata
Release files for python-rtmidi 1.2.0rc1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| python_rtmidi-1.2.0rc1-cp37-cp37m-win_amd64.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-64 | Details |
| python_rtmidi-1.2.0rc1-cp37-cp37m-win32.whl | CPython 3.7 | CPython 3.7 pymalloc | Windows x86-32 | Details |
| python_rtmidi-1.2.0rc1-cp37-cp37m-macosx_10_6_intel.whl | CPython 3.7 | CPython 3.7 pymalloc | macOS 10.6+ Intel (x86-64, i386) | Details |
| python_rtmidi-1.2.0rc1-cp36-cp36m-win_amd64.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-64 | Details |
| python_rtmidi-1.2.0rc1-cp36-cp36m-win32.whl | CPython 3.6 | CPython 3.6 pymalloc | Windows x86-32 | Details |
| python_rtmidi-1.2.0rc1-cp36-cp36m-macosx_10_6_intel.whl | CPython 3.6 | CPython 3.6 pymalloc | macOS 10.6+ Intel (x86-64, i386) | Details |
| python_rtmidi-1.2.0rc1-cp35-cp35m-win_amd64.whl | CPython 3.5 | CPython 3.5 pymalloc | Windows x86-64 | Details |
| python_rtmidi-1.2.0rc1-cp35-cp35m-win32.whl | CPython 3.5 | CPython 3.5 pymalloc | Windows x86-32 | Details |
| python_rtmidi-1.2.0rc1-cp27-cp27m-win_amd64.whl | CPython 2.7 | CPython 2.7 pymalloc | Windows x86-64 | Details |
| python_rtmidi-1.2.0rc1-cp27-cp27m-win32.whl | CPython 2.7 | CPython 2.7 pymalloc | Windows x86-32 | Details |
| python_rtmidi-1.2.0rc1-cp27-cp27m-macosx_10_6_intel.whl | CPython 2.7 | CPython 2.7 pymalloc | macOS 10.6+ Intel (x86-64, i386) | Details |
Total release size: 1.1 MB
Release files / python_rtmidi-1.2.0rc1-cp37-cp37m-win_amd64.whl
| Download URL | python_rtmidi-1.2.0rc1-cp37-cp37m-win_amd64.whl |
|---|---|
| Size | 82.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
d4987cceac538b96dd5345f0f648c13458cae1fc405eb12de1d55d7411df6f10
|
|
BLAKE2b-256 checksum How to use checksums |
3ed3e6d84483899c6a22f4b1c5ba3d29a139de0049418b2990008ca475906595
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / python_rtmidi-1.2.0rc1-cp37-cp37m-win32.whl
| Download URL | python_rtmidi-1.2.0rc1-cp37-cp37m-win32.whl |
|---|---|
| Size | 71.1 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
bf75496c4c9abe0c8524395532a19068d859f2f3fbe5eb693ebefced84edbd49
|
|
BLAKE2b-256 checksum How to use checksums |
e5a1109a5b7edfd55ec671c7953e03546486a9ec09fc1a63865cb0b19f6899bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / python_rtmidi-1.2.0rc1-cp37-cp37m-macosx_10_6_intel.whl
| Download URL | python_rtmidi-1.2.0rc1-cp37-cp37m-macosx_10_6_intel.whl |
|---|---|
| Size | 173.4 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
3ea5211974dd2ad6980758e320ec408aeaabad458a33264d7f65305d607c375c
|
|
BLAKE2b-256 checksum How to use checksums |
2854f5c53e13cb68ee53173b96ebb0f49a5f192c77c23783801dd9477e27e06c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.7.0
|
Release files / python_rtmidi-1.2.0rc1-cp36-cp36m-win_amd64.whl
| Download URL | python_rtmidi-1.2.0rc1-cp36-cp36m-win_amd64.whl |
|---|---|
| Size | 82.6 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
191c9c6ac05e27d1cf11b7428f0c078ff773ea1994eee1ddc4b2fc24cffdec1a
|
|
BLAKE2b-256 checksum How to use checksums |
2e0ed5f127f4c8bb24ffc8f04b07203989a66280cc84c93392f1ba411de689af
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / python_rtmidi-1.2.0rc1-cp36-cp36m-win32.whl
| Download URL | python_rtmidi-1.2.0rc1-cp36-cp36m-win32.whl |
|---|---|
| Size | 71.2 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
52863195500a10d8cc44727da47fd706e26524526b00d477149ac1bd42afd3d5
|
|
BLAKE2b-256 checksum How to use checksums |
276c504917ee68613877c3e5080634c9ba61e4bac12ec20f42cc31d78f3ad128
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / python_rtmidi-1.2.0rc1-cp36-cp36m-macosx_10_6_intel.whl
| Download URL | python_rtmidi-1.2.0rc1-cp36-cp36m-macosx_10_6_intel.whl |
|---|---|
| Size | 173.3 kB |
| Tags | CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
74e01f197e0b63e36cc8097aaebd94abb7990c1b962bf852abf90828768d549b
|
|
BLAKE2b-256 checksum How to use checksums |
96dc539b3391e6520042809c8fb901973eb3d6617719fd08ff538170edb45e9a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.6
|
Release files / python_rtmidi-1.2.0rc1-cp35-cp35m-win_amd64.whl
| Download URL | python_rtmidi-1.2.0rc1-cp35-cp35m-win_amd64.whl |
|---|---|
| Size | 81.9 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
7e68dea1a1748577fe963c66bfef75532ebe1efcd5992633455f3d051f47bc9e
|
|
BLAKE2b-256 checksum How to use checksums |
420e8b9f7b72a7e8925f2fb4b5793d7ace856a9809c851662e54911824bf6530
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4
|
Release files / python_rtmidi-1.2.0rc1-cp35-cp35m-win32.whl
| Download URL | python_rtmidi-1.2.0rc1-cp35-cp35m-win32.whl |
|---|---|
| Size | 70.3 kB |
| Tags | CPython 3.5 CPython 3.5 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
ea2f2625bb95998775490c8ee3c73e3a5f18d85a5e7fc2437cd8cba4f872f967
|
|
BLAKE2b-256 checksum How to use checksums |
4e13155920f69e72087d67e55c4447234fe131d3f82fc899f33616ee98bbb2a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.5.4
|
Release files / python_rtmidi-1.2.0rc1-cp27-cp27m-win_amd64.whl
| Download URL | python_rtmidi-1.2.0rc1-cp27-cp27m-win_amd64.whl |
|---|---|
| Size | 78.3 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Windows x86-64 |
|
SHA-256 checksum How to use checksums |
4926c1c267eb5f870e2442e129aa45af93bf0a0ed634d08739dacaf94bb2ca95
|
|
BLAKE2b-256 checksum How to use checksums |
7cb93776fe48ffeedd18cda0437756d8a4bd05f2d186a1136d94c0ef37cfe6ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15
|
Release files / python_rtmidi-1.2.0rc1-cp27-cp27m-win32.whl
| Download URL | python_rtmidi-1.2.0rc1-cp27-cp27m-win32.whl |
|---|---|
| Size | 66.8 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc Windows x86-32 |
|
SHA-256 checksum How to use checksums |
dc690c3a7d9899fdc4caaba5a62e41b6378134d81f9c554fd32d0101a3ec5228
|
|
BLAKE2b-256 checksum How to use checksums |
3ecb5f30874624f4b9ff052ab96a87daec20d052b9381ab65fa98410e1867063
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15
|
Release files / python_rtmidi-1.2.0rc1-cp27-cp27m-macosx_10_6_intel.whl
| Download URL | python_rtmidi-1.2.0rc1-cp27-cp27m-macosx_10_6_intel.whl |
|---|---|
| Size | 172.7 kB |
| Tags | CPython 2.7 CPython 2.7 pymalloc macOS 10.6+ Intel (x86-64, i386) |
|
SHA-256 checksum How to use checksums |
6fc844a5b09cde8a4804cf699f39dd10db36b04a21e55f9b5ccf1a0da67fe96b
|
|
BLAKE2b-256 checksum How to use checksums |
50da3d35f0ed6ddb89ca0312832c6f39d838e428b73b4e489207253e4ca27d99
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15
|
Security for python-rtmidi 1.2.0rc1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.