def packages(pkg_list, update=False):
    pkg_list = [pkg for pkg in pkg_list if not is_installed(pkg)]
    if pkg_list:
        install(pkg_list, update)
Extract limit and offset from the end of a query string.
dataset/ETHPy150Open ronnix/fabtools/fabtools/require/deb.py/packages--crossover with--dataset/ETHPy150Open Sage-Bionetworks/synapsePythonClient/synapseclient/utils.py/query_limit_and_offset