

def get_import_local(imports, encoding=None):
    local = get_locally_installed_packages()
    result = []
    for item in imports:
        if (item.lower() in local):
            result.append(local[item.lower()])
    return result

dataset/ETHPy150Open bndr/pipreqs/pipreqs/pipreqs.py get_import_local/original