This would introduce a new dependency, how about using ctypes instead?