← 返回首页
Blog - Full Stack Python

Blog Tutorials

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

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)

Basic Data Types in Python 3: Booleans

Posted by Kevin Whinnery on November 15, 2019.

Welcome back to our ongoing series of blog posts on basic data types in Python 3! Last time, we explored the functionality of strings. Today, we dive in to another key data type - booleans. Booleans (and "boolean logic") are an important concept in... (read more)

Basic Data Types in Python 3: Strings

Posted by Kevin Whinnery on October 18, 2019.

There is a lot to learn on your Python journey when you are new to the programming language. Once you are comfortable writing and executing code, your first stop becomes understanding how to represent data in your code. No matter the language, there are a few basic data types you'll use all the time... (read more)

Developer-led Sales for Startups

Post updated by Matt Makai on July 11, 2019. Originally posted on June 26, 2019.

This blog post contains the slides along with a loose transcript from my talk on the promises and perils of developer-led sales as an early-stage company method to acquire customers.

I gave this talk remotely to Ubiquity.VC portfolio company startup founders and the Extended Team on June 26,... (read more)

Introduction to Ansible video course released!

Posted by Matt Makai on January 13, 2019.

Check out the just-launched video course, Introduction to Ansible on Talk Python Training. This is the perfect course for you if you want to learn to configure servers and deploy web apps... (read more)

Adding Okta Authentication to an Existing Flask Web App

Post updated by Matt Makai on November 02, 2018. Originally posted on October 31, 2018.

It can be a lot of work to piece together a full authentication system if you have an existing Flask web application that you are coding. Okta makes it much easier to drop-in a complete user authentication system without a lot of additional effort. In this tutorial we... (read more)

Fresh Tutorials on Full Stack Python

Posted by Matt Makai on October 22, 2018.

There are a bunch of new tutorials on Full Stack Python that were written since the last time I sent out an email newsletter. These range from getting started with some popular open source projects to integrating third party APIs to... (read more)

How to Provision Ubuntu 18.04 LTS Linux Servers on DigitalOcean

Posted by Matt Makai on October 14, 2018.

Python web applications need to be deployed to a production server or service so your users have access to the application.

DigitalOcean is one such... (read more)

How to Add User Authentication to Flask Apps with Okta

Post updated by Matt Makai on October 10, 2018. Originally posted on October 08, 2018.

User authentication is a basic feature in web applications so people can create and access their own accounts. Unfortunately, authentication is not always easy to set up and there are many ways to incorrectly implement login and logout features.

This tutorial walks through how to use the