A Python library for the solution of pose network optimization problems