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 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page