Functional Programming HOWTO
"In this document, we’ll take a tour of Python’s features suitable for implementing programs in a functional style".
A curated list of awesome things related to functional programming in Python.
This page lists names, links and short descriptions. The original list on GitHub is the source and belongs to its authors.
"In this document, we’ll take a tour of Python’s features suitable for implementing programs in a functional style".
Book by David Mertz (O'Reilly).
Book by Steve Lott (Packtpub, 2015).
by Christopher Armstrong, O'Reilly.
by Mohammed Kashif, Udemy.
by Dan Bader, Real Python.
, Guido Van Rossum, 2009.
(with examples in Python), by Mary Rose Cook (year unknown).
, Robert Rees, 2014.
, by Robert Smallshire. "In this 8 parts series we take an in-depth look at transducers. Transducers – a portmanteau of ‘transform reducers’ – are a new functional programming concept introduced into the Clojure programming language."
, Kyle Hanson, 2017.
Nikita Sobolev, 2019.
, Nikita Sobolev, 2019.
Nikita Sobolev, 2019.
Nikita Sobolev, 2020.
N. Sobolev, 2021
Guido van Rossum, 2009
Guido van Rossum, 2009
Guido van Rossum, 2005
Kite Blog, 2018.
(PDF), John Peterson, Ken Roe, and Alan Cleary, 2014.
, Samuel Lampa, From talk at PySthlm meetup, Oct 2013
"More routines for operating on iterables, beyond itertools".
"Functional programming in Python: implementation of missing features to enjoy FP" (unmaintained since 2014). Unmaintained fork.
"Python library for functional programming with collections in a data pipeline style".
"A Python library to use infix notation in Python".
"The kitchen sink of Python utility libraries for doing "stuff" in a functional way. Based on the Lo-Dash Javascript library".
"Haskell language features and standard libraries in pure Python".
"Functors, Applicatives, And Monads in Python".
"Pragmatic functional programming for Python inspired by F#". Successor of OSlash.
"Effect isolation in Python, to facilitate more purely functional code".
"A Python port of excellent javascript library underscore.js".
"Functional programming in Python with generators and other utilities".
"a small library implementing monads and related data abstractions -- functors, applicative functors, and monoids -- for use in implementing functional style programs".
Implements a fluent interface for operating on python iterables.
"Pure functional programming in python".
"A library that intends to remove as much of the pain as possible from your functional programming experience in Python."
"Supercharge your Python with parts of Lisp and Haskell."
"ZIO for Python (with ZIO = A type-safe, composable library for async and concurrent programming in Scala)"
"Iterator, Result and Option written in Rust, for Python"
"High abstract python library for functional programming. Contains algebraic data structures known from Haskell or Scala".
"Handle side-effects in Python like a boss. Implements functional types for Either, Option, Try, and Future."
The classic compose, with all the Pythonic features.
map, filter etc. as methods on a sequence.
Enum and Map from Elixir programming language brought into Python.
Typed Haskell-style functional programming library providing algebraic abstractions (Functor, Applicative, Monad, Semigroup, Monoid) with concrete types, do-notation via a @do decorator, and operator overloading for monadic bind, applicative apply, semigroup combine.
(Unmaintained) A simple Rust like Result type for Python 3. Fully type annotated.
Rust-like Option and Result types in Python.
A simple, typed and monad-based Result type for Python.
(Unmaintained) A simple Rust like Maybe type for Python 3. Fully type annotated.
Fully typesafe, Rust-like Result and Option types for Python.
"Persistent/Immutable/Functional data structures for Python".
"An immutable mapping type for Python."
"Python package supporting heavy functional programming through currying. Translation of the Ramda library from javascript to python".
"An efficient, immutable, persistent mapping object".
"Immutable Data Structures for Python".
"functional data structures and type classes".
"Pysistence is a project that seeks to make functional programming in python easier".
"Pampy: The Pattern Matching for Python you always dreamed of."
"Python pattern matching like functional languages."
"Functional-style recursive pattern matching in Python. Crazy stuff."
"Pattern Matching for Python 3.8+ in a simple, yet powerful, extensible manner."
"Transducers are composable algorithmic transformations".
"This is a port of the transducer concept from Clojure to Python, with an emphasis on providing as Pythonic as interpretation of transducers as possible, rather than reproducing Clojurisms more literally".
"Reactive Extensions for Python".
"Library to operate with continuous streams of data in a reactive style"
"Python implementation of Sodium - Functional Reactive Programming (FRP) Library"
"Python's nested data operator (and CLI), for all your declarative restructuring needs.".
"A python lens library for manipulating deeply nested immutable structures".
"Design by contract for Python with many validators support."
"Smart, pythonic, ad-hoc, typed polymorphism for Python."
"Method chaining built on generators".
Algebraic data types for Python
"Sum Types, aka Tagged Unions, for Python".
"Simple Lambda functions without lambda x: and with string conversion capability"
"A drop-in replacement for the python mutable list. But with much more methods for typesafe method chaining."
"Functional composable pipelines allowing clean separation of the business logic and its implementation"
"Proof-of-concept Functional-Relational Mapping (FRM) for Python"
"A dialect of Lisp that's embedded in Python".
"Simple, elegant, Pythonic functional programming".
"A Clojure-compatible(-ish) Lisp dialect targeting Python 3.8+".
"A lightweight and native lisp built in RPython". (Discussion on HN)
"A dynamically typed programming language for functional programming and actor-style programming.".
"A programming language that compiles to CPython bytecode, much like Scala compiles to JVM's. That essentially means that dg is an alternative syntax for Python 3."
"A rudimentary Racket implementation using RPython".
"Tydy is a statically typed, functional-first programming language in the ML tradition. tydy is an implementation of Tydy as a Python library."
"Arza is a functional programming language that compiles to Python. It is a statically typed language with type inference and type classes."
and (An ((Even Better) Lisp) Interpreter (in Python)) - a couple of famous articles by Peter Norvig.
rust-unofficial/awesome-rust
A curated list of Rust code and resources.
jaywcjlove/awesome-mac
This project is dedicated to collecting high-quality macOS software and organizing them systematically by different categories for easy search and use.
vinta/awesome-python
The definitive list that answers "I want to do X in Python, which tool should I use?"
fffaraz/awesome-cpp
A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.
avelino/awesome-go
A curated list of awesome Go frameworks, libraries and software
ziadoz/awesome-php
A curated list of amazingly awesome PHP libraries, resources and shiny things.