$ pipx install git+https://github.com/8gaU8/midiinfo/
$ midiinfo
pygame 2.5.2 (SDL 2.28.3, Python 3.12.1)
Hello from the pygame community. https://www.pygame.org/contribute.html
inputs:
0: IACdriver IACBUS
1: IACdriver bus2
.
.
.
outputs:
3: IACdriver IACBUS
4: IACdriver bus2
.
.
.