It would be great to have the SpaceMouse as in input device to control the viewport camera around, similar to how it works in literally any other 3D tool. I think my favorite implementation is in Rhino, where it works flawlessly.
SpaceMouse has a few different modes on how the camera is controlled (helicopter mode, camera mode, object mode) and usually an option to lock the horizon, which is a really important option and keeps the horizon horizontal at all times.
We have implemented SpaceMouse in other tools like vvvv, but I am not proficient in Python. But I am happy to support with testing and on the UX and UI side if necessary.
Thanks!