Text this: Pyphot: A tool for computing photometry from spectra