Source Extraction and Photometry in Python