Comparison
astral vs ephem 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 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 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.
- ephem is the most used: 1.5M downloads a month.
- suntime is better maintained: Pythie’s Index 48 against 34.
- skyfield is growing fastest: downloads +11% over the last month.
Side by side
| Metric | astral | ephem | skyfield | suntime |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 10 | Pythie’s Index: 34 | Pythie’s Index: 44 | Pythie’s Index: 48 |
| Verdict | Likely abandoned | Low maintenance activity | Maintained | Maintained |
| Downloads / month | 2.4M | 1.5M | 757.4K | 140.1K |
| Downloads, month over month | +42% | -15% | +11% | -17% |
| GitHub stars | 292 | 905 | 1.8K | 122 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 101 | 127 | 152 | 13 |
| Last release | Nov 5, 2022 | Feb 28, 2026 | Aug 7, 2026 | Aug 31, 2026 |
| Releases, 12 months | 0 | 1 | 2 | 1 |
| Weeks with commits | 0 / 26 | 1 / 26 | 3 / 26 | 1 / 26 |
| Recent contributors | 2 | 12 | 4 | 12 |
| First release | Nov 2009 | Dec 2008 | Jan 2014 | Feb 2019 |
| Python versions | 3.7 – 3.10 | 3.2 – 3.14 | 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.