A multi-timezone digital clock application built with Kivy for Python. Displays current time for multiple cities simultaneously with NTP time synchronization support.
- Multi-Timezone Display: Shows time for multiple cities/timezones simultaneously
- 24-Hour Format: Clean, military-style time display (HH:MM:SS)
- NTP Time Sync: Automatically syncs with NTP servers on startup
- Customizable: Easy to add/remove cities and configure timezones
- Fixed Window Size: Optimized for 800x480 displays (e.g., Raspberry Pi touchscreens)
- Python 3.x
- Kivy
- pytz
- ntplib
- Clone this repository:
git clone https://github.com/jpkelly/kivyClock.git
cd kivyClock- Install dependencies:
pip install kivy pytz ntplibRun the application:
python clock.pyEdit clock.py to customize the displayed timezones. Modify the clocks_config list in the DigitalClockApp.build() method:
clocks_config = [
('San Francisco', 'America/Los_Angeles', True),
('Tokyo', 'Asia/Tokyo', True)
]Common timezone strings (see full list):
America/New_YorkAmerica/Los_AngelesEurope/LondonEurope/BerlinAsia/TokyoAsia/ShanghaiAustralia/SydneyPacific/AucklandAfrica/JohannesburgAmerica/Sao_Paulo
The default window size is 800x480 pixels. To change it, modify:
Window.size = (width, height)MIT License