import sqlite3


def connect_to_database(database_name):
    """
    Get connection object by database name
    :param database_name: database name
    :return: connection object
    """
    connection = sqlite3.connect(database_name)
    return connection