Astronomical source extraction and photometry library