Developer Digest: Automating Wedding Stress Away in Python

Old things are new again, just new in a different way. That old NES you used to play Super Mario Bros on…? Well Andrew Reitano’s newly-hacked NES lets strangers turn any level into a water level with one text. This issue of the Developer Digest celebrates the developers making the old new and novel, from fax machines, to wedding invitations, to that trusty old password you… Read More

Next Generation Python Helper Library Release

Today, we are excited to announce the general availability of our next-generation Python helper library. The approach The Python library offers new functionality and takes advantage of modern Python language features. We’ve rebuilt it from the ground up based on the developer feedback we received from you. This release is the latest addition to the next-generation SDK family. We recently released new versions of PHP, Java,… Read More

Wedding at Scale: How I Used Twilio, Python and Google to Automate My Wedding

September 3, 2016 was just another day for most of the world but to me it will always be memorable as the day that I married my partner. There are many different aspects to consider while planning a wedding. Food, decor, table fixtures (oh yes these are separate from decor), flowers, accommodation, transportation, entertainment, and location. Whilst there are many unknowns when planning a wedding, I could… Read More

Building Python web apps with Flask

When getting started with web development in Python, Flask is a great choice due to its lightweight nature. There is already a solid “Hello World” style quickstart in the Flask docs, so let’s walk through building an application with more functionality. We are going to build a Flask app using the Twilio REST API that will receive SMS messages containing a song title and respond with a phone… Read More

Stripe SMS Notifications via Twilio, Heroku, and Python

I recently started a small business using the online platform Storenvy. Storenvy integrates with Stripe, a popular online payments platform. As a small business owner, receiving notifications as soon as orders come in is critical. Emails are easy to miss, forget about, or overlook, but one thing I never fail to read is a text message. What if it were possible to receive a text message… Read More

Google Spreadsheets and Python

This post is inspired by Patrick McKenzie’s reminder that sometimes you don’t need a database: So if you’re building out a quick CRUD app for e.g. internal use, Google Docs as a backend (consumed via JSON) is *surprisingly* powerful. — Patrick McKenzie (@patio11) July 5, 2014 In this tutorial, we’ll use Anton Burnashev’s excellent gspread Python package to read, write, and delete data from a Google Spreadsheet with… Read More

Getting started with Sanic: the asynchronous, uvloop based web framework for Python 3.5+

uvloop has been making waves in the Python world lately as a blazingly fast drop-in for asyncio’s default event loop. Sanic is a Flask-like, uvloop-based web framework that’s written to go fast. It is also named after the popular Sanic Internet meme, a poorly drawn version of Sonic the Hedgehog. Sanic is made for Python 3.5 . The framework allows you to take advantage of async/await syntax for defining… Read More

Build Stranger Things Lights with Firebase, Zapier and Twilio

It’s a 2,280 trek from my desk to Indiana, the home state of Stranger Things. I will forgo any attempt to calculate my commute to the Upside Down. Not only do I have no interest in grappling with the Demogorgon, but any respected physicist will tell you it’s hard to pin down the Upside Down’s coordinates. It could be beneath me at this very moment, or… Read More

How to Hang Up Currently Active Twilio Phone Calls with Python

In case you found this in an emergency, here is all of the code you need to hang up all currently in progress, ringing or queued phone calls:

In order for this to work, make sure you grab your Account SID and Auth Token from your Twilio Console and set them as environment variables:

Why would I need to do this? Sometimes when testing your code… Read More