Skip to content
Shreevatsa N edited this page Aug 3, 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/07/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/07/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/07/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/07/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 WeatherBIT API does not have category for aqi since its country or region specific, leveraged one from central pollution control board,India.
  • Introduced choices for units, and also alerting info when none of positional args are specified.

31/07/20

  • Introduced new optional argument -f, --forecast which gives 7 day weather forecast [for now will extend to airquality forecast by next release] with daily intervals from any point on the planet. The result can be fetched by either the city name or postalcode.
  • Forecast data from the world's most accurate weather models including the GFS 13km, ECMWF, DWD 6.5km ICON-Europe, and NOAA 3km HRRR.
  • Code reuse made for both city and postalcode by dividing functions in each class to new modules altogether.

2/09/20

  • PyPI v0.1.5 Beta is out. Is serving fast and fine.
  • New README.md is to be drafted.
  • Social media template is done and uploaded.