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
💬 Send iMessages using Python through the Shortcuts app.

py-imessage-shortcuts Send iMessages using Python through the Shortcuts app. Requires macOS Monterey (macOS 12) or later. Compatible with Apple Silico

Kevin Schaich 10 Nov 30, 2022
Tools ini hanya bisa digunakan untuk menyerang website atau http/s

☢️ Tawkun DoS ☢️ Tools ini hanya bisa digunakan untuk menyerang website atau http/s FITUR: [ ☯️ ] Proxy Mode [ 🔥 ] SOCKS Mode | Kadang Eror [ ☢️ ] Ht

Bandhitawkunthi 9 Jul 19, 2022
BleachBit system cleaner for Windows and Linux

BleachBit BleachBit cleans files to free disk space and to maintain privacy. Running from source To run BleachBit without installation, unpack the tar

1.9k Jan 06, 2023
Бот - Гуль для твоего телеграм аккаунта

Я - Гуль (бот), теперь работает в чатах Отблагодарить автора за проделанную работу можно здесь Помощь с установкой тут Установка на Андроид После уста

57 Nov 06, 2022
Automatically deploy freqtrade to a remote Docker host and auto update strategies.

Freqtrade Automatically deploy freqtrade to a remote Docker host and auto update strategies. I've been using it to automatically deploy to vultr, but

p-zombie 109 Jan 07, 2023
Código para trabalho com o dataset Wine em Python

Um perceptron multicamadas (MLP) é uma rede neural artificial feedforward que gera um conjunto de saídas a partir de um conjunto de entradas. Um MLP é

Hemili Beatriz 1 Jan 08, 2022
Use Node JS Keywords In Python!!!

Use Node JS Keywords In Python!!!

Sancho Godinho 1 Oct 23, 2021
Autov2new - Pro Auto Filter Bot V2

Pro Auto Filter Bot V2 Deploy You can deploy this bot anywhere. Watch Deploying

1 Jan 06, 2022
Telegram bot to scrape images from the reddit universe

Telegram bot to scrape images from the reddit universe

XD22 3 Sep 30, 2022
A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon.

GilbertAnimeBot A modular Telegram Python bot running on python3 with a sqlalchemy, redis, telethon. How to setup/deploy. Read these notes carefully b

Kishore 1 Jan 23, 2022
A updated and improved version from the original Discord-Netflix from Nirewen.

Discord-Netflix A updated version from the original Discord-Netflix from nirewen A Netflix wrapper that uses Discord RPC to show what you're watching

Void 42 Jan 02, 2023
Pdisk Link Converter Telegram Bot, Convert link in a single click

Pdisk Converter Bot Make short link by using Pdisk API key Installation The Easy Way Required Variables BOT_TOKEN: Create a bot using @BotFather, and

Ayush Kumar Jaiswal 6 Jul 28, 2022
Receive GitHub webhook events and send to Telegram chats with AIOHTTP through Telegram Bot API

GitHub Webhook to Telegram Receive GitHub webhook events and send to Telegram chats with AIOHTTP through Telegram Bot API What this project do is very

Dash Eclipse 33 Jan 03, 2023
Make a command interpreter that manages AirBnb objects

AirBnB Clone Project Description This is part 1 of our AirBnb Clone project. The purpose of this project is to make a command interpreter that manages

Firdaus H. Salim 1 Nov 14, 2021
Integrating the Daraja-Api with Python language

Mpesa-Daraja-Api Integrating the Daraja-Api with Python language. Credentials.py file This file contains the consumer key and the consumer secrete key

Morvin Ian 3 Nov 09, 2022
Student-Management-System-in-Python - Student Management System in Python

Student-Management-System-in-Python Student Management System in Python

G.Niruthian 3 Jan 01, 2022
A fast, distributed, high performance gradient boosting (GBT, GBDT, GBRT, GBM or MART) framework based on decision tree algorithms, used for ranking, classification and many other machine learning tasks.

Light Gradient Boosting Machine LightGBM is a gradient boosting framework that uses tree based learning algorithms. It is designed to be distributed a

Microsoft 14.5k Jan 08, 2023
Retrieves GitHub Stats via `git_api` and flask.

GitHub User Search Created using Python3 and git_api, coded by JBYT27. About This is a project I decided to make for Kajam, but I decided to choose a

an aspirin 4 May 11, 2022
A fully responsive interface to manage all your favorite software on your HTPC.

Python 3 port of Hellowlol's HTPC Manager fork We made this an organization repository to be more independent from single developers. If you want to j

26 Jan 04, 2023
A secure and customizable bot for controlling cross-server announcements and interactions within Discord

DiscordBot A secure and customizable bot for controlling cross-server announcements and interactions within Discord. Within the code of the bot, you c

Jacob Dorfmeister 1 Jan 22, 2022