Skip to content

fiddlerwoaroof/sandbox

Repository files navigation

An Index of Useful or Interesting Snippets in this Repository

  • Y_combinator.py a python implementation of the Y combinator
  • compare_dicts.py a python function for comparing dictionaries
  • lazy_attributes.py a python class for lazy loading attributes
  • memoize_and_partialfuncs.py a python implementation of memoization and piecewise definition of functions
  • piecewise_function.py a better implementation of piecewise functions
  • registry.py an implementation of a registry pattern that allows the registered objects to be registered either by a "with" statement or a function call
  • pydit open a file specified by python module name (e.g. twisted.web.http) in vim
  • modpath print the path to a python module on stdout
  • a_an_checker check English text for proper usage of a/an

All code is under the Apache Licence 2.0

About

Various utilities and code snippets I have written for various occasions.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages