from typing import Sequence


def get_digits(n: int, base: int = 10) -> Sequence[int]:
    """Decomposes a positive integer into digit values in a given base.

    Args:
        n: A positive integer value.
        base: The base in which ``n`` will be represented. Must be at least 2.

    Returns:
        An integer sequence, where each entry represents the value of a single
        digit in the given base representation of ``n``, from most to least
        significant.
    """
    digit_list = []
    while n != 0:
        n, digit = divmod(n, base)
        digit_list.append(digit)
    return digit_list[::-1]