tfw you’ve created something that excites you like nothing in years but it feels like you have to write a book first to lay the context to make wide appreciation even possible

@hynek Dependency injection vs service locator

I didn’t have that distinction in mind

In Python i felt most Of the DI libraries were too complex, with type annotation inference and what not.

I ended up using punq, which is actually service locator if I follow these definitions.

It looks like svcs is essentially punq plus generator definition & cleanup functionality?

@florimond Also fun fact: I didn’t know about service locators either. I’ve just implemented one by accident and learned about the concept later.