CMD + K

returns

Community

Make your functions return something meaningful, typed, and safe!

Installation

To install this package, run one of the following:

Conda
$conda install conda-forge::returns

Usage Tracking

0.26.0
0.25.0
0.24.0
0.23.0
0.22.0
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

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.

About

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

noarch