Streamlit web-app for a weather forecast predictor using Python.
Streamlit has been used to design a web-app that allows the user to check the weather forecast for a particular place for a period of 1-5 days. The user has to enter a place of his/her choice and can view either the temperature graph or sky forecast.
For temperatures, a line graph is displayed which gives a plot of the temperature on a particular date. The user can understand and visualize the temperature variation. For a sky forecast, images of the sky condition are rendered as per the time period.
The followed libraries have been utilized:
1. Streamlit
2. Plotly Express
3. Pillow
The installation commands are:
pip install plotly
pip install Pillow
The API filtered by city name has been used. A backend function has been developed to facilitate the processing of user requests and serve the corresponding responses.
The above image shows the line graph that gives the temperature forecast. The slidre can be adjusted to determin the number of days for display.
The above image shows the images that help represent the sky forecast. The slidre can be adjusted to determin the number of days for display.