Package: cli-weather
cli-weatherTable of Contentscli-weatherTable of ContentsIntroductionInstallationBasic UsageData sourcesDependenciesVersion HistoryHow to ContributeBug Reports and Feature RequestsDevelopingLicenseReaching OutSupport The Project :sparkling_heart:Introductioncli-weatheris 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 inpythonand powered byWeatherBIT 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.Withcli-weather appyou can retrieve current weather observations from over45,000live 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_nameBy entering postal_codeInstallationcli-weather requirespippython package manager to install.Local Installation$gitclone"https://github.com/vatsa287/cli-weather"$cdcli-weather/cli_weather
$pythonmain.py-hTarball and Wheel InstallationAnyone one of the following is sufficient. Wheel is recommended for its faster installation.TarballDownload tarball file present in high-level format with tar.gz extension from Releases tab and extract to continue withLocal InstallationWheelDownload wheel file present in binary format with .whl extension from Releases tab and extract to continue withLocal InstallationDocker ContainerContainerized version of cli-weather is present inDockerHubathttps://hub.docker.com/r/vatsa287/cli-weather. Steps to use cli-weather in a containerPull ImageLatest containerized version tag is 1.0$dockerpullvatsa287/cli-weather:1.0List ImageCheck to confirm right tag$dockerimagelsRun ContainerRun the container in interactive mode, also expose the terminal for input and --rm=true to save memory usage. Port mapping is optional.$dockerrun-it--rm=truevatsa287/cli-weather:1.0Can continue further withusage.Basic UsageNote: Airquality information will not be available from version v1.0.0 since source API is now premium.$cli-weathercommand[-h][-a][-d][-f][-cCOUNTRY][-u{M,S,I}]city_nmae/postal_codeExample :Detailed weather dataandBrief airquality datawith input mode as city_name and postal_code respectively.Features at a glancePositional and Optional arguments: v0.1.9 supports two modes of input and 5 options giving numerous cominations.CommandDescriptioncityGet weather by city namepostalcodeGet weather by postal codeOptionDescription-a, --airqualityDisplay current air quality-f, --forecastForecast on weather/airquality-c, --countryCountry of entered area-u, --unitsMetric, Scientific, Imperial-d, --detailedDisplay detailed weather data-h, --helpShow this message and exitSupported Units: v0.1.5 supports Metric,Scientific and Farenheit indices.UnitsExtensionsMCelcius, m/s, mmSKelvin, m/s, mmIF, mph, inGallery of ExamplesCheckmanualfor comprehensive demo of all possible options with examples.Data sourcesAPI : cli-weather is powered by WeatherBIT APIweatherbit.ioDependenciescli-weather requiresrequests>= 2.4 to run, comes bundled with the package.Version HistoryLatest :Description of all versions is presenthere.How to ContributeBug Reports and Feature RequestsPlease use theissue trackerto report any bugs or file feature requests.DevelopingPRs are welcome. To begin developing, do this:Clone repo and create a new branch:$ git checkout https://github.com/alichtman/stronghold -b name_for_new_branch.$gitclone"https://github.com/vatsa287/cli-weather"$gitcheckout-bname_for_new_branchMake changes and testSubmit Pull Request with comprehensive description of changesLicensecli-weather is made available underGNU LicenseCopyright 2020 ©General Public Licence v3.0.Reaching OutYou 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 :-Starring and sharing the project :rocket:You can donation via BuyMeACoffee. I'll probably buy acoffeetea. :tea:Thanks! :heart: