Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rossdylan/utils
Personal utility libraries for python
https://github.com/rossdylan/utils
Last synced: about 1 month ago
JSON representation
Personal utility libraries for python
- Host: GitHub
- URL: https://github.com/rossdylan/utils
- Owner: rossdylan
- Created: 2013-02-02T22:57:20.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-04-09T17:42:47.000Z (over 11 years ago)
- Last Synced: 2024-08-01T22:57:05.296Z (3 months ago)
- Language: Python
- Size: 121 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.txt
Awesome Lists containing this project
README
utils.fun
@curry(int)
A decorator that lets your functions support function currying by default with out have to explicitly
wrap them using funtools.partial
_ (underscore)
A class that equals whatever you compare it to
_ == 3 -> True
_ == "Test" -> True
[_] == [1] -> Trueutils.pipelines
PipeLine(*funcs, **kwargs)
Create a pipeline out of the given functions, and give them extra arguments using kwargs
ReducePipeline(*funcs, **kwargs)
Does the same thing as PipeLine only instead of building the pipeline recursively it does it using reduce()