Unless Mido was written specifically for pythonista, it is not going to work (e.g unless it is written for coremidi on iOS), since other midi libraries are not built into pythonista, and iOS is limited to static libraries. The point of those links was to give you a starting point if you want to try tackling this -- a few have tried, none have succeeded. In part because coremidi is a very low level protocol, requiring ctypes instead of objc, which makes it extremely hard to debug and get right.
Welcome!
This is the community forum for my apps Pythonista and Editorial.
For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.