Download raw body.
NEW: astro/py-ephem
On 2025/06/09 09:21, Mikolaj Kucharski wrote: > Hi. > > I needed to get info about sunrise and sunset. I am aware of py3-astral > but wanted to compare both, ephem and astral. Given the warnings on https://rhodesmill.org/pyephem/, I'm wondering if this is really a good idea to import unless there's some other software intended to be ported that needs it? Skyfield (largely from the same author and more actively developed) generally seems a better idea, for sunrise and sunset calcs see e.g. https://techoverflow.net/2022/06/19/how-to-compute-sunrise-sunset-in-python-using-skyfield/ If it is still worthwhile, here's a slightly tweaked version.
NEW: astro/py-ephem