def init():
    import os
    import pkgutil

    for _, name, is_pkg in pkgutil.iter_modules([os.path.dirname(__file__)]):
        if is_pkg:
            try:
                __import__(name, level=0)  # try to import globally and see if ORM is installed
            except ImportError:
                pass
            else:
                getattr(__import__(name, globals(), level=1), 'init', lambda: None)()  # if yes, run init() for this ORM
Reply types:
dataset/ETHPy150Open maxtepkeev/architect/architect/orms/__init__.py/init--crossover with--dataset/ETHPy150Open jookies/jasmin/jasmin/vendor/txredisapi.py/RedisProtocol.lineReceived