This project is a web-based weather application built using Flask, a lightweight Python web framework. The application retrieves weather data for a specified city using the OpenWeatherMap API and displays it to the user through a simple, user-friendly interface.
- Flash: A lightweight WSGI web application framework in Python.
- OpenWeatherMap API: Provides weather data for any location in the world.
- HTML/CSS: For building the front-end user interface.
- ✓ Anaconda installed
- ✓ Basic knowledge of Python and Django
- Create environment:
conda create --name WeatherEnv
- Active the environment:
conda activate WeatherEnv
- Install Framework
pip install flask
- Install Library
pip install requests
- Create a new app:
python manage.py startapp downloader
- Run server:
python weather.py