Add sunrise and sunset calculations for Seinäjoki in init.py; update requirements.txt

This commit is contained in:
Aaro Varis
2026-01-15 10:12:46 +02:00
parent a2e5da953a
commit 44cf72caed
2 changed files with 10 additions and 1 deletions

10
init.py
View File

@@ -1 +1,9 @@
print("testi")
from astral import Astral
CITY_NAME = "Seinäjoki"
a = Astral()
city = a[CITY_NAME]
print(f"Sunrise in {CITY_NAME}: {city.sunrise()}")
print(f"Sunset in {CITY_NAME}: {city.sunset()}")

View File

@@ -0,0 +1 @@
astral