Standalone version of astropy.photutils