sumtype (pypi): A namedtuple-style library for defining immutable sum types in Python.
Keywords: sum|variant|tagged|union|enum|type|types|python|python3|sum-types