def search_notebooks(library_db, search_term, query_start, query_end):
    """searches notebooks for search term"""
    from src.praxxis.sqlite import connection
    conn = connection.create_connection(library_db)
    cur = conn.cursor()
    list_param = (
        'SELECT Notebook, Path, Library, RawUrl FROM "Notebooks" WHERE Notebook LIKE "%{}%" ORDER BY Notebook LIMIT ?, ?'
        .format(search_term))
    cur.execute(list_param, (query_start, query_end))
    conn.commit()
    rows = cur.fetchall()
    conn.close()
    return rows
