import pickle


def save_pickle(value, filename):
    """
    Save value to pickle file

    :param value: Value to save
    :param filename: Filename to save value as
    """

    with open(filename, 'wb') as f:
        return pickle.dump(value, f)