I'm new to python and Raspberry Pi, and I'm not sure where to look for available python libraries. Please pardon me if this is a question I should not have wasted forum users' time with. I am looking for a python library that can compute this basic function:
Given the information:
Compute the following:
Time when the sun is at -18 degrees (below horizon) before sunrise
Time when the sun is at 0 degrees (time of sunrise)
Time when the sun is at 0 degrees (time of sunset)
Time when the sun is at -18 degrees (below horizon) after sunset
Does a library capable of this exist? I'm hoping to use it to program a cat feeder to feed my cats based on their circadian rhythm, and have it compute feeding times based on the sun's trajectory for that day.