Skip to main content

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


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.3.0-py3.10.egg (4.6 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page