Weather CLI
This is a small weather CLI I made in python using the OpenWeatherMap API
Examples
This also works with separate states (with the --state argument), but I couldn't think of any examples to use this with
Installation
sudo pip install openweathercli
Removal
sudo pip uninstall openweathercli
OpenWeatherMap API key
Go to https://openweathermap.org/ and press
Then, once you have signed back in (or created an account), you will see an interface such as this one
Along the top, press API Keys
And generate a new key like this (unless you want to use an existing API key)
Then a new key will be generated and there will be a box that looks somewhat like this
Copy the text within the box, and then run the script. When you run it for the first time, it will prompt you like this:
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file openweathercli-1.0.1.tar.gz.
File metadata
- Download URL: openweathercli-1.0.1.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2500e80d34eed42be47a9757594dc4c3039e0411dd3d44b2467ea8472d0a624
|
|
| MD5 |
aed1d0fd8b7b6ecd5719dfa7550904b4
|
|
| BLAKE2b-256 |
7acb1dfcbc393acec7708361cb18282bbbb403bb9f842c6d40f53a4622f58ab8
|