vatsa287 / cli-weather

Lightweight command line app to get fast real-time weather data right on the command line
https://pypi.org/project/cli-weather/0.1.5/
GNU General Public License v3.0
15 stars 4 forks source link
argparse cli cli-app docker-image hacktoberfest hacktoberfest-2023 hacktoberfest-2023-accepted hacktoberfest2023 hactoberfest-accepted pip pypi python pythonapp utilities weather-data

BuiltWithPython

cli-weather Downloads


PyPI - Status PyPI - Wheel GitHub issues GitHub code size in bytes Docker Pulls


Table of Contents


Introduction

cli-weather is a command line app to get instant real-time weather data by city name or postalcode from any corner on earth right on the command line.

Written in python and powered by WeatherBIT API, cli-weather also provides detailed weather data, air-quality data and forecasts for next 7 days with 24 hour intervals for weather and 3 days forecast with 12 hour intervals for air-quality.

With cli-weather app you can retrieve current weather observations from over 45,000 live weather stations using WeatherBIT API, and highly localized weather forecasts for any point on the globe using the world's most trusted weather models such as GFS 13km, ECMWF, DWD 6.5km ICON-Europe, and NOAA 3km HRRR.!

You can look up weather data any of the following means:

  • By entering city_name
  • By entering postal_code

Installation

cli-weather requires pip python package manager to install.


Basic Usage

Note: Airquality information will not be available from version v1.0.0 since source API is now premium.

$ cli-weather command [-h] [-a] [-d] [-f] [-c COUNTRY] [-u {M,S,I}] city_nmae/postal_code

Example : Detailed weather data and Brief airquality data with input mode as city_name and postal_code respectively.



Data sources

API : cli-weather is powered by WeatherBIT API


Dependencies


Version History

Latest : PyPI

Description of all versions is present here.


How to Contribute

Bug Reports and Feature Requests

Please use the issue tracker to report any bugs or file feature requests.

Developing

PRs are welcome. To begin developing, do this:

  1. Clone repo and create a new branch:
$ git clone "https://github.com/vatsa287/cli-weather"
$ git checkout -b name_for_new_branch
  1. Make changes and test
  2. Submit Pull Request with comprehensive description of changes

License

License

cli-weather is made available under GNU License

Reaching Out


You can connect with me here!


Support The Project :sparkling_heart:

I open-source almost everything I can, and I try to reply to everyone needing help using these projects. Obviously, this takes time. You can use this service for free.

However, if you are using this project and happy with it or just want to encourage me to continue creating stuff, there are few ways you can do it :-

Thanks! :heart: