Skip to content

A simple python CLI tool to fetch weather of any given city.

License

Notifications You must be signed in to change notification settings

Rizen54/richweather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

richweather

A Python-based command-line application that provides real-time weather information.

Sample Image

Usage:

It is as simple as writing richweather <city-name> Please note that the city name is not case sensitive and there are many ways you can enter it. For example: New York can be written as: New_York new_york NEw_yOrK "New york" NYC

Capabilities:

richweather displays the following info (in order):

Left bar:

  • Current temp
  • Day's max temp
  • Day's min temp
  • Wind speed

Right Column

  • Weather
  • Humidity (in %age)
  • Precepitation (in mm)
  • Moon phase

richweather uses nerdfonts to display the symbols. What I use is JetBrains Mono Nerd Font so I know it works. You can try different nerd fonts to see if your works.

Installation

git clone https://github.com/Rizen54/richweather
cd richweather/
pip install .
mkdir ~/.config/richweather/
cp richweather.yaml ~/.config/richweather/

Configuring

Richweather is configured with a YAML config file in

~/.config/richweather/richweather.yaml

Example Config

This config sets the default city to Ottawa and displays the elements in a weird order. Please note that the first 4 elements are in the left panel and after the 4th element, the next 4 elements are displayed in the right panel.

default_city: Ottawa
element_order:
  - moon_phase
  - humidity
  - weather
  - wind_speed
  - precipitation
  - temperature
  - day_max
  - day_min

Socials

You can checkout my socials at my profile repo. 💬 My Discord server if you're interested in my projs: Rizen's Server

Stars

Please support me by giving a star to this repo.

Small click for a person, giant star for another.

Where does richweather get its data from?

Since richweather uses the python-weather module it gets the data from World Weather Online API

About

A simple python CLI tool to fetch weather of any given city.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages