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
A liblary whre you can find helpful functions for your discord bot

DBotUtils A liblary whre you can find helpful functions for your discord bot Easy setup Setup is easily and flexible. Change anytime. After setup just

Kondek286 1 Nov 02, 2021
Wechat based auto reply with pyautogui

Python-微信 自动回复 练手~ 一直想做个给微信发个消息,就可以跑Python程序,并将结果发送给我的东西,之前看了 B站@不高兴就喝水 的视频,终于有了灵感~ 使用的是模拟点击方案,请求期间是不能操作了。 库 pyautogui 用于模拟鼠标键盘操作和定位操作位置 pyperclip 剪贴板

Vito Song 1 Oct 22, 2022
API which returns cusswords , can be used to check cusswords in bots etc.

Anti-abuse-api-flask API which returns cusswords , can be used to check cusswords in bots etc. Run pip install -r requirements.txt py app.py API Endpo

8 Jan 03, 2023
A BOT TO FIND ID OF A STICKER.

sticker id A BOT TO FIND ID OF A STICKER. THIS REPOSITORY HAVE TWO BRANCHES FOR DEPLOY WITH COMMAND & WITHOUT COMMAND. Mandatory variables API_ID - Ge

Ashik Muhammed 3 Dec 29, 2022
A modular dynamical-systems model of Ethereum's validator economics.

CADLabs Ethereum Economic Model A modular dynamical-systems model of Ethereum's validator economics, based on the open-source Python library radCAD, a

CADLabs 104 Jan 03, 2023
Python tool to Check running WebClient services on multiple targets based on @leechristensen

WebClient Service Scanner Python tool to Check running WebClient services on multiple targets based on @tifkin_ idea. This tool uses impacket project.

Pixis 153 Dec 28, 2022
Бот для скачивания треков с Deezer используя ISRC и UPC коды

deez_robot Запуск Установите необходимые библиотеки pip install -r requirements.txt Создайте файл config.py и поместите туда токен бота и ARL-токен De

Max 4 Jul 31, 2022
Telegram Radio - A User-bot who continuously play random audio files (from the famous telegram music channel @mveargasm) in the intended voice chat.

MvEargasmDJ: This is my submission for the Telegram Radio Project of Baivaru. Which required a userbot to continiously play random audio files from th

eyaadh 24 Nov 12, 2022
Dashbot is an application for showing the trade in U.S. Trade Market

Dashbot is an application for showing the trade in U.S. Trade Market (e.g., 4:00am to 8:00pm Eastern Time for the US market using Intraday data using Mercury..

Ahmed Nabil 2 Jan 27, 2022
A discord bot written in discord.py to manage custom roles assigned to boosters of your server.

BBotty A discord bot written in discord.py to manage custom roles assigned to boosters of your server. v0.0.1-alpha released! This version is incomple

Oui002 1 Nov 27, 2021
Modern Desktop Jellyfin Client written in Python and Vue for the UI [WIP]

JellyPlayer Modern Jellyfin Client Installation Install Requirements: Install Python 3 Install dependencies Install node deps for frontend, go to Jell

Prayag Prajapati 57 Dec 12, 2022
A web app via which users can buy and sell stocks using virtual money

finance Virtual Stock Trader. A web app via which users can buy and sell stocks using virtual money. All stock prices are real and provided by IEX. Fe

Kiron Deb 0 Jan 15, 2022
Quadrirrotor UFABC - ROS/Gazebo

QuadROS_UFABC - Repositório utilizado durante minha dissertação de mestrado para simular sistemas de controle e estimação para navegação de um quadrirrotor utilizando visão computacional.

Mateus Ribeiro 1 Dec 13, 2022
Discord bot code to stop users that are scamming with fake messages of free discord nitro on servers in order to steal users accounts.

AntiScam Discord bot code to stop users that are scamming with fake messages of free discord nitro on servers in order to steal users accounts. How to

H3cJP 94 Dec 15, 2022
Notion API Database Python Implementation

Python Notion Database Notion API Database Python Implementation created only by database from the official Notion API. Installing / Getting started p

minwook 78 Dec 19, 2022
Get-Phone-Number-Details-using-Python - To get the details of any number, we can use an amazing Python module known as phonenumbers.

Get-Phone-Number-Details-using-Python To get the details of any number, we can use an amazing Python module known as phonenumbers. We can use the amaz

Coding Taggers 1 Jan 01, 2022
Seth Userbot with python

SETH-USERBOT DEPLOY TO HEROKU Group Support: String Session : Stay Support 🚀 ❁ LonamiWebs and Telethon © Credits ⚡ THANK YOU VERY MUCH FOR zeinzo Zei

seth 4 Jan 10, 2022
Python package for agilex robotics mobile base platform

This is Python API for Agilex Robotics Mobile base This is a python API for Can communication with Agilex Robotics Mobile base and controlling it. Sup

7 Sep 06, 2022
C Y B Ξ R UserBot is a project that simplifies the use of Telegram.

C Y B Ξ R USΞRBOT 🇦🇿 C Y B Ξ R UserBot is a project that simplifies the use of Telegram. All rights reserved. Automatic Setup Android: open Termux p

FVREED 4 Dec 07, 2022
Deezer client for python

Deezer Python Client A friendly Python wrapper around the Deezer API. Installation The package is published on PyPI and can be installed by running: p

Bruno Alla 103 Dec 19, 2022