How about a 1st party package in the stdlib? From the hip: Take an example or two from the 'python 2 or 3 standard library by example' book by a guy named Doug. Hth (really)