SkyCast 🌤️
SkyCast is a Python application that allows users to retrieve weather information for a specific location. It provides two main features: Today's W…
SkyCast is a Python application that allows users to retrieve weather information for a specific location. It provides two main features: Today's W…
SkyCast is a Python application that allows users to retrieve weather information for a specific location. It provides two main features: Today's Weather and Forecast Weather. Users can enter a city name, and based on their selection, they will get either the current weather or a weather forecast for the chosen location.
You can check this webapp on https://skycast.streamlit.app/
Clone the repository:
git clone https://github.com/Mrinank-Bhowmick/python-beginner-projects.git
Change the directory to the project folder:
cd python-beginner-projects/projects/Skycast
Obtain an API key from Weatherbit.
Open the skycast.py file and replace your_api_key_here with your Weatherbit API key:
self.api_key = "your_api_key_here"
Install the required Python libraries using pip:
pip install -r requirements.txt
Run the SkyCast app:
streamlit run skycast.py
By following these steps, you'll be able to use SkyCast with your own Weatherbit API key.
Choose the weather option from the sidebar: "Today's Weather" or "Forecast Weather."
Enter the name of the city for which you want to retrieve weather information.
If you select "Today's Weather," you will get the current weather details for the chosen city.
If you select "Forecast Weather," specify the number of days for the weather forecast and view the forecasted data.
Contributions to SkyCast are welcome! Here are some ways you can contribute:
Thank you for your contributions to SkyCast! 🌤️
No — it is a Streamlit web app that also makes live HTTP requests to the Weatherbit API; neither Streamlit's server nor network calls run under Pyodide.