A simple Python -> Source Extractor interface