<s> import sys <EOL> from neupy . helpers . logs import Verbose <EOL> __all__ = ( '<STR_LIT>' , ) <EOL> def twilio_sms ( account_id , token , to_phone , from_phone , verbose = True ) : <EOL> """<STR_LIT>""" <EOL> logs = Verbose ( verbose = verbose ) . logs <EOL> try : <EOL> import twilio <EOL> except ImportError : <EOL> logs . error ( "<STR_LIT>" ) <EOL> logs . simple ( "<STR_LIT>" ) <EOL> sys . exit ( ) <EOL> def send_message ( text_message ) : <EOL> formated_message = "<STR_LIT>" . format ( text_message ) <EOL> logs . message ( "<STR_LIT>" , formated_message ) <EOL> client = twilio . rest . TwilioRestClient ( account_id , token ) <EOL> message = client . messages . create ( body = text_message , to = to_phone , <EOL> from_ = from_phone ) <EOL> return message <EOL> return send_message </s>
