Comparison
astral vs astronomy-engine vs ephem
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 astralAstronomy calculation for Sun, Moon, and planets.
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
$
pip install astronomy-engineCompute 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 ephemIn short
- astral looks abandoned: avoid it for new projects.
- astronomy-engine is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- ephem is the most used: 1.5M downloads a month.
- ephem also has the best Pythie’s Index (34).
Side by side
| Metric | astral | astronomy-engine | ephem |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 10 | 10 |