Improve python library for reportr