We are currently in the process of updating this sample template. If you are encountering any issues with the sample, please open an issue at github.com/twilio-labs/code-exchange/issues and we'll try to help you.
Simple phone verification with Python, Flask, and Twilio Verify.
Full Quickstart instructions available at https://www.twilio.com/docs/verify/api-beta/quickstarts/python-flask
python3 -m venv venv
. venv/bin/activate
Or on Windows cmd:
py -3 -m venv venv
venv\Scripts\activate.bat
Install Verify:
pip install -r requirements.txt
export FLASK_APP=verify
export FLASK_ENV=development
flask init-db
flask run
Or on Windows cmd:
set FLASK_APP=verify
set FLASK_ENV=development
flask init-db
flask run
Open http://127.0.0.1:5000 in a browser.
- No warranty expressed or implied. Software is as is. Diggity.
- MIT License
- Lovingly crafted by Twilio Developer Education.