As voen said, this would introduce a new dependency so is unlikely to be merged. That stackoverflow link you included shows how to do it with ctypes.