A dead-simple, super wimpy cli weather tool.
- Go to https://openweathermap.org/price, sign up for the free tier and get an api key.
- Clone the repo
git clone <repo>
poetry init
poetry build
- 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>
- Export your credentials
export API_KEY=<YOUR_API_KEY_FROM_STEP_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