HLED is a crossplatform highlight editor where the user can read text files and highlight words and phrases based on regular expressions.
The solution seemed easier than I first thought, as it turned out that the python date object already had a .isocalendar()-method that returns a tuple with year, week and weekday according to the ISO 8601 standard. However the oposite direction was not implemented, but as you see in source:trunk/py8601.py@5#L90 it is not that hard at all. As each week is of a fixed size, we just need to establish a reference, say January 1st and then add or substract the correct ammount of days....
pylibdv is a python wrapper for libdv.
Also available in: Atom