GithubHelp home page GithubHelp logo

imclab / weathertext Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drdrang/weathertext

0.0 2.0 0.0 820 KB

A Python script that prints lines of current weather info. Intended to be used with GeekTool or Growl.

Home Page: http://www.leancrew.com/all-this/2009/06/new-weather-script-for-geektool/

weathertext's Introduction

Weathertext is a short Python script that prints current weather information and forecasts gathered from NOAA, Yahoo!, and/or Google via the pywapi library. It's primary intent is to be called by GeekTool or Growl to display the information on a Mac.

A longer description of the goals of weathertext and its use of pywapi can be found in this blog post and this one. Here's a way to configure GeekTool to run weathertext every 15 minutes:

And here's a shell pipeline that puts the info in a Growl window:

	~/bin/weathertext | /usr/local/bin/growlnotify -t Weather

Weather.cgi is a Python script that does basically the same thing as weathertext but generates HTML intended for the iPhone instead of plain text. The main addition is a radar image set between the current conditions and the forecast.

Both these scripts are customized for where I live but can be easily changed by edited the lines that set

  1. the NOAA station's name;
  2. the zip code for Yahoo! weather; and
  3. the URL for the radar image.

weathertext's People

Contributors

drdrang avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.