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

Welcome to the cli-weather wiki! This is a log of the development progress of the project.

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

  • Introduced new sub-command named postalcode, which helps to get weather data similar to that of city subparser but based on given postalcode.
  • Added 'snowfall' data under --detailed optional argument section.
  • Introduced RawTextHelpFormatter in help section for better alignment of help message.

28/08/20

  • Rigorous local testing with testpypi.org. All builds failed. Had issues with long_description tag in PyPI setup.py file.
  • 2 build failed versions in pypi.org namely v0.1.0 and v0.1.1 under 3 alpha test release.

29/08/20

  • Working v0.1.2 3 alpha test release in pypi.org
  • Finally compatible with py2 and py3. Had issues in modular imports earlier when tested with py3 installed docker container.
  • Updated readme.md both in pypi.org and github.com

30/08/20

  • Completed working and publishing new v0.1.3 release with new features.
  • Introduced new -a or --airquality subcommand to give air quality data on anywhere on planet.
  • With combination of -a and -d gives complete data on so2,no2,co and many more pollutant concentration information along with the risk status based on the aqi since the WeatheBIT API does not have category for aqi since its country or region specific, leveraged one from cental pollution control board.
  • Introduced choices for units, and also alerting info when none of positional args are specified.
Clone this wiki locally