[PR #1439] [MERGED] Adds dry-python/returns #10310

Closed
opened 2026-04-24 05:30:41 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/1439
Author: @sobolevn
Created: 11/22/2019
Status: Merged
Merged: 4/7/2020
Merged by: @vinta

Base: masterHead: patch-3


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

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

Features

  • Provides a bunch of primitives to write declarative business logic
  • Enforces better architecture
  • Fully typed with annotations and checked with mypy, PEP561 compatible
  • Has a bunch of helpers for better composition
  • Pythonic and pleasant to write and to read (!)
  • Support functions and coroutines, framework agnostic
  • Easy to start: has lots of docs, tests, and tutorials

Link: https://github.com/dry-python/returns

Related:

What's the difference between this Python project and similar ones?

Currently it is the only typed monads implementation I know. Other packages are not typed and not checked with mypy

Other similar projects are listed here: https://returns.readthedocs.io/en/latest/#inspirations


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/1439 **Author:** [@sobolevn](https://github.com/sobolevn) **Created:** 11/22/2019 **Status:** ✅ Merged **Merged:** 4/7/2020 **Merged by:** [@vinta](https://github.com/vinta) **Base:** `master` ← **Head:** `patch-3` --- ### 📝 Commits (1) - [`f543332`](https://github.com/vinta/awesome-python/commit/f543332dfce33097b7972cf0a79d140f87b28ca3) Adds dry-python/returns ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? Make your functions return something meaningful, typed, and safe! ### Features - Provides a bunch of primitives to write declarative business logic - Enforces better architecture - Fully typed with annotations and checked with `mypy`, [PEP561 compatible](https://www.python.org/dev/peps/pep-0561/) - Has a bunch of helpers for better composition - Pythonic and pleasant to write and to read (!) - Support functions and coroutines, framework agnostic - Easy to start: has lots of docs, tests, and tutorials Link: https://github.com/dry-python/returns Related: - https://returns.readthedocs.io/en/latest/ - https://github.com/dry-python/classes - https://sobolevn.me/2019/02/python-exceptions-considered-an-antipattern - https://sobolevn.me/2019/03/enforcing-srp - https://github.com/typeddjango/awesome-python-typing ## What's the difference between this Python project and similar ones? Currently it is the only typed monads implementation I know. Other packages are not typed and not checked with `mypy` Other similar projects are listed here: https://returns.readthedocs.io/en/latest/#inspirations --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 05:30:41 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#10310