Tells you the weather of any city/town anywhere in the world over the command line
Project description
A small Python script that can tell you the weather of any city/town anywhere in the world over the command line.
Weather data is accessed over the internet using the OpenWeather API. You'll need an API key, which you can get by simply sigining up to their website, signing in, and then going to "My API keys" under your profile.
The program has a proper command line interface with optional flags, help messages and so forth. Run show_weather --help to see more.
Install
% pip install show-weather
Example
To get the current weather in Toronto, for example, run
% show_weather <API_KEY> toronto
which outputs to the terminal
--------------------------------------------------
Place: Toronto
Country: Canada
Temperature: -10.6°C
--------------------------------------------------
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 show-weather-0.2.0.tar.gz.
File metadata
- Download URL: show-weather-0.2.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7bfc6cb3b4b2a0ce9f6c539ca3a273bd7d7e2fb01e0bb2893ff1c9a7108a9668
|
|
| MD5 |
6b4e4294d2c60ccbcff73b27ac7140eb
|
|
| BLAKE2b-256 |
2c1d7c6c48bb083fa520b5e949195ee8a2a4a81d074100dca40fc0bcd233f2d8
|
File details
Details for the file show_weather-0.2.0-py3-none-any.whl.
File metadata
- Download URL: show_weather-0.2.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ee2d0b8ae345660fb160057f5a71a6da2a2226825ae0042b5ee720176dbfa8b
|
|
| MD5 |
9c1abaf123b1b507a7f4e9845e244b52
|
|
| BLAKE2b-256 |
a279655070715b357226e7cce689b586c7ac87ce7a719c2b61a1447f016c2b93
|