Comparison
astral vs astronomy-engine vs ephem vs pyswisseph
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 ephemPython extension to the Swiss Ephemeris
Slowing down. Last release over 3 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pyswissephIn 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.
- pyswisseph is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- ephem is the most used: 1.6M downloads a month.
- ephem also has the best Pythie’s Index (34).
Side by side
| Metric | astral | astronomy-engine | ephem | pyswisseph |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 10 | Pythie’s Index: 10 | Pythie’s Index: 34 | Pythie’s Index: 27 |
| Verdict | Likely abandoned | Slowing down | Low maintenance activity | Slowing down |
| Downloads / month | 2.4M | 91.4K | 1.6M | 1.3M |
| Downloads, month over month | +46% | +15% | -13% | +7% |
| GitHub stars | 292 | 1.1K | 905 | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 101 | 6 | 127 | 49 |
| Last release | Nov 5, 2022 | Dec 14, 2023 | Feb 28, 2026 | Jun 4, 2023 |
| Releases, 12 months | 0 | 0 | 1 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 1 / 26 | – |
| Recent contributors | 2 | 4 | 12 | – |
| First release | Nov 2009 | Jan 2022 | Dec 2008 | Apr 2020 |
| Python versions | 3.7 – 3.10 | 3.7 | 3.2 – 3.14 | – |
| License | Apache-2.0 | MIT | MIT | AGPL-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.