Used to text myself when long-running ML training has finished. Simply call my_twilio.text_me("Training Finished!")
to receive an SMS message.
Sign up for an account on twilio.com. The free trial includes $25 of credit. At a price of about 1c per text, this is about 2500 notifications.
git clone https://github.com/blengerich/my_twilio
cd my_twilio
pip install -e .
Copy the config file to a private file that will contain the information from your Twilio account:
cp config_template.py config.py
vim config.py
Do NOT share config.py (it is ignored by .gitignore by default).
>>> import my_twilio
>>> my_twilio.text_me("Training Finished!")