Written in Python, dust calculates X-ray dust scattering and extinction in the intergalactic and local interstellar media.