Comparison
astral vs ephem vs PyMeeus 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 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 ephemPython implementation of Jean Meeus astronomical routines
Low maintenance activity. Last release over 3 years ago, commits in 6 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install pymeeusPython 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.
- pyswisseph is slowing down (last release over 3 years ago): fine for existing code, risky for a new project.
- PyMeeus is the most used: 3.5M downloads a month.
- Maintenance is comparable: PyMeeus 37, ephem 34 on Pythie’s Index.
- PyMeeus is growing fastest: downloads +11% over the last month.
Side by side
| Metric | astral | ephem | PyMeeus | pyswisseph |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 10 | 34 |