Neofetch/pfetch, but for weather

Overview

Wfetch

Neofetch/pfetch, but for weather

Logo

oxygen

contributions

Features

  • Information about the weather outside:

    1. Weather condition
    2. Temperature
    3. Humidity
    4. Pressure
    5. Wind
    6. Sunrise-sunset time
  • Cool logo for each weather condition

  • Abilty to choose logos

  • See weather at different places

Requirements

Python3

Installation

Install through pip

WIP

Or from github

git clone https://github.com/Gcat101/wfetch
cd wfetch
sh ./install.sh
cd ../

Usage

Get the weather at your current location:

wfetch

Specify the ascii logo:

wfetch --ascii="mist"

Get the weather from a different location:

wfetch --place="London, UK"

Get the manual:

wfetch --help
Comments
  • Unable to pull city data

    Unable to pull city data

    I am unable to pull my city data however, OWM does see my city on their site. I get a "Place not found" error.

    My city: Lake City, FL Listed here as Lake City, US I'm defaulted to Jacksonville when I run without --place

    Perhaps allow for selecting location based on location ID, which in my case would be the 4161187 part of the URL.

    Bug 
    opened by brandonneal 5
  • Error after update

    Error after update

    [email protected]:~/Downloads/Wfetch$ sudo ./install.sh Installing package requirements... Installing package... Cleaning up... Package Installed!

    Please add this line to your shell profile (You are using /bin/bash): 'export WEATHER_CLI_API='

    [email protected]:~/Downloads/Wfetch$ wfetch Traceback (most recent call last): File "/usr/local/bin/wfetch", line 81, in main try: ICON = open(os.path.join(ICONPATH, 'neutral', f'{STATUS}.txt')).read().splitlines() # Get neutral icon from /icons/neutral directory FileNotFoundError: [Errno 2] No such file or directory: '/home/nodnarb/.wfetch/icons/neutral/clear_sky.txt'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "/usr/local/bin/wfetch", line 83, in main try: ICON = open(os.path.join(ICONPATH, ASCIITYPE, f'{STATUS}.txt')).read().splitlines() # Get icon from /icons/(day|night) directory FileNotFoundError: [Errno 2] No such file or directory: '/home/nodnarb/.wfetch/icons/night/clear_sky.txt'

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last): File "/usr/local/bin/wfetch", line 125, in Fire(main) # Launch main function with arguments File "/home/nodnarb/.local/lib/python3.8/site-packages/fire/core.py", line 141, in Fire component_trace = _Fire(component, args, parsed_flag_args, context, name) File "/home/nodnarb/.local/lib/python3.8/site-packages/fire/core.py", line 466, in _Fire component, remaining_args = _CallAndUpdateTrace( File "/home/nodnarb/.local/lib/python3.8/site-packages/fire/core.py", line 681, in _CallAndUpdateTrace component = fn(*varargs, **kwargs) File "/usr/local/bin/wfetch", line 84, in main except FileNotFoundError: ICON = open(os.path.join(ICONPATH, 'unknown.txt')).read().splitlines() # If not found, display "?" FileNotFoundError: [Errno 2] No such file or directory: '/home/nodnarb/.wfetch/icons/unknown.txt' [email protected]:~/Downloads/Wfetch$

    I got an error after initially trying to update and thought I fat fingered it so, I removed all traces of wfetch from my system git cloned again and ran the install script now I'm getting this error. Also before I could run it I had to fix line 1 in install.sh because it read "#!bin/bash" instead of "#!/bin/bash"

    opened by brandonneal 2
  • Missing icons

    Missing icons

    Followed the instructions and got it to work after I manually copied the icons/ directory to /usr/local/bin which is not recommended, obviously.

    I don't have time right now to figure this out, but I guess you also need to copy the icons directory somewhere sane and then look for it there first.

    Otherwise, great work!

    Running on Ubuntu (Kubuntu) 20.04.3 LTS.

    Bug 
    opened by nicc777 2
  • Cleaned up the files and changed the installation script

    Cleaned up the files and changed the installation script

    • Fixed a typo in the README. 80298c1266aaf04ca53c9e2b3bf5d9ab1e902bf9
    • Added visual studio code and python files to ./.gitignore to remove the cache files. 88e8f988733d71b0400b9629eb4ca4df581bebdd

    Installation Script Changes: 30994164fc7c461ba93b28570eca60a49c0d82d1

    • Requires running with sudo using sudo bash install.sh to copy to /usr/local/bin/
    • Exits on command errors showing which command exited with error.
    • New Script Output (doesn't show pip output):
    ❯ sudo bash "install.sh"
    [sudo] password for pure-cheekbones: 
    Installing package requirements...
    Installing package...
    Cleaning up...
    Package Installed! 
    
    Please add this line to your shell profile (You are using /bin/bash):
    'export WEATHER_CLI_API=<your OWM api key>'
    
    opened by mina-andajos 1
  • Support XDG_CONFIG_HOME

    Support XDG_CONFIG_HOME

    I wanted to check out your project and when I installed it, I noticed it was wanting to put filed in my home directory and not in ~/.config per the XDG Base Directory standard. It was a pretty low lift to change a few things around.. All I did was check to see if XDG_CONFIG_HOME was set.. and if its set we put the icons in ~/.config/wfetch as apposed to ~/.wfetch. If the environment variable is unset I just default to your original values of using ~/.wfetch.

    opened by usmcamp0811 0
Releases(1.0)
Owner
G_cat
WHO?
G_cat
Телеграм бот решающий задания ЦДЗ, написанный на библиотеке libmesh.

MESHBot-Telegram Телеграм бот решающий задания ЦДЗ. Описание: Бот написан с использованием библиотеки libmesh. Для начала работы отправьте ему ссылку

2 Jun 19, 2022
Example code for interacting with solana anchor programs - candymachine

candypy example code for interacting with solana anchor programs - candymachine THIS IS PURELY SAMPLE CODE TO FORK, MODIFY, UNDERSTAND AND INTERACT WI

dubbelosix 3 Sep 18, 2022
Senditapp.com bot spammer, spam your friends

Sendit Spammer Python ⚠️ I am not responsible for how you use this tool. This tool is against "Sendit" ToS and shall not be used in a production envir

Glaukio 1 Dec 31, 2021
Touca SDK for Python

Touca SDK For Python Touca helps you understand the true impact of your day to day code changes on the behavior and performance of your overall softwa

Touca 12 May 18, 2022
A Python API wrapper for the Twitter API!

PyTweet PyTweet is an api wrapper made for twitter using twitter's api version 2! Installation Windows py3 -m pip install PyTweet Linux python -m pip

TheFarGG 1 Nov 19, 2022
Bot telegram yang menggemakan pesan apa pun yang Anda kirim atau modifikasi untuk menganonimkan pesan

Bot telegram yang menggemakan pesan apa pun yang Anda kirim atau modifikasi untuk menganonimkan pesan

KEN KAN 2 Oct 21, 2022
Vhook: A Discord webhook spammer / deleter open source coded by vesper

Vhook_Spammer Vhook is a advanced Discord webhook spammer / deleter with embeds,

Vesper 17 Nov 13, 2022
Battle Pass farming tft bot

Tft bot Bot para farmar pontos do Passe de Batalha do TFT Descrição A cada partida de tft jogada você ganha 100 pontos no passe, porém você não precis

Leonardo Gonçalves 4 Jan 27, 2022
A telegram bot writen in python for mirroring files on the internet to Google Drive

owner of this repo :- AYUSH contact me :- AYUSH Slam Mirror Bot This is a telegram bot writen in python for mirroring files on the internet to our bel

Thanusara Pasindu 1 Nov 21, 2021
D-Ticket is a discord bot for ticket system

D-Ticket Discord Bot D-Ticket is a discord bot for ticket management system. This is not final product is currently being in development stay connecte

DeViL 1 Jan 06, 2022
ZenML 🙏: MLOps framework to create reproducible ML pipelines for production machine learning.

ZenML is an extensible, open-source MLOps framework to create production-ready machine learning pipelines. It has a simple, flexible syntax, is cloud and tool agnostic, and has interfaces/abstraction

ZenML 2.6k Dec 27, 2022
SelfBot, a lots of features: Mass DM , Nuke, Raid... and more!

SelfBot, a lots of features: Mass DM , Nuke, Raid... and more!

eryycr 2 Nov 10, 2021
Open API to list Viet Nam administrative divisions

Viet Nam province API Homepage: https://provinces.open-api.vn This is online tool to let my VietnamProvinces library reach more users. VietnamProvince

Nguyễn Hồng Quân 52 Dec 05, 2022
DaProfiler vous permet d'automatiser vos recherches sur des particuliers basés en France uniquement et d'afficher vos résultats sous forme d'arbre.

A but educatif seulement. DaProfiler DaProfiler vous permet de créer un profil sur votre target basé en France uniquement. La particularité de ce prog

Dalunacrobate 73 Dec 21, 2022
A new coin listing alert bot using Python, Flask, MongoDB, Telegram API and Binance API

Bzzmans New Coin Listing Detection Bot Architecture About Project Work in progress. This bot basically gets new coin listings from Binance using Binan

Eyüp Barlas 21 May 31, 2022
A bot that is an updated & modified version of calvinnfernando's WebReg-Bot

WaitList-Bot A bot that is an updated & modified version of calvinnfernando's WebReg-Bot to automate getting into waitlisted classes in UCSD WebReg on

Issac In 1 Dec 01, 2022
Shows VRML team stats of all players in your pubs

VRML Team Stat Searcher Displays Team Name, Team Rank (Worldwide), and tier of all the players in your pubs. GUI WIP: Username search works & pub name

Hamish 2 Dec 22, 2022
DB-Drive-CSV - This is app is can be used to access CSV file as JSON from Google Drive.

DB Drive CSV This is app is can be used to access CSV file as JSON from Google Drive. How To Use Create file/ upload file to Google Drive There's 2 fi

Hartawan Bahari M. 5 Oct 20, 2022
DeKrypt 24 Sep 21, 2022
Python Wrapper for handling payment requests through the Daraja MPESA API

Python Daraja Description Python Wrapper for handling payment requests through the Daraja MPESA API Contribution Refer to the CONTRIBUTING GUIDE. Usag

William Otieno 18 Dec 14, 2022