def snake_to_camel_case(name: str, initial: bool = False) -> str:
    """Convert a PEP8 style snake_case name to CamelCase."""
    chunks = name.split('_')
    converted = [s.capitalize() for s in chunks]
    if initial:
        return ''.join(converted)
    else:
        return chunks[0].lower() + ''.join(converted[1:])