e2dict Posted on 2018-07-Thu Views: Views: 1dict((name, getattr(ref, name)) for name in dir(ref) if not name.startswith('_'))