Skip to main content

A Python package for getting Iran's weather data, including temperature and RealFeel.

Project description

🌤️ ParsWeather – Iran's Weather Information Package 🇮🇷

ParsWeather is a Python package designed to fetch real-time weather information for cities across Iran. ☀️🌧️🌪️

With this package, you can easily get temperature, air quality, radar images, sunrise/sunset times, and more! 📡🌎


📥 Installation

You can install ParsWeather using pip:

pip install ParsWeather

🚀 How to Use

Using ParsWeather is super simple! Here’s a quick example:

from ParsWeather import WeatherForecast as wf  

# 🌡️ Get the current temperature
print(wf.get_temperature("تهران"))    
# 🤔 Get the real feel temperature  
print(wf.get_realfeel("تهران"))  
# 🍃 Get air quality status  
print(wf.get_air_quality("تهران"))
# 📊 Get air quality index (AQI) 
print(wf.get_air_quality_aqi("تهران"))
 # 🏜️ Check dust & allergen levels  
print(wf.get_dust_dander_data("تهران"))
# 🌦️ Get the full weather forecast 
print(wf.get_weather_forecast("تهران"))
 # 🛰️ Get a radar image link  
print(wf.get_radar_image_link("تهران")) 
 # 🌅 Get sunrise & sunset times  
print(wf.get_sun_times("تهران")) 
# 🔎 Detailed forecast information 
print(wf.get_forecast_details("تهران"))   
# 📍 List of supported cities 
print(wf.get_supported_cities())   
 # 🌍 Weather & AQI combined  
print(wf.get_weather_forecast_air_aqi("تهران")) 
# 🌤️ Get health activities
print(wf.get_health_activities("تهران")) 

🏆 Why Use ParsWeather?

Accurate & Up-to-Date – Always provides the latest weather data.
Easy to Use – Just a few lines of code to get detailed forecasts.
Comprehensive – Covers temperature, air quality, sunrise/sunset, radar images, and more!
Supports Persian Cities – Designed specifically for Iran! 🇮🇷


📌 Get started today and never get caught in bad weather again! ⛈️✨

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

parsweather-0.0.9.tar.gz (8.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ParsWeather-0.0.9-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file parsweather-0.0.9.tar.gz.

File metadata

  • Download URL: parsweather-0.0.9.tar.gz
  • Upload date:
  • Size: 8.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for parsweather-0.0.9.tar.gz
Algorithm Hash digest
SHA256 f776c5982327a1bbca380e0c767035aa630c1f7b362f4d6bf53320739da35a16
MD5 5fff9c4de27ab6cfce347a5c0b7a3fe8
BLAKE2b-256 1937199da62bf3d918b3057ae7d3cad813650cc75f49e2d96c88b4620cbb8249

See more details on using hashes here.

File details

Details for the file ParsWeather-0.0.9-py3-none-any.whl.

File metadata

  • Download URL: ParsWeather-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.1

File hashes

Hashes for ParsWeather-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 b6c5c5ea4ac0485502944fcca914be63cc5faac0b5f0346e431519121c15aed5
MD5 b56a2ecc9938c29062849a6f2ab2ab56
BLAKE2b-256 2a32ea2a0f408c194da846ba7dcd696d4952d319ac4ebfb8fd02179a0760207a

See more details on using hashes here.

Supported by

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