Skip to main content

A command line weather tool

Project description

[![Build Status](https://travis-ci.org/brianriley/weather-cli.png?branch=master)](https://travis-ci.org/brianriley/weather-cli)

You’ve spent hours, days, months, maybe years customizing your terminal. And yet so many things draw your attention away from it.

GONE are the days of wasting non-terminal moments looking up the current weather! Now, ask your terminal:

$ weather portland,me It’s 6° and light snow

Thank you, terminal–I think I will spend more time inside with you.

BUT WAIT, THERE’S MOAR!!

You can now set your location as an environment variable WEATHER and never have to type that query again!

$ export WEATHER=portland,me && weather It’s 6° and light snow $ weather It’s 6° and light snow

The query you pass in will override the environment variable, though, so you can still check how people in less-fortunate climates are faring:

$ export WEATHER=portland,me && weather “los angeles,ca” It’s 76° and sunny

Live in one of those metric countries, you say? No problem!

$ weather “tokyo,jp” –units celsius It’s 8° and sky is clear

And units can be saved as an environment variable WEATHER_UNITS as well:

$ export WEATHER_UNITS=celsius && weather It’s -8° and sky is clear

Or maybe you prefer pretty pictures. Get it, with weather!

$ weather tokyo,jp –iconify 55°☀

Read more at:

$ weather -h

Install

Installation couldn’t be easier:

$ pip install weathercli

(This is, of course, after you’ve run easy_install pip and pip install –upgrade pip. Simple!)

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

weathercli-2.3.1.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file weathercli-2.3.1.tar.gz.

File metadata

  • Download URL: weathercli-2.3.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for weathercli-2.3.1.tar.gz
Algorithm Hash digest
SHA256 e09cd7bbe29e0f9cbaaba2d08e5a6350d5e0e7ae935fa56f141263adca544529
MD5 09a930ca81da6d79e8ea241ce9bc6567
BLAKE2b-256 a5ff53c22b373493083dcfcea6e2e669016339fc16dbfeb465053b3a854c0fe2

See more details on using hashes here.

Supported by

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