Skip to content

Weather Wizard Pro is a new Streamlit-powered weather app launched as part of the #GrowthMindset Challenge. It offers real-time weather updates, a 5-day forecast with interactive charts, and an intuitive map for searching cities and locations. With features like responsive design, easy unit conversion, and a dark/light mode toggle, it invites users

License

Notifications You must be signed in to change notification settings

Moh-Tayyab/Growth_MindSet_Challenge

Repository files navigation

Weather Wizard 🌦️

A professional weather dashboard built with Streamlit that provides real-time weather data and forecasts using the OpenWeatherMap API.

Weather Wizard Demo

Features 🌟

  • Real-time Weather Data: Get current weather conditions for any location
  • 5-Day Forecast: View detailed weather forecasts with interactive charts
  • Interactive Map: Search locations using an interactive map interface
  • Dual Search Methods: Search by city name or map selection
  • Responsive Design: Works on desktop and mobile devices
  • Dark/Light Mode: Toggle between dark and light themes
  • Unit Conversion: Switch between metric and imperial units

Installation 🛠️

  1. Clone the repository:

    git clone https://github.com/Moh-Tayyab/Growth_MindSet_Challenge/.git
    cd Growth_MindSet_Challenge
  2. Install dependencies:

    pip install -r requirements.txt
  3. Create a .env file in the project root and add your OpenWeatherMap API key:

    OPENWEATHER_API_KEY=your_api_key_here
  4. Run the application:

    streamlit run app.py

Project Structure 📁

Growth_MindSet_Challenge/
├── app.py             # Main Streamlit application file
├── config.py          # Configuration settings (API keys, map defaults)
├── ui_components.py   # UI rendering and layout components
├── weather_utils.py   # Utilities for fetching and processing weather data
├── requirements.txt   # List of Python dependencies
├── .env              # Environment variables (git-ignored)
├── .gitignore        # Git ignore file
├── .streamlit/       # Streamlit configuration directory
│   └── secrets.toml  # Secrets file for Streamlit Cloud (git-ignored)
└── README.md         # Project documentation

Technologies Used 💻

Configuration ⚙️

The application can be configured through environment variables:

  • OPENWEATHER_API_KEY: Your OpenWeatherMap API key
  • Default map coordinates can be modified in config.py

Features in Detail 📝

Current Weather

  • Temperature
  • Humidity
  • Wind Speed
  • Weather Description
  • Weather Icon

5-Day Forecast

  • Daily Temperature Range
  • Weather Conditions
  • Humidity Levels
  • Wind Speed
  • Interactive Temperature Chart

Map Features

  • Location Search
  • Interactive Markers
  • Fullscreen Mode
  • Mouse Position Tracking
  • Drawing Tools

Contributing 🤝

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Submit a pull request

License 📄

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments 🙏

  • OpenWeatherMap for providing the weather data API
  • Streamlit team for the amazing framework
  • All contributors who help improve this project

Contact 📧

Linkedin Profile: [https://www.linkedin.com/in/ch-muhammad-tayyab/]


Made with ❤️ by Muhammad Tayyab

About

Weather Wizard Pro is a new Streamlit-powered weather app launched as part of the #GrowthMindset Challenge. It offers real-time weather updates, a 5-day forecast with interactive charts, and an intuitive map for searching cities and locations. With features like responsive design, easy unit conversion, and a dark/light mode toggle, it invites users

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages