def get_installed_pypackages():
    return {p.project_name.lower(): p for p in pkg_resources.working_set}
def linear_search(lst,size,value):
    i = 0
    while i < size:
        if lst[i] == value:
            return i
        i = i + 1
    return -1