mhaddon / weather-reporter

Simple weather reporter for the cli made in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Weather Reporter

This is a simple project written in Python to learn the capabilities and functionality of the language.

It prints out a simple display about the current location and weather of the user to the CLI.

This repo contains install scripts, which run this command every time a new terminal window is opened.

You have to provide an environment variable "OPEN_WEATHER_MAPS_API_KEY", in order for the script for operate.

Environments

  • OPEN_WEATHER_MAPS_API_KEY - obtain key from here: https://openweathermap.org/api
  • CACHE_LOCATION - location on your hdd for the application to cache the api requests
  • CACHE_INVALIDATION_PERIOD - how long the cache will stay valid for, in seconds

About

Simple weather reporter for the cli made in Python


Languages

Language:Python 91.2%Language:Shell 5.7%Language:Dockerfile 3.2%