Python Distribution Utilities
Project description
Weather-Forecast
A Python script that displays the 5-day weather forecast (3 hour intervals) for a given location. This was implemented using the pyOWM API (Open Weather Map).
Locations can be searched by city name, postal code, or coordinates. Furthermore, after searching a given location, the forecast is printed to the console. After the forecast finishes, the user is prompted to search for another location. The script doesn't terminate until the user exits. Just before terminating, the forecasts for any search locations are dumped to a .csv file.
Requirements
Python
You need Python 3.4 or later to run this script. You can have multiple Python versions (2.x and 3.x) installed on the same system without issue.
In Ubuntu, Mint and Debian you can install Python 3 like this:
$ sudo apt-get install python3 python3-pip
For other Linux flavors, macOS and Windows, packages are available at https://www.python.org/getit/
Pyowm
Furthermore, you need the PyOWM wrapper library for OpenWeatherMap web APIs installed locally. The dependency can be installed through the pip installer like this:
$ pip install pyowm
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pykriweather-0.0.1.tar.gz.
File metadata
- Download URL: pykriweather-0.0.1.tar.gz
- Upload date:
- Size: 5.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb7172a919a1373ff386cf18ddb8a74f3fcc12c0676c08e5da41a100d5d0559d
|
|
| MD5 |
77aa3a5008c9b00dabe96fcc8b004439
|
|
| BLAKE2b-256 |
9ef7bb51749d2107a7a17a672aea309865c8360e12dd535a10522da3e6e69297
|
File details
Details for the file pykriweather-0.0.1-py3-none-any.whl.
File metadata
- Download URL: pykriweather-0.0.1-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.24.0 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e59a717e9c840046fb80598fbed5750d48a002f001165697a10e3a84d994b03a
|
|
| MD5 |
b6c45bd8378cea5970c395004c4c55c7
|
|
| BLAKE2b-256 |
68d9fd34b6d64ba2632475cca99789a8db4ffeeb84cad18e1597ace1e25b5144
|