openweathermap-cli
A command line application for displaying weather details, written in Python.
Getting Started
Prerequisites
Installing
Openweathermap-cli is on PyPi so it can be installed with pip.
$ pip install openweathermap-cli
To upgrade use the -U flag.
$ pip install -U openweathermap-cli
Adding your API key
To begin you will need to add your API key. If you do not have an API key you can get one free from Open Weather Map.
$ weather api YOUR00API00KEY00GOES00HERE
Using openweathermap-cli
Usage:
weather
weather week
weather -h | --help
weather --version
Get today’s weather forecast
$ weather
Get the week’s weather forecast
$ weather week
Example
Get today’s weather details
$ weather
+-----------------------+------------+
| City of Westminster | |
|-----------------------+------------|
| Temperature | 10.45 |
| Temp Max | 12.0 |
| Temp Min | 9.0 |
| Summary | Rain |
| Detail | light rain |
| Sunrise | 07:05:26 |
| Sunset | 17:23:52 |
+-----------------------+------------+
Built With
License
This project is licensed under the MIT License
Metadata
Release files for openweathermap-cli 1.2.0
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 |
|---|---|---|---|---|
| openweathermap-cli-1.2.0.tar.gz | 4.5 kB | Without provenance | Details for openweathermap-cli-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| openweathermap_cli-1.2.0-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for openweathermap_cli-1.2.0-py2.py3-none-any.whl |
Total release size: 10.4 kB
Release files / openweathermap-cli-1.2.0.tar.gz
| Download URL | openweathermap-cli-1.2.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
992ab56cbed2f2128a6011a0990c07e52356a251c7a7ffa7a1199adfbd0a3424
|
|
BLAKE2b-256 checksum How to use checksums |
08c217943ebe7dc3098ae7409be61667300320234866b0cfee3f6a3d79f0c4f2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
|
Release files / openweathermap_cli-1.2.0-py2.py3-none-any.whl
| Download URL | openweathermap_cli-1.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
77aea6ddf413536a23625132ca6be4e6c75473aa6536662e3775f60ac5f29fb0
|
|
BLAKE2b-256 checksum How to use checksums |
de8c6cc96c89ac7bb541884ebef62ee1f84144ea44b388adb2ea6d6fb7cde4f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.6.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.0 CPython/3.9.5
|
Security for openweathermap-cli 1.2.0
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.