Skip to content
73

Awesome Functional Python

A curated list of awesome things related to functional programming in Python.

2.6k stars144 forks94 entriesLast push Jun 23, 2026 (3 months ago)License none

This page lists names, links and short descriptions. The original list on GitHub is the source and belongs to its authors.

Awesome Functional Python >Official documentation

Functional Programming HOWTO

"In this document, we’ll take a tour of Python’s features suitable for implementing programs in a functional style".

Awesome Functional Python >Books

Functional Programming in Python

Book by David Mertz (O'Reilly).

Functional Python Programming

Book by Steve Lott (Packtpub, 2015).

Awesome Functional Python >Other resources

Functional Programming with Python

by Christopher Armstrong, O'Reilly.

Functional Programming in 7 days

by Mohammed Kashif, Udemy.

Functional Programming in Python

by Dan Bader, Real Python.

Origins of Python's "Functional" Features

, Guido Van Rossum, 2009.

A practical introduction to functional programming

(with examples in Python), by Mary Rose Cook (year unknown).

Immutable data structures in Python

, Robert Rees, 2014.

Understanding Transducers through Python

, 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."

Thinking Functionally with Python and Django at eShares Inc.

, Kyle Hanson, 2017.

Simple dependent types in Python

Nikita Sobolev, 2019.

In 2 lists

Python exceptions considered an anti-pattern

, Nikita Sobolev, 2019.

Enforcing Single Responsibility Principle in Python

Nikita Sobolev, 2019.

Typed functional Dependency Injection in Python

Nikita Sobolev, 2020.

4 Part Series on Functional Programming Techniques and Design In Python

M. Kocher, 2019.

Typeclasses in Python

N. Sobolev, 2021

Functools — The Power of Higher-Order Functions in Python

M. Heinz, 2021

Tail Recursion Elimination

Guido van Rossum, 2009

Final Words on Tail Calls

Guido van Rossum, 2009

The fate of reduce() in Python 3000

Guido van Rossum, 2005

Best Practices for Using Functional Programming in Python

Kite Blog, 2018.

Practical Functional Reactive Programming

(PDF), John Peterson, Ken Roe, and Alan Cleary, 2014.

Python Generators

, Samuel Lampa, From talk at PySthlm meetup, Oct 2013

Awesome Functional Python >Libraries

toolz

"A functional standard library for Python".

In 4 listsDetails

more-itertools

"More routines for operating on iterables, beyond itertools".

funcy

"A fancy and practical functional tools".

In 6 listsDetails

fn.py

"Functional programming in Python: implementation of missing features to enjoy FP" (unmaintained since 2014). Unmaintained fork.

In 3 lists

PyFunctional

"Python library for functional programming with collections in a data pipeline style".

Pipe

"A Python library to use infix notation in Python".

Pydash

"The kitchen sink of Python utility libraries for doing "stuff" in a functional way. Based on the Lo-Dash Javascript library".

hask

"Haskell language features and standard libraries in pure Python".

OSlash

"Functors, Applicatives, And Monads in Python".

Expression

"Pragmatic functional programming for Python inspired by F#". Successor of OSlash.

Effect

"Effect isolation in Python, to facilitate more purely functional code".

Underscore.py

"A Python port of excellent javascript library underscore.js".

fnc

"Functional programming in Python with generators and other utilities".

PyMonad

"a small library implementing monads and related data abstractions -- functors, applicative functors, and monoids -- for use in implementing functional style programs".

Flupy

Implements a fluent interface for operating on python iterables.

pfun

"Pure functional programming in python".

Phi

"A library that intends to remove as much of the pain as possible from your functional programming experience in Python."

unpythonic

"Supercharge your Python with parts of Lisp and Haskell."

ziopy

"ZIO for Python (with ZIO = A type-safe, composable library for async and concurrent programming in Scala)"

pyochain

"Iterator, Result and Option written in Rust, for Python"

pyMonet

"High abstract python library for functional programming. Contains algebraic data structures known from Haskell or Scala".

In 2 lists

pyeffects

"Handle side-effects in Python like a boss. Implements functional types for Either, Option, Try, and Future."

Compose

The classic compose, with all the Pythonic features.

Iterpy

map, filter etc. as methods on a sequence.

enumerio

Enum and Map from Elixir programming language brought into Python.

katharos

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.

returns

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

In 5 listsDetails

result

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

Option

Rust-like Option and Result types in Python.

In 2 lists

Meiga

A simple, typed and monad-based Result type for Python.

In 2 lists

maybe

(Unmaintained) A simple Rust like Maybe type for Python 3. Fully type annotated.

Safetywrap

Fully typesafe, Rust-like Result and Option types for Python.

In 2 lists

Pyrsistent

"Persistent/Immutable/Functional data structures for Python".

In 2 lists

Immutables

"An immutable mapping type for Python."

In 2 lists

pyramda

"Python package supporting heavy functional programming through currying. Translation of the Ramda library from javascript to python".

Discodb

"An efficient, immutable, persistent mapping object".

Funktown

"Immutable Data Structures for Python".

Amino

"functional data structures and type classes".

Pysistence

"Pysistence is a project that seeks to make functional programming in python easier".

pampy

"Pampy: The Pattern Matching for Python you always dreamed of."

In 3 lists

python-pattern-matching

"Python pattern matching like functional languages."

patmat

"Functional-style recursive pattern matching in Python. Crazy stuff."

apm

"Pattern Matching for Python 3.8+ in a simple, yet powerful, extensible manner."

Tranducers-Python

"Transducers are composable algorithmic transformations".

Transducers

"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".

RxPy

"Reactive Extensions for Python".

In 2 lists

broqer

"Library to operate with continuous streams of data in a reactive style"

sodium-python

"Python implementation of Sodium - Functional Reactive Programming (FRP) Library"

Glom

"Python's nested data operator (and CLI), for all your declarative restructuring needs.".

In 3 lists

python-lenses

"A python lens library for manipulating deeply nested immutable structures".

deal

"Design by contract for Python with many validators support."

classes

"Smart, pythonic, ad-hoc, typed polymorphism for Python."

chainable

"Method chaining built on generators".

ADT

Algebraic data types for Python

sumtypes

"Sum Types, aka Tagged Unions, for Python".

python-mini-lambda

"Simple Lambda functions without lambda x: and with string conversion capability"

slist

"A drop-in replacement for the python mutable list. But with much more methods for typesafe method chaining."

Orinoco

"Functional composable pipelines allowing clean separation of the business logic and its implementation"

py-frm

"Proof-of-concept Functional-Relational Mapping (FRM) for Python"

Awesome Functional Python >Languages

Hy

"A dialect of Lisp that's embedded in Python".

In 2 lists

Coconut

"Simple, elegant, Pythonic functional programming".

In 2 lists

Basilisp

"A Clojure-compatible(-ish) Lisp dialect targeting Python 3.8+".

pixie

"A lightweight and native lisp built in RPython". (Discussion on HN)

Mochi

"A dynamically typed programming language for functional programming and actor-style programming.".

dg (aka dogelang)

"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."

Pycket

"A rudimentary Racket implementation using RPython".

Tydy

"Tydy is a statically typed, functional-first programming language in the ML tradition. tydy is an implementation of Tydy as a Python library."

Arza

"Arza is a functional programming language that compiles to Python. It is a statically typed language with type inference and type classes."

(How to Write a (Lisp) Interpreter (in Python))

and (An ((Even Better) Lisp) Interpreter (in Python)) - a couple of famous articles by Peter Norvig.

In 2 lists

More languages that compile to Python

.

See category
94

Awesome Rust

rust-unofficial/awesome-rust

A curated list of Rust code and resources.

Fresh★ 60k1833 entriesPushed today
94

Awesome Mac

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.

Fresh★ 115k1316 entriesPushed today
94

Awesome Python

vinta/awesome-python

Curated Python frameworks, libraries and resources.

Fresh★ 324k504 entriesPushed today
94

Awesome C++

fffaraz/awesome-cpp

A curated list of awesome C++ (or C) frameworks, libraries, resources, and shiny things. Inspired by awesome-... stuff.

Fresh★ 74k1358 entriesPushed yesterday
94

Awesome Go

avelino/awesome-go

Curated Go frameworks and libraries.

Fresh★ 186k3119 entriesPushed yesterday
94

Awesome PHP

ziadoz/awesome-php

A curated list of amazingly awesome PHP libraries, resources and shiny things.

Fresh★ 33k87 entriesPushed 2 days ago