Flasgger – API playground with Flask and Swagger UI

What is Swagger? Swagger is a simple yet powerful representation of your RESTful API. With the largest ecosystem of API tooling on the planet, thousands of developers are supporting Swagger in almost every modern programming language and deployment environment. With a Swagger-enabled API, you get interactive documentation, client SDK generation and discoverability. What is Swagger […]

Read More

Python-driven Web Applications

This tutorial explores how to create dynamic web applications with Python. Originally published in Real Python Course 1: Introduction to Python Web Applications You know how to write useful Python scripts, and now you want to show them off to the world… but how? Most non-programmers won’t have any use for your .py script files. […]

Read More

Scaffold a Flask Project

Let’s build a command-line utility for quickly generating a Flask boilerplate structure. This is a collaboration piece between Depado and the folks at Real Python. Modeled after the Flask-Skeleton project, this tool will automate a number of repetitive tasks so that you can quickly get a Flask project up and running with the structure, extensions, […]

Read More

Using Flask Cache

As a micro framework Flask does not have built-in cache functionality, however, there is werkzeug cache API and an excellent extension to provide its caching functionality to your Flask apps, that extension was created by @thadeusb and is very easy to implement and use. installing In your env install it via PyPI (recommended) pip install […]

Read More

Django, Flask, and Redis Tutorial: Web Application Session Management Between Python Frameworks

I love and use Django in lots of my personal and client projects, mostly for those involving relational databases and more classical web applications. However, by design, Django is very tightly coupled with its ORM, Template Engine System, and Settings object. Plus, it’s not a new project: it carries a lot of baggage from the […]

Read More