Skip to main content

Get weather information for a specified address

Project description

skysniff Build Status

Skysniff pulls weather information from the National Weather Service, and prints it to your terminal.

Basic usage: skysniff [-a] daily or skysniff [-a] hourly

You can store the a default address in a config file, or pass -a to have it ask for an address.

Installation

$ pipx install skysniff

Usage

$ cat ~/.config/skysniff/address.txt
Montello & Centre St, 02302
$ skysniff hourly
12AM 21°F, Mostly Cloudy, winds 5 mph
[...]
11AM 33°F, Mostly Sunny, winds 8 mph

$ skysniff daily -a
Address: Penn Ave & Negley Ave, Pittsburgh, PA
Overnight
---------
Mostly cloudy. Low around 26, with temperatures rising to around 32 overnight. Southwest wind around 6 mph.

[...]

Storing your address

By default, skysniff will try to read your address from the address configuration file.

If the environment variable $XDG_CONFIG_HOME is defined, skysniff uses $XDG_CONFIG_HOME/skysniff/address.txt. Otherwise, it uses ~/.config/skysniff/address.txt.

(Usually these are equivalent.)

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/duckinator/skysniff. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The code for skysniff is available as open source under the terms of the MIT License.

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

skysniff-1.0.0.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

skysniff-1.0.0-py3-none-any.whl (6.0 kB view details)

Uploaded Python 3

File details

Details for the file skysniff-1.0.0.tar.gz.

File metadata

  • Download URL: skysniff-1.0.0.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: bork/11.0.0 (+https://github.com/duckinator/bork)

File hashes

Hashes for skysniff-1.0.0.tar.gz
Algorithm Hash digest
SHA256 cf11557eae08f31f2779f9550410cc856246e05dc9be3941ef9cc39472c78254
MD5 6d1aac1c20e03b37d3ddc8e82841a49f
BLAKE2b-256 54dedfe562de64b92590ec9d73dfa423d1d6b62c24e4fbce369beb29aabb03a0

See more details on using hashes here.

File details

Details for the file skysniff-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: skysniff-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 6.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: bork/11.0.0 (+https://github.com/duckinator/bork)

File hashes

Hashes for skysniff-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 806b13f8c9bb6efc0b9316ce693c6982ae1f5aadd0eb42fa85890dbf4423985a
MD5 b5c94538181344174ea523a937115dd7
BLAKE2b-256 978e3616121c4506c4d48add1e27c9b93c9a8689700515ea4bcde1eebd61a0e1

See more details on using hashes here.

Supported by

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