The encoders should appear as regular joystick/gamepads under Linux, so something like pygame or python-evdev should be enough to read the inputs.