def generate_card_data():
    """Generates card data for the class:`Card` class.

    :return: :class:`dict` objects with 'suit' and 'value' keys.
    :rtype: :class:`dict`
    """
    suits = 3
    values = 13
    cur_suit = 0
    cur_value = 1
    while cur_suit <= suits and cur_value <= values:
        yield {'suit': cur_suit, 'value': cur_value}
        if cur_value == values:
            cur_suit += 1
            cur_value = 0
        cur_value += 1
