A CLI based program that returns the weather of a said day.
- Clone this directory.
- Create a virtual environment.
- On Linux, you can do this by running the following commands:
virtualenv venv
source venve/bin/activate
- On Linux, you can do this by running the following commands:
- Install the packages in
requirements.txt
:pip install -r requirements.txt
(Use 'pip3' instead of 'pip' if you are on Python3)
- Run the program:
python -m main
(Use 'python3' instead of 'python' if you are on Python3)
Given a dataset of weather readings of Muree, Pakistan:
- Read the dataset & parse it.
- Store the data in an appropriate data structure
- Write a program that accepts a time, and return the corresponding weather reading.
We will be storing the weather readings in the following format:
weather = {
'year': {
'month': {
'day': ['max_temp', 'mean_temp', 'min_temp']
}
}
}