plasma_pyweather

Plasma 4 Extensions

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

3
6.1
Description:

This is an extremely simple plasmoid written in python. It fetches weather information from google.com. It lets you configure the location and unit of the weather information.

Please feel free to send me bug reports and / or suggestions for improvement.


INSTALL:
$ plasmapkg -i plasma_pyweather.plasmoid

UPDATE:
I used the weather icons from here.
http://www.kde-look.org/content/show.php/Weather+Icons?content=84533

So, the credit goes to the original artist, painkiller10.

Note: I have implemented only for certain number of weather conditions, if you see a question mark image as weather conditions, please let me know, which condition it is and I will add the image for it.
Last changelog:

10 years ago

2010-07-09:
For version: 1.7
- Fixed a typo
- Now doesn't crash when running without internet

2010-03-04:
For version: 1.6

- Fixed the bug with wrong calculation of Imperial units
- Changed the name of the images from *.svgz to *.svg, because the new KDE - 4.4 stupidly considered all *.svgz files as gzip file and showed no images


2010-01-18:
For Version: 1.5
Changed the names of the units from US t Imperial and SI to Metric to be technically correct.

WARNING: If you already have an old config, you will get N/A for all temperatures until you select the proper unit system from the settings.


2010-01-13:
For Version 1.4:
Raffaele kindly submitted a patch for the bug fix. I didn't even know about the bug as it appears only for certain cities. Now the plasmoid can deal with incorrect format of wind condition.


For version 1.3
- Fixed the bug in Kubuntu. Now it is possible to save settings.
- Added new conditions for overcast, smoky and snow

for version 1.2

- Bug Fix:
Although, I could not reproduce the bug reported by many, about th configuration, I hope to have fixed it.

For version 1.1
- Bug Fix:

Now, the parameters are url-encoded to allow city names with spaces, thanks to Virginia Brassesco for pointing out the bug.

C

rangalo

11 years ago

Thanks for the feedback. I am anyway going to give an overhaul to the configuration, the idea of selecting the parameters of interest is good one.

Google provides maximum 3 days of forecast not more, so I didn't provide the number of forecast days in configuration.

I am a java developer, so if my code is not pythonic enough, I am also open to suggestions for that.

Have a look at my blog about the plasmoid.
http://hardikmehta.wordpress.com/2009/08/13/a-weather-plasmoid-in-python/

Report

prasadae

11 years ago

Nice, I usually have a problem with the default weather widgets in KDE where my city (Boulder,CO,USA) is not recognized.
(Even though NOAA is located there! :-) )
So finally something which I can use!

Thanks.

Report

C

rangalo

11 years ago

It is good that it is helpful to you. Feel free to report problems or suggestions.

Report

10 years ago

2010-07-09:
For version: 1.7
- Fixed a typo
- Now doesn't crash when running without internet

2010-03-04:
For version: 1.6

- Fixed the bug with wrong calculation of Imperial units
- Changed the name of the images from *.svgz to *.svg, because the new KDE - 4.4 stupidly considered all *.svgz files as gzip file and showed no images


2010-01-18:
For Version: 1.5
Changed the names of the units from US t Imperial and SI to Metric to be technically correct.

WARNING: If you already have an old config, you will get N/A for all temperatures until you select the proper unit system from the settings.


2010-01-13:
For Version 1.4:
Raffaele kindly submitted a patch for the bug fix. I didn't even know about the bug as it appears only for certain cities. Now the plasmoid can deal with incorrect format of wind condition.


For version 1.3
- Fixed the bug in Kubuntu. Now it is possible to save settings.
- Added new conditions for overcast, smoky and snow

for version 1.2

- Bug Fix:
Although, I could not reproduce the bug reported by many, about th configuration, I hope to have fixed it.

For version 1.1
- Bug Fix:

Now, the parameters are url-encoded to allow city names with spaces, thanks to Virginia Brassesco for pointing out the bug.

12345678910
810
product-maker KAMiKAZOW Sep 14 2014 3 bad
product-maker Chtiland Aug 03 2014 3 bad
product-maker Paradoxe Nov 14 2013 3 bad
product-maker itsjustarumour2 Sep 25 2012 9 excellent
product-maker glewik Jun 24 2012 9 excellent
product-maker MaxEki Mar 26 2012 9 excellent
product-maker mi-schutka Oct 03 2011 9 excellent
product-maker malbec Jun 18 2011 9 excellent
product-maker grubstreet Jun 10 2011 9 excellent
product-maker Roadrunnerbs May 31 2011 9 excellent
product-maker bh21518 May 27 2011 9 excellent
product-maker sllxxe Apr 24 2011 9 excellent
product-maker hoellp Apr 22 2011 9 excellent
product-maker rwbehne1 Dec 09 2010 3 bad
product-maker wneiva Nov 29 2010 3 bad
product-maker felmur Nov 21 2010 3 bad
product-maker AHTOH Nov 20 2010 3 bad
product-maker jusko Oct 25 2010 3 bad
Be the first to comment
rwbehne1
Dec 09 2010
tanghus
Jun 16 2010
xadras
Aug 22 2009
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
1.7
updated Jul 09 2010
added Aug 12 2009
downloads 24h
0
mediaviews 24h 0
pageviews 24h 2