Python application that displays weather, headlines, emails, calendar and instagram feed.
-
getLoc: Method to get the current location of the user. the methods makes an http request to recieve the coordinates(lat, lon) in json file format. This method shall be used by various classes in the present and the future modules.
-
timeUpdate: Class containing methods to get the current time, date and day of week (Currently im using the system time using the time class in python, but i will soon replace it with the ntp time).
- getTime: Method calling the inbuilt time class to get the system time. This method also displays the current city and state
-
weatherUpdate, Class containing methods to get current conditions, forecast & historical data for analysis from the OpenWeatherMap API. This data shall be analysed (MK-II) using the NumPy library functions and plotted using matplotlib functions to show historical trends.
- getWeather: Method Calling the weather API to get the current conditions for the given location passing (lat, lon) as arguments every 20 minutes
-
newsUpdate: Class containing methods to get the latest news headlines and a short descirption of the news. The Class uses the feedparser to parse through the RSS feed (I have used the Reuters World News feed) and extract the plain text data which are used as headlines.
- getNews: Method calling the RSS feed to get the latest headlines from the world news. It uses the feedparser library to parse through the webpage and extract text from the <title>& <summary> tags (in this case) to be used as the News Headlines.
Initialization of the frame labels is buggy (workin on it). Initialization of labels follow a recursive pattern (5,5,3,3,4,5)
-
forecastUpdate: Class containing method to get the forecast from the API to display and then store in a database for future prediction.