You want vars() mixed with pprint():

from pprint import pprint
pprint(vars(your_object))