Skip to main content

A Python package which scrapes weather data from google and sends umbrella reminders to specified email at specified time daily.

Project description

Scraping weather data using Python to receive umbrella reminders

forthebadge made-with-python
Python 3.6

Functionality of the UmbrellaReminder Package

This package contains methods that scrape weather data using Python and sends umbrella reminders to specified email at specified time daily. If the weather condition is rainy or cloudy it will send you an "umbrella reminder" to your email reminding you to pack an umbrella before leaving the house. This package scrapes weather information from Google using bs4 and requests libraries in python.

Usage

  • Make sure you have Python installed in your system.
  • Run Following command in the CMD.
 pip install UmbrellaReminder

Example

from UmbrellaReminder import setumbrellaReminder
setumbrellaReminder("EMAIL", "PASSWORD","LOCATION","TIME")

Note

  • Note: When you execute this program it will throw you a smtplib.SMTPAuthenticationError and also sends you a Critical Security alert to your email because, In a nutshell, Google is not allowing you to log in via smtplib because it has flagged this sort of login as "less secure", so what you have to do is go to this link "https://myaccount.google.com/lesssecureapps" while you're logged in to your google account, and allow the access.
  • I have tried to implement all the functionality, it might have some bugs also. Ignore that or please try to solve that bug.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

UmbrellaReminder-0.0.2.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

UmbrellaReminder-0.0.2-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page