def upload_all_books(book_id_start, book_id_end, rdf_library=None):
<EOL>logger.info(<EOL>"<STR_LIT>".format(<EOL>book_id_start, book_id_end<EOL>)<EOL>)<EOL>for book_id in range(int(book_id_start), int(book_id_end) + <NUM_LIT:1>):<EOL><INDENT>cache = {}<EOL>errors = <NUM_LIT:0><EOL>try:<EOL><INDENT>if int(book_id) in missing_pgid:<EOL><INDENT>print(u'<STR_LIT>'.format(book_id))<EOL>continue<EOL><DEDENT>upload_book(book_id, rdf_library=rdf_library, cache=cache)<EOL><DEDENT>except Exception as e:<EOL><INDENT>print(u'<STR_LIT>'.format(book_id))<EOL>logger.error(u"<STR_LIT>".format(book_id, e))<EOL>errors += <NUM_LIT:1><EOL>if errors > <NUM_LIT:10>:<EOL><INDENT>print('<STR_LIT>')<EOL>break<EOL><DEDENT><DEDENT><DEDENT>
Uses the fetch, make, push subcommands to
        mirror Project Gutenberg to a github3 api