This python code is useful to control USB Relay module.
The python file USB_RELAY can be imported into other python files and be used as a module.
For reference check test.py file.
PYWINUSB module has to be installed.
The code is working for the relays bought in this links.
https://probots.co.in/5v-1-channel-usb-control-relay-module.html
https://probots.co.in/usb-pc-intelligent-control-2-channel-5v-relay-module.html