def create_enum(**enums):
    """Create the enumeration specified.
    For example:
        Numbers = create_enum(ONE=1, TWO=2, THREE=3), will result in a call to
           Numbers.ONE returning 1,
           Numbers.TWO returning 2,
           Numbers.THREE returning 3
    """
    return type('Enum', (), enums)