Faceoff Fun with Python Frameworks: FastAPI vs Flask

Tonya Sims

APIs Development Web

See in schedule: Wed, Jul 28, 15:45-16:15 CEST (30 min)

“All the cool kids are using FastAPI for API development.” Imagine hearing this, just as you start getting more comfortable using other frameworks, like Python’s Django or Flask, to build out your API’s. Ladies and gentlemen, there’s a new kid on the block and in this talk there’s going to be an epic faceoff between FastAPI and Flask.

What is Flask?

Flask is a micro web framework built for Python designed to get your application up and running quickly. It’s lightweight and used by many different well known projects.

What is Fast API?

Fast API (aka the new kid) is a modern Python web framework that takes all your favorite features from other tools and combines them into one. It was built for speed, rapid development and enhanced developer experience.

We’ll do a side by side comparison of the two frameworks including features and code structure, using a REST API. By the end of the faceoff you’ll have a much better understanding of which one you’ll use in your next project.

Let’s analyze the pros and cons of each and why you’d use one over the other. You may even find a lot of similarities between the two and some contrast as well. You’ll see different categories of features for the frameworks and a winner will be chosen for each.

Finally, no matter which you prefer, FastAPI and Flask are both great choices for API development, so let’s have fun and let the faceoff begin.

Type: Talk (30 mins); Python level: Beginner; Domain level: Beginner


Tonya Sims

Vonage

Voted into the Wisconsin Basketball Hall of Fame, former professional and collegiate basketball player turned Pythonista Tonya Sims is currently a Python Developer Advocate at Vonage.

She considers herself to be humble and down to earth as well as having a great deal of empathy. With an eclectic background in business, pharmaceutical sales and as a self taught developer it has allowed her to see the world from many different perspectives.

Tonya started her technology career working as an executive assistant for a leading financial investments company in their IT department. She transitioned into a computer operator role and started learning how to code. Eventually she worked her way up from an entry-level position to earn roles as a software engineer in test and software developer contracting with some of the top financial services companies in Chicago.

She is passionate about helping other budding engineers and loves to see people succeed. When she’s not working she enjoys playing the piano, watching documentaries and listening to music.