Initialize SQLite Database
    
    Args:
        path(str): Path to database (Ex. '/home/username/my_sqlite.db').
        initTime(Optional[bool]): If True, it will print the amount of time to generate database.

    Example::
    
        from gsshapy.lib.db_tools import init_sqlite_db, create_session
        
        sqlite_db_path = '/home/username/my_sqlite.db'   
        
        init_postgresql_db(path=sqlite_db_path)
        
        sqlalchemy_url = init_sqlite_db(path=sqlite_db_path)
        
        db_work_sessionmaker = get_sessionmaker(sqlalchemy_url)

        db_work_session = db_work_sessionmaker()
        
        ##DO WORK
        
        db_work_session.close()

def init_sqlite_db(path, initTime=False):
    """
    Initialize SQLite Database
    
    Args:
        path(str): Path to database (Ex. '/home/username/my_sqlite.db').
        initTime(Optional[bool]): If True, it will print the amount of time to generate database.

    Example::
    
        from gsshapy.lib.db_tools import init_sqlite_db, create_session
        
        sqlite_db_path = '/home/username/my_sqlite.db'   
        
        init_postgresql_db(path=sqlite_db_path)
        
        sqlalchemy_url = init_sqlite_db(path=sqlite_db_path)
        
        db_work_sessionmaker = get_sessionmaker(sqlalchemy_url)

        db_work_session = db_work_sessionmaker()
        
        ##DO WORK
        
        db_work_session.close()
    """
    sqlite_base_url = 'sqlite:///'
    
    sqlalchemy_url = sqlite_base_url + path

    init_time = init_db(sqlalchemy_url)
    
    if initTime:
        print('TIME: {0} seconds'.format(init_time))
        
    return sqlalchemy_url