Skip to content
Shreevatsa N edited this page Jul 28, 2020 · 10 revisions

Welcome to the cli-weather wiki!

25/07/2020

When I started using cli-based OS during my labs for the first time, was always curious on knowing to build my own commands like 'ls'. This side-project is one such instance where I am learning argparse, PyPI, creating own Docker Image and many more.

I made use of free-version of WeatherBIT API which serves one port at time, but gives lots of feature-studded responses, actually more than what I needed.

This project is still in early phases, as I have just decided its architecture using subparsers. Will add more features in coming days.

26/07/2020

-Introduced subparsers and main, feature-based separate scripts just to make sure it becomes easier to scale-up later on.
-Added -u,--units option to get results on various different unit styles.
-Also added -d,--detailed option to get detailed (almost everything required) for daily weather precautions and informations. From solar-radiation to UV exposure.

27/08/20

  • Added 'snowfall' data under --detailed optional argument section.
  • Introduced RawTextHelpFormatter in help section for better alignment of help message.
Clone this wiki locally