- Displays information about the current weather condition, including weather description (like clear sky, moderate rain, and overcast clouds), humidity, cloudiness, air pressure, and temperature.
- Predicts and display the next four days weather conditions with a weather description in every 3 hours.
- Provides dynamic weather reminder (that changes every time the user refresh the App or tap the search button), as well as preparation tips.
- Can search weather information globally.
- Provides Philippine emergency hotlines in case of emergency.
- Provides some helpful information about Disaster management.
To use this project, make sure that you have Git and Python (which includes PIP) installed in your machine.
NOTE: At the time I wrote this document (January 2, 2023), Python 3.10 (and below) is the only compatible version with the required dependencies. The latest Python version can't run this application due to incompatibility with the Kivy package.
Kindly follow the instructions below:
- Use
cd
command to go to your desired directory where you want to save the repository.
- Clone this repository
$ git clone https://github.com/jeraldconstantino/realtime-weather-forecast
- Create a virtual environment.
$ python -m venv [your desired name]
$ path\to\venv\Scripts\Activate.ps1 # This will activate your environment.
- Install dependencies within your environment.
$ pip install -r requirements.txt
- Create an account with the OpenWeatherMap website.
- From that website, generate and copy the API key which can be found in your account logo.
NOTE: API key is unique to every users and must not be shared with the others.
- Paste the API key within the api.py file.
- Run the App.
- Clone repository and create a new branch:
$ git clone https://github.com/jeraldconstantino/realtime-weather-forecast
$ git checkout https://github.com/jeraldconstantino/realtime-weather-forecast -b name_for_new_branch
- Make changes and test.
- Submit Pull Request with comprehensive description of changes.
Kindly use the issue tracker to report any bugs or file feature requests.
This App was created since 2020 (although I made it available in GitHub on December, 2022) using my Android device (because I have no Laptop or PC that time) using PyDroid 3 IDE which can be downloaded from the Google Play Store. The App might not be responsive with various screen size and the UI might not be the same as shown in banner above. However, the main functionality of this App to request weather data from the OpenWeatherMap via API is working, as well as its features mentioned above.