Simple python-based Kramer 8x8 (and alike) Computer Graphics Video Matrix Switcher (the protocol is called "Protocol 2000"); more of a PoC as of now with autoswitch capability, but simple enough to get started.
Messages use 4 bytes: [INSTRUCTION][INPUT][OUTPUT][MACHINE_NUMBER]
For instance, msg = 0x01818081, (\x01\x81\x80\x81) will switch all outputs to input #1.
Full protocol documentation can be found here
Default ip address is 192.168.1.39, and port is 5000
For quicker message determination, you can use kramer's Protocol 2000 Calculator (windows only)
Just launch the script without arguments and it will randomly switch inputs; provide an input number and it will send the appropriate command
./kramer_switch.py 3
Setting all outputs to input input_3