Is it possible to override __new__ in an enum to parse strings to an instance?
Get Enum name from multiple values python
How to convert int to Enum in python? How to compare a string with a python enum? Defining SQLAlchemy enum column with Python enum raises "ValueError: not a valid enum" How to get all values from python enum class? Python Enum with complex type Python enum, when and where to use? is it possible to directly import an enum field in Python 3? Enum with attributes in Python Convert enum to int in python python how to get name of the enum Python equivalent of C# Enum.HasFlag Parse .strings file with Python Enum with functions? Python's enum equivalent Python enum - getting value of enum on string conversion Using a Python 2.7 enum from C Python, what's the Enum type good for? How can I construct an enum.Enum from a dictionary of values? A better way to parse time strings Creating C like Enum in Python Python Enum for Boolean variable Enum class in python Convert string to Enum in Python Python import enum error How to extend Python Enum? Make externed enum "public" for Python? Why is the following attribute not found in Enum? Python - how to parse strings from an array? Is it possible to add a value named 'None' to enum type?