I have just released python-alsa-midi version 1.0.2. The only change
since 1.0.1 is Python 3.11 support added.
python-alsa-midi provides pythonic bindings to ALSA MIDI – both
sequencer and rawmidi APIs. It allows Python programs to use most of
Linux MIDI functionality, without the limitations of the portable MIDI