def ingest_zip(path, engine=None):
import_order = [<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT:info>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>"<STR_LIT>",<EOL>]<EOL>with ZipFile(path, "<STR_LIT:r>") as archive:<EOL><INDENT>filenames = archive.namelist()<EOL>for name in import_order:<EOL><INDENT>filename = [f for f in filenames if name in f][<NUM_LIT:0>]<EOL>model_name = name.capitalize()<EOL>model = getattr(models, model_name)<EOL>file = archive.open(filename)<EOL>if six.PY3:<EOL><INDENT>file = io.TextIOWrapper(file, encoding="<STR_LIT:utf8>", newline="<STR_LIT>")<EOL><DEDENT>ingest_to_model(file, model, engine)<EOL><DEDENT><DEDENT>
Given a path to a zip file created with `export()`, recreate the
    database with the data stored in the included .csv files.