Index | Thread | Search

From:
Mikolaj Kucharski <mikolaj@kucharski.name>
Subject:
Re: NEW: astro/py-ephem
To:
Stuart Henderson <stu@spacehopper.org>
Cc:
ports@openbsd.org
Date:
Wed, 17 Sep 2025 13:16:56 +0000

Download raw body.

Thread
  • Mikolaj Kucharski:

    NEW: astro/py-ephem

    • Mikolaj Kucharski:

      NEW: astro/py-ephem

  • On Mon, Jun 09, 2025 at 06:38:26PM +0000, Mikolaj Kucharski wrote:
    > On Mon, Jun 09, 2025 at 10:37:32AM +0100, Stuart Henderson wrote:
    > > 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.
    > > 
    > 
    > Hm.. Right. I looked into skyfield and your other ports. Very useful,
    > but skyfield and the DSP file(s) and the dependency tree are much bigger
    > than pyephem. Not sure. Disk is cheap these days, so not a big issue.
    > I've also noticed that execution of skyfield is slower than pyephem,
    > but also not a big issue. I am okay to be a maintainer for pyephem,
    > if that helps. I think I need time to decided what I want and iterate
    > over the software a bit.
    > 
    
    Anything which would allow me to show or calculate sunrise and sunset
    on OpenBSD would be useful for me. Could you import kosmorro and related
    dependencies into ports tree, Stuart?
    
    I tested it at the time, when you send it and it worked well.
    
    -- 
    Regards,
     Mikolaj
    
    
  • Mikolaj Kucharski:

    NEW: astro/py-ephem