returns
Make your functions return something meaningful, typed, and safe!
Make your functions return something meaningful, typed, and safe!
To install this package, run one of the following:
Brings functional programming to Python land by providing a bunch of primitives to write declarative business logic. Also enforces better architecture with fully typed with annotations and checked with mypy. This package is PEP561 compatible and adds emulated Higher Kinded Types support. It also provides type-safe interfaces to create your own data-types with enforced laws, and has a bunch of helpers for better composition.
Summary
Make your functions return something meaningful, typed, and safe!
Last Updated
Jul 29, 2025 at 18:04
License
BSD-2-Clause
Total Downloads
46.4K
Supported Platforms
Documentation
https://returns.readthedocs.io/