Pythonic Dependency Injection With Google’s Pinject

Ganesh Iyer
Sep 1, 2020 · 2 min read
Photo by Murilo Silva on Unsplash

Dependency Injection(DI) is a set of software design principles that enable engineers to develop loosely coupled code. This stack overflow post is the best ELI5 description of DI:

When you go and get things out of the refrigerator for yourself, you can cause problems. You might leave the door open, you might get something Mommy or Daddy doesn’t want you to have. You might