Python and the Inversion of Control

Inversion of Control, in which software provides a mechanism for other code to plug into, is a powerful way of modularising code. It may sound complicated, but it can be achieved in Python with very little work.

19 Sep 2021 PyCon India
 python  architecture

In this talk I examine three different techniques for inversion of control:

  1. Dependency Injection;
  2. Configuration Registry;
  3. Subscriber Registry.

You may also find it interesting to read my blog post about inversion of control.