Weather-Application

"Weather App Landing"

Flask Weather App with 3D Scenes ☁️✨

This Flask application displays the current weather conditions and a corresponding 3D weather scene for a user-specified location.

Features:

Technologies:

Setup:

  1. Create a virtual environment and install Flask:

    python -m venv venv
    source venv/bin/activate (or venv\Scripts\activate on Windows)
    pip install Flask
    
  2. (Optional) Install Spline 3D viewer:

    npm install @splinetool/viewer
    
  3. Replace 'your_api_key' in weather.py with your OpenWeatherMap API key.

  4. Run the application:

    python app.py
    

How it Works:

The application uses Flask to handle user requests and render HTML templates. The weather data is retrieved from the OpenWeatherMap API using the weather.py module. The retrieved data is then used to display the weather information and conditionally load the corresponding 3D scene using Spline.

Note:

Further Improvements:

This project provides a foundation for building interactive weather applications with Flask and 3D visualizations. Feel free to explore and customize it further!