Type-safe functional programming for Python
https://github.com/amarshall/boiga.git
Unlike most functional programming and monad libraries for Python, this is well-typed thanks to PEP 484 and mypy.
Boiga is only as type-safe as mypy permits. However, Boiga makes every attempt to ensure maximal type-safety. This includes:
Boiga is a genus of snake, often nicknamed βcat snakesβ. The level of functional category theory in this library is perhaps βun-Pythonicβ. But itβs still a snake, just not a Pythonβa cat-eyed snake, perhaps. Also, most of the obvious package names were already taken.