Using the Metaweather API, make a command line tool that receives a city name as argument and says whether it’s going to rain tomorrow in this city or not. Here again, packaging and tests are optional, but always appreciated. This can be done quite shortly if you’re on a schedule and stick to the minimum.
You need to install Python 3 on your local machine and meet the following conditions:
- Clone the repository to your local machine
- In the project root directory, install and run the virtual environment
python3 -m venv venv
source venv/bin/activate
- Install requirements:
pip install -r requirements.txt
- Run script:
python3 openweather_cli.py CITY
python3 openweather_cli.py --help