either
Railway-Oriented Programming for Python — Option[T] and Either[T, E] sum types with sync + async combinators, sealed pattern matching, and 100% branch coverage.
This library brings common monads such as `Maybe` and `Either` to your Python projects
Handle side-effects in Python like a boss. Implements functional types for Either, Option, Try, and Future.
An implementation of Data.Either from Haskell in Python