Skip to main content

A CLI utility for retrieving weather information.

Project description

wxcast

A CLI utility for retrieving weather information.

Build Status

wxcast decoded metar

Overview

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.

Installation

pip install wxcast

Requirements

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

Test Requirements

  • flake8
  • pytest
  • pytest-cov
  • vcrpy

Docs

Issues/Enhancements

Please submit issues and requests to Github.

Contributing

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

License

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.

Source Distribution

wxcast-2.0.0.tar.gz (51.0 kB view details)

Uploaded Source

Built Distribution

wxcast-2.0.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file wxcast-2.0.0.tar.gz.

File metadata

  • Download URL: wxcast-2.0.0.tar.gz
  • Upload date:
  • Size: 51.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for wxcast-2.0.0.tar.gz
Algorithm Hash digest
SHA256 ad0ae616c4ee357ff590eb930a2f13738bfff1fc361cac3f15baf147531a7d16
MD5 9356f8fa15476e29c8e216d4fe89db04
BLAKE2b-256 bf17512a345ed10c7e859c3999590013a8dcd8c88f08f90f6d3f61eb55b092fb

See more details on using hashes here.

File details

Details for the file wxcast-2.0.0-py3-none-any.whl.

File metadata

  • Download URL: wxcast-2.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for wxcast-2.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b5ec3bc400fb465cc42c9d54743c423d3011f7a21bb387723d8c9f49c6513725
MD5 6431435bcfe63c6a6b081fd769e2ffce
BLAKE2b-256 04267d7505a791546b672ff644bba709881436bea32a465b322bbf99dc3e7aff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page