Functional-Programming-Techniques-In-Python
Coconut
Our great sponsors
Functional-Programming-Techniques-In-Python | Coconut | |
---|---|---|
11 | 27 | |
21 | 3,943 | |
- | - | |
0.0 | 9.4 | |
over 3 years ago | 10 days ago | |
Jupyter Notebook | Python | |
- | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Functional-Programming-Techniques-In-Python
- Functional python for data process
-
Python Design Patterns
https://github.com/mpkocher/Functional-Programming-Technique...
I covered a few core concepts (e.g., functions as first-class citizens, closures, partial application, etc...) and added a few real world examples of using a functional centric design. The text/format has some rough edges, but overall I think the text is useful for internalizing how to leverage a functional-ish approach.
Other resources.
https://github.com/sfermigier/awesome-functional-python
- Am I making things harder for myself by not using any OO stuff?
- Tuesday Daily Thread: Advanced questions
- Functional Programming in Python: When and How to Use It – Real Python
- In part 3 of my Write Better Python Code series, I show you how to use the strategy design pattern to write code that allows you to easily switch out parts of the code behaviour. I cover both the classic object-oriented version of the pattern, as well as a shorter functional version.
- gamla - async functional programming in python
- Should Coconut, a functional Python extension, be used in a real project yet?
-
Toolz: A functional standard library for Python
Perhaps a custom compose function can help with these use cases? This series has a few examples of composing computation in Python that might be useful.
https://github.com/mpkocher/Functional-Programming-Technique...
And there's a general list of resources here.
https://github.com/sfermigier/awesome-functional-python
- Luxurious Life Of First Class Python Functions - For Python Beginners
Coconut
- Coconut: Simple, elegant, Pythonic functional programming
-
Mojo is now available on Mac
> to be part of the Python ecosystem
I'd rather use Python if I'm in the Python ecosystem. So many attempts were made in the past to make a new language compatible with the Python ecosystem (look up hylang and coconu -- https://github.com/evhub/coconut). But at the end of the day, I'd come back to Python because if there's one thing I've learnt in recent years it's this:
minimize dependencies at all costs.
- I modified and hacked away xonsh source code
- Show HN: I mirrored all the code from PyPI to GitHub
-
Leaving Haskell Behind
Have you had a look at Coconut? I don't know if it'll push all your buttons but whenever I hear someone who's reasonably content with Python but wants more FP goodies I always think of it. https://github.com/evhub/coconut . It's basically a superset of Python3 that transpiles into Python3 and is compatible with MyPy. I don't think I'd code Python w/o it ever again assuming I had the choice. The biggest negative for me is that there's no IDE support for the language last I looked, though of course you can work with the transpiler output (plain Python) in your favorite Python IDE. It might be fun to play around with, I know that I really enjoyed it but then I got spoiled by the language+tooling of Scala3, but if you don't have that option ...
- Codon: A high-performance Python compiler
-
[2022 Day 1-7] Going for 1 language per day, looking good so far
If you're looking for suggestions I want to put forward zig lang if you like C/C++ and Coconut Lang if you like Python!
- Show HN: Programming Google Flutter with Clojure
-
What is your favourite programming language? (other than Scala)
F# and also the fun, compile-to-Python, functional language called Coconut.
What are some alternatives?
pydantic-cli - Turn Pydantic defined Data Models into CLI Tools
Toolz - A functional standard library for Python.
Pyrsistent - Persistent/Immutable/Functional data structures for Python
fn.py - Functional programming in Python: implementation of missing features to enjoy FP
ocaml-jupyter - An OCaml kernel for Jupyter (IPython) notebook
funcy - A fancy and practical functional tools
FizzBuzz Enterprise Edition - FizzBuzz Enterprise Edition is a no-nonsense implementation of FizzBuzz made by serious businessmen for serious business purposes.
returns - Make your functions return something meaningful, typed, and safe!
awesome-functional-python - A curated list of awesome things related to functional programming in Python.
effect - effect isolation in Python, to facilitate more purely functional code