Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tfuxu/wfetch
A small (~100 lines of code) terminal weather fetch tool written in Python.
https://github.com/tfuxu/wfetch
api fetch openweathermap python weather
Last synced: 2 months ago
JSON representation
A small (~100 lines of code) terminal weather fetch tool written in Python.
- Host: GitHub
- URL: https://github.com/tfuxu/wfetch
- Owner: tfuxu
- License: isc
- Created: 2020-11-01T23:02:01.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-23T21:03:03.000Z (about 3 years ago)
- Last Synced: 2024-10-10T20:08:49.722Z (2 months ago)
- Topics: api, fetch, openweathermap, python, weather
- Language: Python
- Homepage:
- Size: 12.7 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-fetch - wfetch - A small (~100 lines of code) terminal weather fetch tool written in Python. `Python` (Miscellaneous / MacOS Only)
README
wfetch
A small (~100 lines of code) terminal weather fetch tool written in Python.## Dependencies
* ```python``` - must be 3.6 or greater
* ```requests``` - for fetching raw data from weather APIsYou can install dependencies using this command: ```pip install -r requirements.txt```
## Installation
To install wfetch, make symbolic link to ```wfetch.py``` file in ```/usr/bin/``` directory:
```
sudo ln -s /path/to/wfetch/wfetch.py /usr/bin/wfetch
```## Setup
1. Create an [OpenWeatherMap](https://home.openweathermap.org/users/sign_up) account
2. Go to [API keys](https://home.openweathermap.org/api_keys) section in your account settings
3. Update in ```config.py``` ```api``` and ```city``` parameters
4. Also, optionally update other parameters to set proper for you description language and measurement units## Thanks
* [wego](https://github.com/schachmat/wego) for providing ASCII weather icons