Preparing for system design interviews?  Try bugzed.com →

SunTimes - Sunrise and Sunset Calculation

JSON →
library 1.1.2 ·python
verified Jun 28, 2026

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.

total hits 10
actors 4 distinct systems
last hit 19d ago AhrefsBot
GPTBot
4
Script
1

top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany · 🇬🇧 United Kingdom