def tzolkin_generator(number=None, name=None):
<EOL>number = number or <NUM_LIT><EOL>name = name or "<STR_LIT>"<EOL>if number > <NUM_LIT>:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>if name not in TZOLKIN_NAMES:<EOL><INDENT>raise ValueError("<STR_LIT>")<EOL><DEDENT>count = _tzolkin_count(number, name)<EOL>ranged = itertools.chain(list(range(count, <NUM_LIT>)), list(range(<NUM_LIT:1>, count)))<EOL>for i in ranged:<EOL><INDENT>yield _tzolkin_from_count(i)<EOL><DEDENT>
For a given tzolkin name/number combination, return a generator
    that gives cycle, starting with the input