arso2weather-1.0.1
توضیحات
Basic package to get the current temperature of Slovenians cities.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | Unix |
| نام فایل | arso2weather-1.0.1 |
| نام | arso2weather |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Sven Ulcar |
| ایمیل نویسنده | <sven.ulcar@gmail.com> |
| آدرس صفحه اصلی | https://github.com/svenko99/arso2weather |
| آدرس اینترنتی | https://pypi.org/project/arso2weather/ |
| مجوز | - |
# ☁️ 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](https://meteo.arso.gov.si/uploads/probase/www/observ/surface/text/sl/observationAms_si_latest.xml) 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)
```
نیازمندی
| مقدار | نام |
|---|---|
| - | requests |
نحوه نصب
نصب پکیج whl arso2weather-1.0.1:
pip install arso2weather-1.0.1.whl
نصب پکیج tar.gz arso2weather-1.0.1:
pip install arso2weather-1.0.1.tar.gz