name | mode | size |
---|---|---|
unsorted | 040000 | |
COPYING | 100644 | 1 kb |
README.markdown | 100644 | 1 kb |
Y_combinator.py | 100644 | 2 kb |
a.yml | 100644 | 2 kb |
b.yml | 100644 | 2 kb |
c.yml | 100644 | 2 kb |
chain.py | 100644 | 2 kb |
chainaa.py | 100644 | |
compare_dicts.py | 100644 | 2 kb |
dupkeydict.py | 100644 | 3 kb |
hier.py | 100644 | 3 kb |
lazy_attributes.py | 100644 | 2 kb |
memoize_and_partialfuncs.py | 100644 | 3 kb |
modpath | 100755 | 2 kb |
piecewise_function.py | 100644 | 2 kb |
put_str.py | 100644 | 2 kb |
pydit | 100755 | 2 kb |
registry.py | 100644 | 4 kb |
splitsnippets.py | 100644 | 2 kb |
unittest_skeleton.py | 100644 | 2 kb |
# A Repository for storing useful snippets of code that I have written
## nothing is guaranteed to work, be useful, or use best practices :)
- [Y_combinator.py](Y_combinator.py) a python implementation of the Y combinator
- [compare_dicts.py](compare_dicts.py) a python function for comparing dictionaries
- [lazy_attributes.py](lazy_attributes.py) a python class for lazy loading attributes
- [memoize_and_partialfuncs.py](memoize_and_partialfuncs.py) a python implementation of memoization and piecewise definition of functions
- [piecewise_function.py](piecewise_function.py) a better implementation of piecewise functions
All code is under the Apache Licence 2.0