Skip to content

mhegelheimer/weather-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Weather-cli

A dead-simple, super wimpy cli weather tool.

Setup

  1. Go to https://openweathermap.org/price, sign up for the free tier and get an api key.
  2. Clone the repo
git clone <repo>

poetry init
poetry build
  1. Navigate to where you'd like to install the package
poetry init
poetry add wheel
poetry add <path/to/dist/weather_cli-0.1.0-py3-none-any.whl>

OR 

pip install <path/to/dist/weather_cli-0.1.0-py3-none-any.whl>
  1. Export your credentials
export API_KEY=<YOUR_API_KEY_FROM_STEP_1>
  1. Use it
╰─ weather_cli london
London, GB [Lat: 51.5085, Lon:-0.1257]

Feels like 37°, Clouds.

Low: 41°
High: 46°
Humidity: 80%

https://openweathermap.org/city/2643743

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages