{"library":"returns","type":"library","category":null,"description":"The `returns` library (version 0.26.0) is a functional programming toolkit for Python, enhancing type-safety and explicit error handling. It allows developers to make functions return meaningful, typed, and safe values like `Result`, `Maybe`, and `IO` monads, promoting composable and testable code. The project is actively maintained with frequent releases, often every few months, introducing new features and compatibility updates.","language":"python","status":"active","version":"0.26.0","tags":["functional programming","type-safety","error-handling","monads","fp","mypy"],"install":[{"cmd":"pip install returns","imports":["from returns.result import Result, Success, Failure","from returns.maybe import Maybe, Some, Nothing","from returns.io import IO, IOResult","from returns.do_notation import do","from returns.result import safe","from returns.maybe import maybe"]},{"cmd":"pip install returns[compatible-mypy]","imports":[]}],"homepage":"https://returns.readthedocs.io","github":"https://github.com/sponsors/dry-python","docs":null,"changelog":null,"pypi":"https://pypi.org/project/returns/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":2.6,"avg_import_s":0.06,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/returns/compatibility"},"provenance":{"verified_status":"passing","verified_at":"Sun Jun 28","last_verified":"Sun Jun 28","next_check":"Tue Jul 28","install_tag":null}}