Comparison
astral 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 astralSimple 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.
- suntime is the most used: 144.5K downloads a month.
- suntime also has the best Pythie’s Index (52).