Python Dependency Injection Framework

后端 未结 18 2187
你的背包
你的背包 2020-12-12 14:10

Is there a framework equivalent to Guice (http://code.google.com/p/google-guice) for Python?

18条回答
  •  遥遥无期
    2020-12-12 14:12

    pinject (https://github.com/google/pinject) is a newer alternative. It seems to be maintained by Google and follows a similar pattern to Guice (https://code.google.com/p/google-guice/), it's Java counterpart.

提交回复
热议问题