1- # dry-monads
1+ # returns
22
3- [](https://wemake.services) [](https://travis-ci.org/sobolevn/dry-monads) [](https://coveralls.io/github/sobolevn/dry-monads?branch=master) [](https://dry-monads.readthedocs.io/en/latest/?badge=latest) [](https://pypi.org/project/dry-monads/) [](https://github.com/wemake-services/wemake-python-styleguide)
3+ [](https://wemake.services) [](https://travis-ci.org/dry-python/returns) [](https://coveralls.io/github/dry-python/returns?branch=master) [](https://returns.readthedocs.io/en/latest/?badge=latest) [](https://pypi.org/project/returns/) [](https://github.com/wemake-services/wemake-python-styleguide)
44
55
6- Monads for ` python ` made simple and safe.
6+ Make your functions return something meaningful and safe! and safe.
77
88
99## Features
1010
1111- Provides primitives to write declarative business logic
1212- Fully typed with annotations and checked with ` mypy ` ,
1313 allowing you to write type-safe code as well
14- - No operator overloading or other unpythonic stuff that makes your eyes bleed
14+ - Pythonic and pleasant to write and to read (!)
1515
1616
1717## Installation
1818
1919
2020``` bash
21- pip install dry-monads
21+ pip install returns
2222```
2323
2424
2525## What's inside?
2626
2727We have several the most iconic monads inside:
2828
29- - [ Result, Failure, and Success] ( https://dry-monads .readthedocs.io/en/latest/pages/either.html ) (also known as ` Either ` , ` Left ` , and ` Right ` )
30- - [ Maybe, Some, and Nothing] ( https://dry-monads .readthedocs.io/en/latest/pages/maybe.html )
29+ - [ Result, Failure, and Success] ( https://returns .readthedocs.io/en/latest/pages/either.html ) (also known as ` Either ` , ` Left ` , and ` Right ` )
30+ - [ Maybe, Some, and Nothing] ( https://returns .readthedocs.io/en/latest/pages/maybe.html )
3131
3232We also care about code readability and developer experience,
3333so we have included some useful features to make your life easier:
3434
35- - [ Do notation] ( https://dry-monads .readthedocs.io/en/latest/pages/do-notation.html )
36- - [ Helper functions] ( https://dry-monads .readthedocs.io/en/latest/pages/functions.html )
35+ - [ Do notation] ( https://returns .readthedocs.io/en/latest/pages/do-notation.html )
36+ - [ Helper functions] ( https://returns .readthedocs.io/en/latest/pages/functions.html )
3737
3838
3939## Example
4040
4141
4242``` python
43- from dry_monads .do_notation import do_notation
44- from dry_monads .either import Result, Success, Failure
43+ from returns .do_notation import do_notation
44+ from returns .either import Result, Success, Failure
4545
4646class CreateAccountAndUser (object ):
4747 """ Creates new Account-User pair."""
@@ -58,7 +58,8 @@ class CreateAccountAndUser(object):
5858
5959```
6060
61- We are [ covering what's going on in this example] ( https://dry-monads.readthedocs.io/en/latest/pages/do-notation.html ) in the docs.
61+ We are [ covering what's going on in this example] ( https://returns.readthedocs.io/en/latest/pages/do-notation.html ) in the docs.
62+
6263
6364## Inspirations
6465
0 commit comments