Source code for bo4e.enum.landescode
"""
Der ISO-Landescode als Enumeration.
"""
from enum import Enum
from iso3166 import countries
alpha2codes = {c.alpha2: c.alpha2 for c in countries}
Landescode = Enum("Landescode", alpha2codes) # type: ignore