Lingua is a Python package that helps you find translatable texts in your code, and generate POT-file for them. Think of it as xgettext on steroids for Python.
Since the last time I wrote about Lingua a lot has happened. Most significantly support for message contxts has been added, which can be used today in Pyramid applications, more information is provided for translators, and a new API for creating extraction plugins has been added.