General programming stuff that can probably be translated to another language if need be.
- color.py: rgb/hsv conversion, and generator of visually different colors
- file_is_binary.py: identifies whether a file is binary or plaintext
- matrix_to_quaternion.c: builds a quaternion from a matrix (from Id Software)
- stringify.c: preprocessor trick to get
#variableto quote the value
- TextLoader.java: UTF-8 decoder that fallbacks on Latin-1 on error
- debugmt.py: metaclass that logs all the instances' method calls
- ipython_callbacks.py: wrapper for IPython.parallel.Client with thread-safe future callbacks
- ipython-errors.py: routines for formatting RemoteErrors
- pickleable_staticmethods: metaclass making instance methods pickleable
- QtWrapper.py: compatibility layer allowing transparent use of PyQt4 or PySide
Useful utilities not intended to be put in other software.
- rename.sh: mass file renaming with a regex
- timeprefix.py: prefixes each line of input with the time elapsed (for use in pipes)
- cygwin_wrapper: allows to place an
shbinary on the Windows PATH that runs through Cygwin