Skyfield is a Python package that calculates the positions of celestial objects such as stars, planets, and satellites in relation to the Earth. Its accuracy is within 0.0005 arcseconds of the data generated by the United States Naval Observatory and the Astronomical Almanac. It is written in pure Python and can be easily installed without any compilation. Skyfield is compatible with Python 2.6, 2.7, and 3, and relies on NumPy for efficient scientific computing. With just a few lines of code, users can calculate the position of Mars from Earth. Skyfield can also compute coordinates specific to a user’s location on Earth’s surface. Although it does not depend on the AstroPy library, Skyfield can accept AstroPy time objects and return results in AstroPy units.
https://rhodesmill.org/skyfield/