astral
astral copied to clipboard
Python calculations for the position of the sun and moon.
Hello. After installing astral with pip3 command (pip3 list returns --> astral 2.2 ), I cannot move forward from the code: `#!/usr/bin/env python3 from astral import LocationInfo ` as I...
Example now run in Python Shell without Error
Example under Timezones group >>> from astral.geocoder import group >>>europe = group("europe") Traceback (most recent call last): File "", line 1, in europe = group("europe") TypeError: group() missing 1 required...
Hi, I would like to use Astral for daylight calculations. I installed Astral with conda-forge (my conda version is 4.8.2) and I got Astral version 1.9.2. How can I get...
Hello, Thanks for this great module! I would like to request better error handling for this project. As it stands, whenever anything goes wrong in the module only a ValueError...
my application call this funtion every day at 00:01 to update the dusk-dawn data: ``` def init_light_schedule(): city = LocationInfo("Tromsø", "Norway", "Europe/Tromsø", 69.66, 18.82) s = sun(city.observer) # , s=datetime.date(2021,...
Are there any plan to support MicroPython with a `uastral` version?
This function can also be written a lot more simply. [ldo-julianday.patch.txt](https://github.com/sffjunkie/astral/files/5720478/ldo-julianday.patch.txt) However, I am little uncertain as to the correctness of the value. I have other code that returns a...
This function can be written a lot more simply. [ldo-proper-angle.patch.txt](https://github.com/sffjunkie/astral/files/5720473/ldo-proper-angle.patch.txt)
The US cities list should include large cities: San Diego,29.4724°N 98.5251°W San Antonio, 29.4724°N 98.5251°W San Jose, 37.2967°N 121.8189°W Fort Worth, 32.7815°N 97.3467°W El Paso, 31.8484°N 106.4270°W Tucson,32.1531°N 110.8706°W Fresno,36.7836°N...