Basic package to get the current temperature of Slovenians cities.
Project description
☁️ Arso2weather
🤔 What is it?
-
Arso2weather is a small package that allows you to look up the current temperature of most Slovenian cities
-
It can also output sunrise/sunset of Slovenian cities
-
Temperature is displayed in Celsius (C°)
-
The package is using ARSO Vreme data
Installation
pip3 install arso2weather
Usage
from arso2weather import Arso2Weather
city = Arso2Weather("Ljubljana")
temp = city.weather_temp()
sunrise = city.sunrise()
sunset = city.sunset()
all_cities_temp = Arso2Weather().all_weather_temp()
print(temp, sunrise, sunset)
print(all_cities_temp)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
arso2weather-0.4.0-py3.11.egg
(5.5 kB
view hashes)