Serpent refactoring: collection of well known refactoring techniques translated into Python.