Comparison
astral vs ephem vs skyfield
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Calculations for the position of the sun and moon.
Likely abandoned. No release or commit for years (last release over 4 years ago).
$
pip install astralCompute positions of the planets and stars
Low maintenance activity. Last release 9 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install ephemElegant astronomy for Python
Maintained. Last release 4 months ago, commits in 3 of the last 26 weeks. Weaker on commit activity and release cadence.
$
pip install skyfieldIn short
- astral looks abandoned: avoid it for new projects.
- ephem is the most used: 1.5M downloads a month.
- skyfield is better maintained: Pythie’s Index 44 against 34.
- skyfield is growing fastest: downloads +11% over the last month.