diff --git a/init.py b/init.py index e496923..23f200b 100644 --- a/init.py +++ b/init.py @@ -1 +1,9 @@ -print("testi") \ No newline at end of file +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()}") + diff --git a/requirements.txt b/requirements.txt index e69de29..4df26ac 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1 @@ +astral \ No newline at end of file