[Go to site: main page, start]

Python Functional programming

Open-source Python projects categorized as Functional programming

Top 23 Python Functional programming Projects

Functional programming
  1. Toolz

    A functional standard library for Python.

    Project mention: Green CI proves nothing failed. Here's a deterministic check that proves nothing regressed. | dev.to | 2026-06-19

    The seed case is commit f0831e7 in pytoolz/toolz (later reverted in PR #551). One command:

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. Coconut

    Simple, elegant, Pythonic functional programming.

    Project mention: Uncommon Uses of Python in Commonly Used Libraries | news.ycombinator.com | 2025-07-07

    Check out Coconut (https://github.com/evhub/coconut), which implements an entire functional programming language as a Python superset that compiles to Python bytecode.

  4. returns

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

  5. funcy

    A fancy and practical functional tools

  6. fn.py

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

    Project mention: A "Frozen" Dictionary for Python | news.ycombinator.com | 2025-12-11
  7. thinc

    🔮 A refreshing functional take on deep learning, compatible with your favorite libraries

    Project mention: GSoC 2026 Predictions: 30 NEW AI/ML/Security Organizations You Should Start Contributing to NOW! | dev.to | 2026-02-06

    Thinc: https://github.com/explosion/thinc

  8. PyFunctional

    Python library for creating data pipelines with chain functional programming

  9. Pyrsistent

    Persistent/Immutable/Functional data structures for Python

    Project mention: A "Frozen" Dictionary for Python | news.ycombinator.com | 2025-12-11
  10. result

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

  11. articles

    thoughts on programming

    Project mention: LLM Agents Demystified | news.ycombinator.com | 2025-11-28
  12. shell-functools

    Functional programming tools for the shell

  13. CyToolz

    Cython implementation of Toolz: High performance functional utilities

  14. Deal

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

    Project mention: Test, Don't (Just) Verify | news.ycombinator.com | 2025-12-23

    I wonder if Design by Contract or schema-first design might take off as a way of structuring AI output and allowing it to rapidly iterate toward goals. I'm starting to try these methods out for myself with AI to see where they lead. Looking into https://deal.readthedocs.io/

  15. Expression

    Functional programming for Python (by dbrattli)

  16. classes

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

  17. torchopt

    TorchOpt is an efficient library for differentiable optimization built upon PyTorch.

  18. scrapscript

    A functional, content-addressable programming language.

  19. contracts

    PyContracts is a Python package that allows to declare constraints on function parameters and return values. Contracts can be specified using Python3 annotations, or inside a docstring. PyContracts supports a basic type system, variables binding, arithmetic constraints, and has several specialized contracts and an extension API. (by AndreaCensi)

  20. icontract

    Design-by-contract in Python3 with informative violation messages and inheritance

    Project mention: Comparing Python Type Checkers: Typing Spec Conformance | news.ycombinator.com | 2026-03-16
  21. aioreactive

    Async/await reactive tools for Python 3.10+

  22. effect

    effect isolation in Python, to facilitate more purely functional code (by python-effect)

  23. funcparserlib

    Recursive descent parsing library for Python based on functional combinators

  24. contracts

    An implementation of contracts for Python. (by deadpixi)

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Functional programming discussion

Log in or Post with

Python Functional programming related posts

Index

What are some of the best open-source Functional programming projects in Python? This list will help you:

# Project Stars
1 Toolz 5,149
2 Coconut 4,337
3 returns 4,309
4 funcy 3,505
5 fn.py 3,374
6 thinc 2,889
7 PyFunctional 2,487
8 Pyrsistent 2,186
9 result 1,691
10 articles 1,585
11 shell-functools 1,243
12 CyToolz 1,110
13 Deal 898
14 Expression 752
15 classes 730
16 torchopt 631
17 scrapscript 457
18 contracts 416
19 icontract 407
20 aioreactive 401
21 effect 384
22 funcparserlib 356
23 contracts 350

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 1st most popular programming language
based on number of references?