Comparison
astral vs astronomy-engine vs skyfield vs suntime
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-engineElegant 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 skyfieldSimple sunset and sunrise time calculation python library
Maintained. Last release 3 months ago, commits in 1 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install suntimeIn 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.
- skyfield is the most used: 757.4K downloads a month.
- Maintenance is comparable: suntime 48, skyfield 44 on Pythie’s Index.
- skyfield is growing fastest: downloads +11% over the last month.
Side by side
| Metric | astral | astronomy-engine | skyfield | suntime |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 10 | Pythie’s Index: 10 | Pythie’s Index: 44 | Pythie’s Index: 48 |
| Verdict | Likely abandoned | Slowing down | Maintained | Maintained |
| Downloads / month | 2.4M | 88.8K | 757.4K | 140.1K |
| Downloads, month over month | +42% | +14% | +11% | -17% |
| GitHub stars | 292 | 1.1K | 1.8K | 122 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 101 | 6 | 152 | 13 |
| Last release | Nov 5, 2022 | Dec 14, 2023 | Aug 7, 2026 | Aug 31, 2026 |
| Releases, 12 months | 0 | 0 | 2 | 1 |
| Weeks with commits | 0 / 26 | 0 / 26 | 3 / 26 | 1 / 26 |
| Recent contributors | 2 | 4 | 4 | 12 |
| First release | Nov 2009 | Jan 2022 | Jan 2014 | Feb 2019 |
| Python versions | 3.7 – 3.10 | 3.7 | 3.7 – 3.13 | – |
| License | Apache-2.0 | MIT | MIT | LGPL-3.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.