Returns Alternatives

Similar projects and alternatives to returns

  • GitHub repo Coconut

    returns VS Coconut

    Simple, elegant, Pythonic functional programming.

  • GitHub repo Toolz

    returns VS Toolz

    A functional standard library for Python.

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • GitHub repo fn.py

    returns VS fn.py

    Functional programming in Python: implementation of missing features to enjoy FP

  • GitHub repo CyToolz

    returns VS CyToolz

    Cython implementation of Toolz: High performance functional utilities

  • GitHub repo funcy

    returns VS funcy

    A fancy and practical functional tools

  • GitHub repo Pyrsistent

    returns VS Pyrsistent

    Persistent/Immutable/Functional data structures for Python

  • GitHub repo Deal

    returns VS Deal

    Design by contract for Python. Write bug-free code. Add a few decorators, get static analysis and tests for free.

  • Scout APM

    Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.

  • GitHub repo effect

    returns VS effect

    effect isolation in Python, to facilitate more purely functional code

  • GitHub repo z3

    returns VS z3

    The Z3 Theorem Prover

  • GitHub repo pfun

    returns VS pfun

    Functional, composable, asynchronous, type-safe Python.

  • GitHub repo fp-ts

    returns VS fp-ts

    Functional programming in TypeScript

  • GitHub repo hypothesis

    returns VS hypothesis

    Hypothesis is a powerful, flexible, and easy to use library for property-based testing.

  • GitHub repo typing

    returns VS typing

    Python static typing home. Contains the source for typing_extensions and the documentation. Also hosts a user help forum.

  • GitHub repo result

    returns VS result

    A simple Rust like Result type for Python 3. Fully type annotated. (by rustedpy)

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better returns alternative or higher similarity.

Suggest an alternative to returns

Reviews and mentions

Posts with mentions or reviews of returns. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-02.
  • A simple Rust-like Result type for Python
    2 projects | reddit.com/r/Python | 2 Dec 2021
  • What can you do in Haskell that you can't do in Python(for example)?
    3 projects | reddit.com/r/haskell | 15 May 2021
    Functional semantics are available in Python, but IMO not that great. List, dict, and generator comprehensions allow you to perform most operations that you would use in a functional first programming language and there are third party libraries like toolz and funcy that implement some of the more advanced operations. The main issue I've found with using Python as a functional language is it doesn't support fluent syntax. With Scala you can do a relatively complex map/filter/reduce operation with syntactic ease list_of_ints.map(x => x*x).filter(x => x%2 ==0).reduce(x,y => x+y) With Python it's just clunky and less readable b/c of support of list comprehension syntax over fluent syntax. sum([x**2 for x in list_of_ints if x % 2 == 0]) A codebase with 5000 lines of the Scala style code will be much readable and maintainable than with the Python style code.
  • Exceptions are a common way of dealing with errors, but they're not without criticism. This video covers exceptions in Python, their limitations, possible alternatives, and shows a few advanced error handling mechanisms.
    1 project | reddit.com/r/Python | 26 Mar 2021
  • Make tests a part of your app
    4 projects | dev.to | 10 Mar 2021
    dry-python/returns is a library with primitives that make typed functional programming in Python easier.
  • Higher Kinded Types in Python
    7 projects | dev.to | 25 Oct 2020
    dry-python/[email protected] is released! And it means that now anyone can use our Higher Kinded Types emulation in their projects.
    7 projects | dev.to | 25 Oct 2020
    Repository: https://github.com/dry-python/returns Don't forget to star it!
    7 projects | dev.to | 25 Oct 2020
    So, we would need several Kind alises to work with different amount of type arguments. It would also have a reasonable limit of three type arguments:
    7 projects | dev.to | 25 Oct 2020
    We can use a @kinded decorator for that together with one more custom mypy plugin. The idea of this hack is that we catch all calls of functions decorated with @kinded and transform their return type from Kind[I, T] into I[T].
    7 projects | dev.to | 25 Oct 2020
    We, in dry-python used this technique with @overload decorator for our previous versions. This allowed us to write correct definitions of functions working with generic types. But, they were limited to the pre-defined set of our own types. And we wanted to allow our users to create their custom types based on our interfaces. With the full existing code reuse.

Stats

Basic returns repo stats
9
2,072
9.3
about 8 hours ago

dry-python/returns is an open source project licensed under BSD 2-clause "Simplified" License which is an OSI approved license.

Deliver Cleaner and Safer Code - Right in Your IDE of Choice!
SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.
www.sonarlint.org
Find remote Python jobs at our new job board 99remotejobs.com. There are 7 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.