def line_tuple_to_dict(line):
    """
    Returns a dictionary with start and end points of a line.

    Parameters
    ----------
    line : `tuple`
        A tuple with two points.

    Returns
    -------
    line_dict : `dict`
        A dictionary of with the start and end points of a line.
    """
    a, b = line
    return {'start': a, 'end': b}