Asynchronous Tasks Using Flask, Redis, and Celery

Introduction As web applications evolve and their usage increases, the use-cases also diversify. We are now building and using websites for more complex tasks than ever before. Some of these tasks can be processed and feedback relayed to the users instantly, while others require further processing and relaying of results later. The increased adoption of internet access and internet-capable devices has led to increased end-user traffic. In a bid to handle increased traffic or increased complexity of functionality, sometimes we […]

Read more

How to Send an Email with boto and SES

Introduction Pretty much every user-based app and website needs to send an email to the user at some point, so eventually you’ll have to deal with the joyous world of programmatic emailing. There are quite a few services popping up to help you with this, but with every app having its own unique requirements, few of these services adequately get the job done. So having faced the problem a few times (and in a few languages), I decided to write […]

Read more

How to Send Emails with Gmail using Python

There are quite a few ways to send email with Python, whether it be through a 3rd party library like with boto and SES, or through an email protocol like SMTP. While the subject of using Python to send emails may seem like it’s been done to death, there are just so many different ways to do it and so many issues that can come up. I thought it would be helpful to write up a tutorial on how to […]

Read more