Python library to get statistics of an account