Writing a Python autoreloader

Tom Forbes

Architecture Development Django Python 3 Software Design

See in schedule Download Slides

Reloading your code changes quickly is an integral part of the development experience in frameworks like Django and Flask that developers have come to rely on. But how do they work under the hood and what challenges do you face while writing one?

In this talk I will explore how I refactored the autoreload implementation in Django 2.2 and the lessons I learned along the way (hint: it's surprisingly complex!). I will also be introducing a library I've developed to simplify this if you ever find yourself writing your own.

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

Tom Forbes


About 14 years ago I picked up Python almost by accident and fell in love. Since then I've worked in the security industry, writing bespoke tools for various companies, before joining Onfido to help them revolutionise identity verification.