Giter Club home page Giter Club logo

weatherboy's Introduction

weatherboy

Weatherboy is weather tray app written in Python, perfect for lightweight environments (like OpenBox, Awesome, etc.).

alt text

So, there are no additional dependencies, only GTK and Python. It fetches weather data from Yahoo! Weather, uses your icon theme for displaying weather icons. If you click on weather icon, it opens your default web browser with Yahoo! Weather page. If you are minimalistic person or like to keep things simple - weatherboy is good choice for you.

zengeist@spectre /tmp/weatherboy (git)-[master] % weatherboy -h
usage: weatherboy [-h] -l WOEID [-u c|f] [-d N] [-a]

Simple weather applet

optional arguments:
  -h, --help            show this help message and exit
  -l WOEID, --location WOEID
                        location WOEID (more on
                        http://developer.yahoo.com/weather/)
  -u c|f, --units c|f   units to display
  -d N, --delta N       timeout in minutes between next weather data query
  -a, --advanced        Advanced tooltip

Install

Download weatherboy.py and put it where you want. Weatherboy is available for ArchLinux with AUR, so you can install this way yaourt -S weatherboy or download PKGBUILD and build package manually. Cause I used ArchLinux before, no packages for another distros are provided.

Prepare and run

Weatherboy uses Yahoo! Weather feed, so at first, you need to go to http://weather.yahoo.com and look for your location. Weather url for Prague will looks like https://weather.yahoo.com/czech-republic/prague/prague-796597/
and you will need to copy a location code (796597 in that case)

weatherboy.py -l 796597 -u c -d 10 -a

It will show you weather for Prague with metric units, tooltip with advenced information and update delta 10min.

weatherboy's People

Contributors

decayofmind avatar sid-the-sloth avatar

Stargazers

Jonathan Hooverman avatar

Watchers

Jonathan Hooverman avatar James Cloos avatar  avatar  avatar  avatar

weatherboy's Issues

Temperature Display

Will it be possible to display the weather icon and the corresponding temperature of this location?

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.