import pyrudof import inspect classes = [cls_name for cls_name, cls_obj in inspect.getmembers(pyrudof) if inspect.isclass(cls_obj)] print(classes)