{"library":"astral","type":"library","category":null,"description":"Astral is a Python package for calculating the times of various aspects of the sun and moon, including dawn, sunrise, noon, sunset, dusk, and moon phases. It also provides functions for solar azimuth and elevation. The library includes a self-contained geocoder for looking up location information by name. The current version is 3.2, and it maintains an active release cadence, frequently adding new features and improvements.","language":"python","status":"active","version":"3.2","tags":["astronomy","sun","moon","time","geocoder","daylight","datetime"],"last_verified":"Fri May 22","install":[{"cmd":"pip install astral","imports":["from astral.location import LocationInfo","from astral.geocoder import lookup\nfrom astral import Observer","from astral.sun import sun","from astral.moon import moonphase","from astral.geocoder import lookup, database\ncity = lookup(\"London\", database())"]}],"homepage":null,"github":"https://github.com/sffjunkie/astral","docs":"https://sffjunkie.github.io/astral","changelog":null,"pypi":"https://pypi.org/project/astral/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.5,"avg_import_s":0.07,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/astral/compatibility"}}