def unload_modules(name):

    for key in list(sys.modules.keys()):

        if key.startswith(name):

            del sys.modules[key]
Unload all modules where the name begins with the passed name.
dataset/ETHPy150Open concordusapps/alchemist/alchemist/tests/utils.py/unload_modules