astropy.units
astropy.units.equivalencies.
parallax
Returns a list of equivalence pairs that handle the conversion between parallax angle and distance.