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
show-weather-0.2.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for show_weather-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5ee2d0b8ae345660fb160057f5a71a6da2a2226825ae0042b5ee720176dbfa8b |
|
MD5 | 9c1abaf123b1b507a7f4e9845e244b52 |
|
BLAKE2b-256 | a279655070715b357226e7cce689b586c7ac87ce7a719c2b61a1447f016c2b93 |