{"library":"suntimes","type":"library","category":null,"description":"The `suntimes` library (version 1.1.2) provides functions to calculate sunrise and sunset times for a given geographical location (longitude, latitude, altitude) and day. It returns times in UTC and local time, handles polar day/night scenarios, and can generate yearly timetables in JSON or CSV format. It is actively maintained and has a steady release cadence for minor updates.","language":"python","status":"active","version":"1.1.2","tags":["astronomy","time","date","sunrise","sunset","geography","location","datetime"],"last_verified":"Tue May 26","install":[{"cmd":"pip install suntimes","imports":["from suntimes import SunTimes","from suntimes import SunFiles","import datetime"]}],"homepage":null,"github":"https://github.com/p-mathis/suntimes","docs":null,"changelog":null,"pypi":"https://pypi.org/project/suntimes/","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.8,"avg_import_s":0.17,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/suntimes/compatibility"}}