There is a lpcusbsio Python package on pypi. Tried installing it
pip install libusbsio
But it doesn't seem to detect the Microe-2540.
>> from libusbsio import *
>> import logging
>> sio = LIBUSBSIO(logglevel=logging.DEBUG)
>> sio.GetNumPorts([(0x1fc9,0x0088)])
0
>>
the dongle is there (and I do have permissions to the associated /dev/hidraw*)
#> lsusb
Bus 003 Device 017: ID 1fc9:0088 NXP Semiconductors LPC I2C HID
#>
So no clue why GetNumPorts doesn't work. Perhaps this python module doesn't work under Linux?