The dust_attenuation package provides a suite of dust attenuation models. Which model to use can depend on the wavelength range of interest, the expected type of attenuation, type of galaxy, or some other property.
dust_attenuation