def getAvailableClassesInPackage(package):
l = list(x[<NUM_LIT:1>] for x in inspect.getmembers(package, inspect.isclass))<EOL>modules = list(x[<NUM_LIT:1>] for x in inspect.getmembers(package, inspect.ismodule))<EOL>for m in modules:<EOL><INDENT>l.extend(list(x[<NUM_LIT:1>] for x in inspect.getmembers(m, inspect.isclass)))<EOL><DEDENT>l = [x for x in l if x.__name__[<NUM_LIT:0>] != "<STR_LIT:_>"]<EOL>n = <NUM_LIT:0><EOL>while n < len(l):<EOL><INDENT>cls = l[n]<EOL>if not cls.__module__.startswith(package.__name__):<EOL><INDENT>l.pop(n)<EOL>n -= <NUM_LIT:1><EOL><DEDENT>n += <NUM_LIT:1><EOL><DEDENT>return l<EOL>
return a list of all classes in the given package
whose modules dont begin with '_'