def get_internal_modules(key='<STR_LIT>'):
key += '<STR_LIT:.>'<EOL>return [v for k, v in sys.modules.items() if k.startswith(key)]<EOL>
Get a list of modules belonging to the given package.

Args:
    key (str): Package or library name (e.g. "exa")