Analogous to sqlite3.connect()

       :param path: Path to the database
       :param lock_transactions: If `True`, parallel transactions will be blocked
       :param lock_timeout: Maximum amount of time the connection is allowed to wait for a lock.
                            If the timeout i exceeded, :any:`LockTimeoutError` will be thrown.
                            -1 disables the timeout.
       :param single_cursor_mode: Use only one cursor (default: `False`)
       :param factory: Connection class (default: :any:`Connection`)

def connect(path, lock_transactions=True, lock_timeout=-1, single_cursor_mode=False,
            factory=Connection, *args, **kwargs):
    """Analogous to sqlite3.connect()

       :param path: Path to the database
       :param lock_transactions: If `True`, parallel transactions will be blocked
       :param lock_timeout: Maximum amount of time the connection is allowed to wait for a lock.
                            If the timeout i exceeded, :any:`LockTimeoutError` will be thrown.
                            -1 disables the timeout.
       :param single_cursor_mode: Use only one cursor (default: `False`)
       :param factory: Connection class (default: :any:`Connection`)
    """

    return factory(path,
                   lock_transactions=lock_transactions,
                   lock_timeout=lock_timeout,
                   single_cursor_mode=single_cursor_mode,
                   *args, **kwargs)