Skip to main content
EuroPythonCode of ConductLive 📹

Clean Architectures in Python

Liffey A
Start (Dublin time):
Start (your time):
45 minutes


A brief talk that introduces software developers to the idea of "clean architecture" and discusses how to reduce coupling between parts of a software system through well-known strategies such as abstraction and inversion of control.

TalkSoftware Engineering & Architecture


Architectural considerations are often overlooked by developers or completely delegated to a framework. We should start once again discussing how applications are structured, how components are connected and how to lower coupling between different parts of a system, to avoid creating software that cannot easily be maintained or changed. The "clean architecture" model predates Robert Martin, who recently brought it back to the attention of the community, and is a way of structuring applications that leverages layers separation and internal APIs to achieve a very tidy, fully-tested, and loosely coupled system.

The talk introduces the main ideas of the architecture, showing how the layers can be implemented in Python, following the content of the book "Clean Architectures in Python" edited by Leanpub. The book recently reached 25,000 downloads and many readers found it useful to start learning how to test software and how to structure an application without relying entirely on the framework.

The speaker

Leonardo Giordani

Born in 1977 together with Star Wars, bash, Apple ][, Dire Straits, The Silmarillion, and many other great things.

I started coding in April 1987 on a Sinclair ZX Spectrum. I then moved to MS-DOS PCs and in 1996 I started using Linux and became interested in operating system internals. I love software architectures, algorithms, mathematics and cryptography.

I’m mainly interested in open source software. I like both the theoretical and practical aspects of computer science.

I am currently working as a contractor DevOps and Python developer while I design a DevOps bootcamp that I will run in London from October 2022.

From 2013 I blog some technical thoughts at

In 2018 I published the free book “Clean Architectures in Python”

← Back to schedule