Python Functional programming

Open-source Python projects categorized as Functional programming

Top 23 Python Functional programming Projects

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

    Simple, elegant, Pythonic functional programming.

  • Project mention: Coconut: Simple, elegant, Pythonic functional programming | news.ycombinator.com | 2023-11-27
  • 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
  • fn.py

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

  • 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

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

  • SaaSHub

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

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

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

  • Expression

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

  • effect

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

  • contracts

    An implementation of contracts for Python. (by deadpixi)

  • funcparserlib

    Recursive descent parsing library for Python based on functional combinators

  • aioreactive

    Async/await reactive tools for Python 3.11+

  • 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 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 4,521
2 Coconut 3,951
3 fn.py 3,320
4 returns 3,290
5 funcy 3,272
6 thinc 2,794
7 PyFunctional 2,334
8 Pyrsistent 1,983
9 articles 1,571
10 result 1,363
11 shell-functools 1,168
12 CyToolz 971
13 Deal 691
14 classes 641
15 torchopt 497
16 contracts 397
17 Expression 397
18 effect 365
19 contracts 343
20 funcparserlib 337
21 aioreactive 334
22 icontract 330
23 python-lenses 296

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