I just uploaded the new release of gpx2svg, the GPX to SVG converter. There's only one change, but it should increase speed and lower memory consumption a lot: when the drawing instructions for a segment are created, we don't assemble one probably huge single string containing it, but use a generator function instead.
Been a long time since the last release (back in 2012!). So it was about time: I just uploaded the new version of serienbrief, the LaTeX form letter creator. From the ChangeLog:
New feature (it's only one ;-):
Added the possibility to define custom output file names via the newly introduced "--outpattern" option.
Bugfixes/Changes:
Skip empty lines in the database file.
Fixed problems with Windows style line ends in database files on Windows.
Overall code cleanup/sanitization.
Thanks to Thorsten Grothe for bug reporting and beta testing!
If one wants to subclass a Python string and add the above function, this can be done e. g. like so (subclassing a string is a bit tricky, as one needs to mess with the __new__ function instead of the "normal" __init__ one):
>>> someString = NewString(' a lot of tabs and spaces ')
>>> someString
'\ta lot of tabs\tand spaces '
>>> someString.simplified()
'a lot of tabs and spaces'