Attached is a program that attempted to use the WebMIDI API available only on Chrome. The input objects contain an attribute called name. You can see it via examination in the debugger of the port object (see line 57 of miditest.py). All the other object attributes work from python. port.name seems to translate to $$name, which isn't found, and attempting to use getattr(port, 'name') also fails. If I do direct JS to access the name attribute, it works fine.
This is using pyjs 0.8.2.
Warning: this tarball extracts to the current directory.
miditest.tar.gz