Token-Based Authentication with Flask

This tutorial takes a test-first approach to implementing token-based authentication in a Flask app using JSON Web Tokens (JWTs). Objectives By the end of this tutorial, you will be able to… Discuss the benefits of using JWTs versus sessions and cookies for authentication Implement user authentication with JWTs Blacklist user tokens when necessary Write tests […]

Read More

Projects Update: July 2016

About a quarter ago (April), I posted my first regular update on all of the various projects I’m working on.  As side projects tend to go, some fall into and out of favor, and occasionally new ones crop up.  As I develop on projects, I post regular updates, but it’s helpful to me (and hopefully […]

Read More

Growing Pedal Wrencher

In the past I’ve posted a few times about the creation and stagnation of a project of mine, pedal wrencher.  In recent months I’ve taken a more structured approach to iteratively improving the app and the plan is to share the lessons learned along the way a bit more freely going forward.  This is a […]

Read More

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