from googlevoice import Voice
from googlevoice.util import input

def send(number, message):
    user = 'user@gmail.com'
password = 'password'
voice = Voice()
voice.login(user, password)
voice.send_sms(number, message)
How to send SMS using Python/Django application?