Verification SMS sent from Google Voice account to a given phone number. Useful for unique user account creation and/or 2FA.
- Python3 (with Venv)
- ChromeDriver (Chromium)
- Gmail Account (w/o 2FA)
- Google Voice Account activated. Sign up and activate and account here
- selenium
- webdriver_manager
- One SMS process handler. If busy, error will be thrown.
- Synchronized calls.
To install on pip, simply do
pip install -e .
from verification_sms import VerificationSMS
vm = VerificationSMS()
# email - Google Voice activated account email
# password - Google Voice activated account password
# phone - Phone number to receive the verification code
# vcode - Verification code sent to phone number
vm.send_message(email, password, phone, vcode)
Check example/flaskr
for a working application that implements the functionality on a blog account from the official Flask tutorial.
Follow example/README.md
to properly run the Flask example.