Mido is a library for working with MIDI messages and ports. It's designed to be as straightforward and Pythonic as possible.