Python Functional programming

Open-source Python projects categorized as Functional programming

Top 23 Python Functional programming Projects

Functional programming
  • Toolz

    A functional standard library for Python.

  • Project mention: Ask HN: How can I get better at writing production-level Python? | news.ycombinator.com | 2023-07-18
  • Scout Monitoring

    Free Django app performance insights with Scout Monitoring. Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.

    Scout Monitoring logo
  • Coconut

    Simple, elegant, Pythonic functional programming.

  • Project mention: Coconut: Simple, elegant, Pythonic functional programming | news.ycombinator.com | 2023-11-27
  • returns

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

  • Project mention: This Week in Python (February 23, 2024) | dev.to | 2024-02-23

    returns – Make your functions return something meaningful, typed, and safe

  • fn.py

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

  • funcy

    A fancy and practical functional tools

  • Project mention: Funcy: Fancy and practical functional tools [Python] | news.ycombinator.com | 2024-03-04
  • thinc

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

  • Project mention: JAX – NumPy on the CPU, GPU, and TPU, with great automatic differentiation | news.ycombinator.com | 2023-09-28

    Agree, though I wouldn’t call PyTorch a drop-in for NumPy either. CuPy is the drop-in. Excepting some corner cases, you can use the same code for both. Thinc’s ops work with both NumPy and CuPy:

    https://github.com/explosion/thinc/blob/master/thinc/backend...

  • PyFunctional

    Python library for creating data pipelines with chain functional programming

  • Project mention: Python: Uncovering the Overlooked Core Functionalities | news.ycombinator.com | 2023-07-24

    If you actually think this code is better there's a real library that does this: https://github.com/EntilZha/PyFunctional.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • Pyrsistent

    Persistent/Immutable/Functional data structures for Python

  • articles

    thoughts on programming

  • Project mention: Internals of the async/await pattern from first principles | news.ycombinator.com | 2024-03-19

    Thanks for the feedback! My code snippets in the article don't use any real/existing language. C# for example, is quite explicit with the transformation of generated to state machines, but also does not provide such methods, as far as I know. I've just added a comment explaining this choice: https://github.com/Dobiasd/articles/commit/f44b897f2a4d20aa9...

  • result

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

  • Project mention: Ask HN: Anyone looking for contributors for their open source projects | news.ycombinator.com | 2024-03-21

    https://github.com/rustedpy/result

    Small Python library, slowly and steadily growing in use.

  • shell-functools

    Functional programming tools for the shell

  • CyToolz

    Cython implementation of Toolz: High performance functional utilities

  • Deal

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

  • classes

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

  • torchopt

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

  • Expression

    Pragmatic functional programming for Python inspired by F# (by dbrattli)

  • 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)

  • effect

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

  • contracts

    An implementation of contracts for Python. (by deadpixi)

  • aioreactive

    Async/await reactive tools for Python 3.11+

  • funcparserlib

    Recursive descent parsing library for Python based on functional combinators

  • icontract

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

  • python-lenses

    A python lens library for manipulating deeply nested immutable structures

  • SaaSHub

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

    SaaSHub logo
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

  • Ask HN: How can we open-source a 7 year old SaaS codebase and build a community?

    2 projects | news.ycombinator.com | 30 May 2024
  • Internals of the async/await pattern from first principles

    2 projects | news.ycombinator.com | 19 Mar 2024
  • Funcy: Fancy and practical functional tools [Python]

    1 project | news.ycombinator.com | 4 Mar 2024
  • This Week in Python (February 23, 2024)

    5 projects | dev.to | 23 Feb 2024
  • Python Functional Programming with returns library (type-safety, monads, etc.)

    1 project | news.ycombinator.com | 19 Feb 2024
  • Coconut: Simple, elegant, Pythonic functional programming

    1 project | news.ycombinator.com | 27 Nov 2023
  • Roc – A fast, friendly, functional language

    4 projects | news.ycombinator.com | 20 Nov 2023
  • A note from our sponsor - Scout Monitoring
    www.scoutapm.com | 17 Jun 2024
    Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today. Learn more →

Index

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

Project Stars
1 Toolz 4,551
2 Coconut 3,986
3 returns 3,353
4 fn.py 3,340
5 funcy 3,296
6 thinc 2,804
7 PyFunctional 2,357
8 Pyrsistent 1,993
9 articles 1,573
10 result 1,407
11 shell-functools 1,176
12 CyToolz 977
13 Deal 706
14 classes 645
15 torchopt 503
16 Expression 413
17 contracts 398
18 effect 365
19 contracts 343
20 aioreactive 340
21 funcparserlib 338
22 icontract 330
23 python-lenses 299

Sponsored
Free Django app performance insights with Scout Monitoring
Get Scout setup in minutes, and let us sweat the small stuff. A couple lines in settings.py is all you need to start monitoring your apps. Sign up for our free tier today.
www.scoutapm.com