suncalcPy
suncalcPy copied to clipboard
A python implementation of the SunCalc javascript library.
import suncalc import datetime print(suncalc.getMoonTimes(datetime.now(), 37.7749, -122.4194)) when run this program return this error how to solve this "AttributeError: module 'suncalc' has no attribute 'getMoonTimes'" ?
Hi, this library is perfect for a project I have in mind, it's lightweight and small. However, there are a few open issues and pull requests, plus a variety of...
First of all thank you for this cool and short routine to determine sun and moon data. I noticed, that the moon-set date remains on the same day if it...
Changes to two lines to fix errors that pop up when trying to execute this code, I believe one is just a Python 2 / 3 compatibility issue (3 requires...
I am using this nice python script but validating results against: * https://www.timeanddate.com/moon/cuba/havana * https://www.metcheck.com/OTHER/moontimes.asp?LocationID=315453&Location=Havana or other internet sites there are differences bigger than 3 or even 5 minutes.