a2jmidid is daemon for exposing legacy ALSA sequencer applications in JACK MIDI system. (homepage)
alsaseq – ALSA sequencer bindings for Python. (homepage)