Python module for thefuckingweather.com
Project description
Python module for thefuckingweather.com, version 1.0.2
Copyright (C) 2013 Red Hat, Inc., and others.
https://github.com/ianweller/python-thefuckingweather
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The Fuck You Want
To Public License, Version 2, as published by Sam Hocevar. See
http://sam.zoy.org/wtfpl/COPYING for more details.
Credits:
- Colin Rice for fixing the (no-longer used) regexps to allow for
negative temperatures
----
The code is self-documenting so you shouldn't have any problem using it.
The basic way to use it, if you're including it in a program, is:
>>> import thefuckingweather
>>> thefuckingweather.get_weather("Hell, MI")
and you'll get lots of return data. The data format is documented under
get_weather(). You can also run it from a shell: this output is pretty
to the average user but can also be parsed by the likes of sed.
The Git repository is located on GitHub:
https://github.com/ianweller/python-thefuckingweather
This program comes without any warranty (as stated in the copyright
disclaimer), so please don't treat it as an actual weather reporting
system or as trustworthy.
Enjoy!
Copyright (C) 2013 Red Hat, Inc., and others.
https://github.com/ianweller/python-thefuckingweather
This program is free software. It comes without any warranty, to
the extent permitted by applicable law. You can redistribute it
and/or modify it under the terms of the Do What The Fuck You Want
To Public License, Version 2, as published by Sam Hocevar. See
http://sam.zoy.org/wtfpl/COPYING for more details.
Credits:
- Colin Rice for fixing the (no-longer used) regexps to allow for
negative temperatures
----
The code is self-documenting so you shouldn't have any problem using it.
The basic way to use it, if you're including it in a program, is:
>>> import thefuckingweather
>>> thefuckingweather.get_weather("Hell, MI")
and you'll get lots of return data. The data format is documented under
get_weather(). You can also run it from a shell: this output is pretty
to the average user but can also be parsed by the likes of sed.
The Git repository is located on GitHub:
https://github.com/ianweller/python-thefuckingweather
This program comes without any warranty (as stated in the copyright
disclaimer), so please don't treat it as an actual weather reporting
system or as trustworthy.
Enjoy!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
thefuckingweather-2.0.tar.gz
(3.9 kB
view details)
File details
Details for the file thefuckingweather-2.0.tar.gz
.
File metadata
- Download URL: thefuckingweather-2.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b732d2e3352abd70221937afa7409893e19a2f59853e9907b060515e433600c |
|
MD5 | cef55e823bb244b482398e1863174082 |
|
BLAKE2b-256 | ca1b18844557c180b943e936811e003ad66497faa0c13dff4e0b4bd7f5334c6b |