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:
Metadata
Release files for openweathercli 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| openweathercli-1.0.1.tar.gz | 3.2 kB | Without provenance | Details for openweathercli-1.0.1.tar.gz |
Release files / openweathercli-1.0.1.tar.gz
| Download URL | openweathercli-1.0.1.tar.gz |
|---|---|
| Size | 3.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2500e80d34eed42be47a9757594dc4c3039e0411dd3d44b2467ea8472d0a624
|
|
BLAKE2b-256 checksum How to use checksums |
7acb1dfcbc393acec7708361cb18282bbbb403bb9f842c6d40f53a4622f58ab8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Security for openweathercli 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.