This module helps to send birthday reminder to all DB members. Currently this module allows you to send reminder using email, sms and hangout messages.
$ git clone https://github.com/asifpy/python-bdayreminder
$ cd bdayreminder
In-order to setup all the available services of this module, you need to update config.ini with your GMAIL and WAY2SMS credentials.
- Create your seperate virtual env and activate it
- Install requirements: pip install -r requirements.txt
$ python3 bdayreminder/manage.py --help
usage: Birthday Reminder [-h]
optional arguments:
-h, --help show this help message and exit
Choices supports the following:
syncdb - Creates new sqlite DB with person table
loadsampledata - Loads sample data from db/sample_data.py
loadexceldata - loads excel data from db/data/yourexcel.xlsx
runallreminders - Run reminder for email, sms and hangout
runemailreminder - Run reminder with only email
runsmsreminder - Run reminder with only sms
runhangoutreminder - Run reminder with only hangout message
Use the below command to create sqlite DB with Person
.
$ python3 bdayreminder/manage.py syncdb
Update the bdayreminder/db/loader.py
for your own sample data and then run the below command.
$ python3 bdayreminder/manage.py loadsampledata
Run the below command to send Email reminder
$ python3 bdayreminder/manage.py runemailreminder
Run the below command to send hangout reminder
$ python3 bdayreminder/manage.py runhangoutreminder
Run the below command to send sms reminder
$ python3 bdayreminder/manage.py runsmsreminder
Run the below script to send reminders using email, sms and hangout:
$ python3 bdayreminder/manage.py runallreminders