Using spice for geometry

The SPICE toolkit, provided by NASA JPL’s NAIF, is popular for use in orbital calculations. spiceypy provides python bindings to that toolkit.