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