python version implementation of `wego` which is a weather forecast client for the terminal.
Project description
py_weather_cli
py_weather_cli is a Python version implementation of wego which is a weather client for the terminal.
This project is just only for study purpose, please do not use it for business.
Dependencies
- requests
- click
Installation
pip3 install py_weather_cli
weather_cli -c toronto
Configration
Once you run py_weather_cli after installing, you will get error about OpenWeatherMap account and api key. However the config .weather-cli has been generated in HOME dirctinary. (it might be hidden due to started '.').
-
city_name
the default city
-
api_key
OpenWeatherMap api_key
-
lang
client language
-
num_days
the number of days of forecast
-
unit
measure unit, you can specify any of (metric|imperial|si')
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 py_weather_cli-1.0.2.tar.gz.
File metadata
- Download URL: py_weather_cli-1.0.2.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72233d062ac37b5d36a6dd15bbe7b2f0f0b09c1efc4c5e728f00b5dcacc08cc7
|
|
| MD5 |
9b36df4acc9eaa47536940c05c9a2f40
|
|
| BLAKE2b-256 |
e2964014a891097b83dbda38d914d52885720d23dd8d834201e3d43743920c85
|
File details
Details for the file py_weather_cli-1.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: py_weather_cli-1.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 10.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0f12ed343af0af7f3514aaac8281c6b5011d375595ecee8652b2139defacd1e9
|
|
| MD5 |
99535bbe6b856e1e70139cebdfd06ee5
|
|
| BLAKE2b-256 |
85aebaf996806c4508a94f1500aa1a3b4cdb97a524b38b70c5ffc7760349bdba
|