def module_matching(self, name):
        '''Find a list of modules matching a wildcard pattern'''
        import fnmatch
        ret = []
        for mname in self.mpstate.public_modules.keys():
            if fnmatch.fnmatch(mname, name):
                ret.append(self.mpstate.public_modules[mname])
        return ret
Find a list of modules matching a wildcard pattern