Blog Tutorials

The Python, AWS Lambda and Sentry logos are copyright their respective owners.

Application Performance Monitoring AWS Lambda Functions with Sentry

Post updated by Matt Makai on August 26, 2021. Originally posted on August 23, 2021.

Amazon Web Services (AWS) Lambda is a usage-based computing infrastructure service that can execute Python 3 code. One of the challenges of this environment is ensuring efficient performance of your Lambda Functions. Application performance monitoring (APM) is particularly... (read more)

The Python, AWS Lambda and Sentry logos are copyright their respective owners.

How to Monitor Python Functions on AWS Lambda with Sentry

Post updated by Matt Makai on April 23, 2021. Originally posted on April 22, 2021.

Amazon Web Services (AWS) Lambda is a usage-based compute service that can run Python 3 code. Errors can happen in any environment you are running your application in, so it is necessary to have reliable monitoring in place to have visibility... (read more)

Logos for the implementations used in this blog post. Copyright their respective owners.

Using Django & AssemblyAI for More Accurate Twilio Call Transcriptions

Post updated by Matt Makai on September 13, 2021. Originally posted on January 05, 2021.

Recording phone calls with one or more participants is easy with Twilio's Programmable Voice API, but the speech-to-text accuracy can be poor, especially for transcription of words... (read more)

Logos for the implementations used in this blog post. Copyright their respective owners.

Higher Accuracy Twilio Voice Transcriptions with Python and Flask

Posted by Matt Makai on October 10, 2020.

Twilio's Programmable Voice API is commonly used to initiate and receive phone calls, but the transcription accuracy for recordings often leaves a lot to be desired. In this tutorial, we'll see how to connect an outbound phone... (read more)

Logos for the implementations used in this blog post. Copyright their respective owners.

Using Sentry to Handle Python Exceptions in Django Projects

Posted by Matt Makai on August 23, 2020.

Web applications built in Django can become sprawlingly complex over time, which is one reason why centralized error handling is important. This tutorial will guide you through adding a free, basic Sentry configuration to a new Django project.

When we're done, you will be able to view centralized error... (read more)

Logos for the implementations used in this blog post. Copyright their respective owners.

How to Transcribe Speech Recordings into Text with Python

Post updated by Matt Makai on September 13, 2021. Originally posted on August 09, 2020.

When you have a recording where one or more people are talking, it's useful to have a highly accurate and automated way to extract the spoken words into text. Once you have the text, you can use it for further analysis or as an accessibility feature.

In this tutorial, we'll use a high accuracy speech-to-text web... (read more)

Logos for the implementations used in this blog post. Copyright their respective owners.

Tracking Daily User Data in Django with django-user-visit

Posted by Matt Makai on July 19, 2020.

It can be tedious to figure out what data to track, create data models and build middleware for your Django project if you just want to collect some basic information about clients that connect to your web application . Fortunately, the... (read more)

Logos for the implementations used in this blog post. Copyright their respective owners.

Quickly Use Bootstrap 4 in a Django Template with a CDN

Posted by Matt Makai on July 05, 2020.

The Django web framework makes it easy to render HTML using the Django template engine. However, the default styling on HTML pages usually need a Cascading Style Sheet (CSS) framework such as... (read more)

Logos for the implementations used in this blog post. Copyright their respective owners.

How to Report Errors in Flask Web Apps with Sentry

Post updated by Matt Makai on July 02, 2020. Originally posted on June 30, 2020.

Flask web applications are highly customizable by developers thanks to the framework's extension-based architecture, but that flexibility can sometimes lead to more errors when you run the application due to rough edges between the libraries.

Reporting errors is crucial to... (read more)

Python and Sentry logos. Copyright their respective owners.

Reporting Exceptions in Python Scripts with Sentry

Posted by Matt Makai on May 25, 2020.

Python scripts are the glue that keep many applications and their infrastructure running, but when one of your scripts throws an exception you may not know about it immediately unless you have a central place to aggregate the errors. That's where adding Sentry can solved this distributed error logging... (read more)

pandas and SQLite logos. Copyright their respective owners.

Exporting pandas DataFrames into SQLite with SQLAlchemy

Posted by Matt Makai on March 30, 2020.

It is common when performing exploratory data analysis, for example when examining COVID-19 data with pandas, to load from files like a CSV, XML, or JSON into a pandas DataFrame. You may then do some work... (read more)

pandas logo. Copyright the PyData Foundation.

Learning pandas by Exploring COVID-19 Data

Posted by Matt Makai on March 28, 2020.

The European Centre for Disease Prevention and Control provides daily-updated worldwide COVID-19 data that is easy to download in JSON, CSV or XML formats. In this... (read more)

Python programming language and Full Stack Python logos.

The Best Resources for Developers to Learn Finance

Posted by Matt Makai on March 08, 2020.

Software developers should understand the basics of finance not only to manage their own money but also to understand how businesses' software projects are funded.

Understanding how other people who work in accounting, finance and project management think about business and finance in particular can help you make better... (read more)