@classmethod<EOL><INDENT>def from_directory_as_inmemory_db(cls, gtfs_directory):<DEDENT>
<EOL>from gtfspy.import_gtfs import import_gtfs<EOL>conn = sqlite3.connect("<STR_LIT>")<EOL>import_gtfs(gtfs_directory,<EOL>conn,<EOL>preserve_connection=True,<EOL>print_progress=False)<EOL>return cls(conn)<EOL>
Instantiate a GTFS object by computing

Parameters
----------
gtfs_directory: str
    path to the directory for importing the database