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
Pyspark sam - Analyze Big Sequence Alignments with PySpark in AWS EMR

pyspark_sam This repo hosts my code for the article "Analyze Big Sequence Alignm

Sixing Huang 4 Dec 09, 2022
StudyLion is a Discord bot that tracks members' study and work time while offering members to view their statistics and use productivity tools such as: To-do lists, Pomodoro timers, reminders, and much more.

StudyLion - Discord Productivity Bot StudyLion is a Discord bot that tracks members' study and work time while offering members the ability to view th

45 Dec 26, 2022
A simple google translator telegram bot version 2

Translator-Bot-V2 A simple google translator telegram bot version 2 Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License

Fayas Noushad 15 Oct 21, 2022
Python SDK for Thepeer

Python SDK for Thepeer

Oluwafemi Tairu 2 Dec 22, 2021
A GUI Weather Application written with Python

weather-box - A GUI Weather Application written with Python Made with ❤️ by Suresh Mishra

Suresh Mishra 2 Dec 18, 2021
提供火币网交易接口API最简封装,提供现货买入、卖出、huobi币安查询账户余额等接口,数字货币,虚拟货币,BTC量化交易框架,自动交易,轻量便携,不用安装,即开即用

火币网交易接口的最简封装(只管用,不用再关注细节) 提供火币网交易接口的python封装,提供买入、卖出、查询账户余额等接口 接口说明 order_value() 进行买入操作,参数为买入的币和买入的金额 买入返回的详情数据: {'单号': '272229546125038', '成交数量': 0.

dev 95 Sep 24, 2021
Calendars for various securities exchanges.

IMPORTANT NOTE This package is currently unmaintained as the sponsor, quantopian, is going through corporate changes. As such there is a fork of this

Quantopian, Inc. 545 Jan 07, 2023
A Python library for rendering ASS subtitle file format using libass.

ass_renderer A Python library for rendering ASS subtitle file format using libass. Installation pip install --user ass-renderer Contributing # Clone

1 Nov 02, 2022
Tools untuk cek nomor rekening, terhadap penipuan yang sudah terjadi!

No Rekening Checker Selalu waspada terhadap penipuan! Sebelum anda transfer sejumlah uang alangkah baiknya untuk cek terlebih dahulu, apakah norek itu

Hanif Ahmad Syauqi 8 Dec 25, 2022
HinamiRobot - Telegram Group Manager Bot Written In Python Using Pyrogram

✨ HINAMI CHAN ✨ Telegram Group Manager Bot Written In Python Using Pyrogram. Rea

DARK LEGEND088 2 Jan 27, 2022
An API wrapper for discord; maintained and improved from discord.py

Fusion.py Documentation What is Fusion.py you might ask; Fusion.py is a Discord.py fork that has most of the good features from most of the big Discor

Senarc Studios 5 Apr 19, 2022
A Powerful, Smart And Simple Userbot In Telethon.

Owner: Masterolic 🇮🇳 BLACK LIGHTNING A Powerful, Smart And Simple Userbot In Telethon. Credits This is A Remix Bot Of Many UserBot. DARKCOBRA Friday

Masterolic 1 Nov 28, 2021
Host your Python Discord Bot 24/7 for free. POC

🐉 Pandore 🐉 The easiest and fastest way to host your Python3 Discord Bot 24/7 for free! 📚 Documentation 📚 If you encounter any problem while using

Billy 73 Jan 02, 2023
The Fastest multi spambot of Telegram 🤞 🤞

Revil Spam Bot The Fastest multi spambot of Telegram 🤞 🤞 𝚂𝚄𝙿𝙿𝙾𝚁𝚃 🖤 ᴄʀᴇᴀᴛᴏʀ 🖤 ⚡ 𝓡𝓮𝓿𝓲𝓵 𝓗𝓾𝓷𝓽𝓮𝓻 𝔐𝔲𝔩𝔱𝔦 ẞø✞︎ ⚡ 𝓐 𝕾мοοτн 𝓐и∂ 𝕱

REVIL HUNTER 4 Dec 08, 2021
WikipediaBot from mohirdev.uz

wiki-bot WikipediaBot from mohirdev.uz Requirements wikipedia aiogram Installing wiki/aiogram pip install wikipedia pip install aiogram

Muhammad Ali 5 Sep 28, 2022
Deepl - DeepL Free API For Python

DeepL DeepL Free API Notice Since I don't want to make my AuthKey public, if you

Vincent Young 4 Apr 11, 2022
Wrapper for wttr.in weather forecast.

pywttr Wrapper for wttr.in weather forecast. Asynchronous version here. Installation pip install pywttr Example This example prints the average temper

Almaz 6 Dec 25, 2022
TonplaceApi - Ton.place api wrapper

tonplaceApi ton.place/tonplaceApi Обертка для ton.place Установка pip install ht

Nickolay Samedov 3 Feb 21, 2022
A Discord API Wrapper for Userbots/Selfbots written in Python.

DisCum A simple, easy to use, non-restrictive, synchronous Discord API Wrapper for Selfbots/Userbots written in Python. -using requests and websockets

Liam 450 Dec 27, 2022
Hazard-Nuker - Hazard Nuker With Python

🌟 Since hazard is free, donations are really appriciate and keeps the developme

†† 9 Oct 26, 2022