Skip to main content

A CLI utility for retrieving weather information.

Project description


A CLI utility for retrieving weather information.

Build Status

wxcast decoded metar


Provides weather information in terminal:

  • Weather text information from NWS API.
  • METAR info from NWS API.
  • Seven day forecasts based on location using geopy and NWS API.


pip install wxcast


  • certifi
  • Click>=6.0
  • geopy
  • requests
  • metar

Test Requirements

  • flake8
  • pytest
  • pytest-cov
  • vcrpy



Please submit issues and requests to Github.


Contributions to wxcast are welcome and encouraged. See CONTRIBUTING for info on getting started.


Copyright (c) 2021 Sean Marlow.

Distributed under the terms of MIT license, see LICENSE for details.

v2.0.0 (2021-03-25)

  • Fix metar functions.
  • Add temp unit option to metar and conditions.
  • Migrate to GitHub actions.
  • Use F strings.
  • New route, get stations for WFO.
  • New route, get station info.
  • New route, get WFO info.
  • New route, get conditions (alias to decoded metar).
  • Consolidate and update documentation.

v1.4.0 (2018-09-18)

  • Move docs to GitHub Pages.
  • Add endpoint to retrieve the list of WFOs.
  • Migrate license back to MIT.
  • Remove f'strings and use ordered dict to support py3.4 and 3.5.

v1.3.1 (2018-06-15)

  • Fix tag location.

v1.3.0 (2018-06-15)

  • Switch to ArcGIS for geocoding.
  • Cleanup exception messages.
  • Fix metar and products API.

v1.2.3 (2018-06-04)

  • Fix tests for geopy changes.
  • Make readme gif url absolute for use in pypi.

v1.2.2 (2018-06-04)

  • Add long description content type to setup.

v1.2.1 (2018-02-19)

  • Convert docs to md for PyPI compatibility.

v1.2.0 (2018-02-18)

  • Remove asserts.
  • Account for dictionary values in decoded metar.

v1.1.0 (2017-12-01)

  • Update readme.
  • Cleanup exception handling.
  • Add unit and integration tests with vcrpy.
  • Cleanup flake8 warnings.
  • Add config for travis integration testing.

v1.0.6 (2017-09-24)

  • Remove docs directory.
  • Fix manifest.

v1.0.5 (2017-09-24)

v1.0.4 (2017-09-24)

  • Fix license trove classifier.

v1.0.3 (2017-09-24)

  • Remove universal flag from setup config.

v1.0.2 (2017-09-24)

  • Fix doc extensions in setup.

v1.0.1 (2017-09-24)

  • Fix manifest.

v1.0.0 (2017-09-24)

  • Cleanup flake8 warnings.
  • Remove config in favor of geopy to get location for seven day forecast.
  • Migrate to f'{strings}'
  • Migrate to adoc from rst.
  • Cleanup code.
  • Update readme and docs.

v0.3.0 (2017-08-09)

  • Remove cert and use certifi for NWS API.
  • Convert elevation to feet.

v0.2.1 (2017-08-09)

  • Attempt to fix cert.

v0.2.0 (2017-08-08)

  • Attempt to fix cert.

v0.1.0 (2017-01-14)

  • First release on PyPI.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wxcast, version 2.0.0
Filename, size File type Python version Upload date Hashes
Filename, size wxcast-2.0.0-py3-none-any.whl (13.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wxcast-2.0.0.tar.gz (51.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page