Astropy

The community-developed core Python package for astronomy, coordinates, time, units, tables, and scientific data.

Skyfield

A production-stable MIT-licensed Python library for precise positions of planets, stars, and Earth satellites.