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


Release history Release notifications

This version
History Node

2.3.1

History Node

2.3.0

History Node

2.2.2

History Node

2.1.2

History Node

2.1.1

History Node

2.1.0

History Node

2.0.0

History Node

1.0.1

History Node

1.0.0

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
weathercli-2.3.1.tar.gz (4.0 kB) Copy SHA256 hash SHA256 Source None Jan 31, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page