@classmethod
def __get_checksum(cls, pesel):
    """Generate checksum for PESEL
        :param pesel: PESEL number
        :type pesel: str
        :return: Checksum for PESEL
        :rtype: int
        """
    checksum = 0
    for index, value in enumerate(pesel):
        checksum += cls.__CHECKSUM_WEIGHTS[index] * int(value)
    checksum = (10 - checksum % 10) % 10
    return checksum
