fn.py
metafunctions
Our great sponsors
fn.py | metafunctions | |
---|---|---|
2 | 1 | |
3,320 | 47 | |
- | - | |
0.0 | 0.0 | |
over 1 year ago | over 1 year ago | |
Python | Python | |
Apache License 2.0 | MIT License |
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.
fn.py
-
Functional programming beyond itertools
also check fn.py lib.
-
Should python add a pipeline operator?
You can already do it with the fn library:
metafunctions
-
Should python add a pipeline operator?
The concept is lots of fun to play with however. Here's my attempt at implementing it: https://github.com/ForeverWintr/metafunctions
What are some alternatives?
Toolz - A functional standard library for Python.
funcy - A fancy and practical functional tools
Pyrsistent - Persistent/Immutable/Functional data structures for Python
Coconut - Simple, elegant, Pythonic functional programming.
CyToolz - Cython implementation of Toolz: High performance functional utilities
effect - effect isolation in Python, to facilitate more purely functional code
returns - Make your functions return something meaningful, typed, and safe!
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
icontract - Design-by-contract in Python3 with informative violation messages and inheritance
contracts - An implementation of contracts for Python.
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.