Created by: karlicoss
What is this Python project?
Injector is a dependency injection framework for Python.
What's the difference between this Python project and similar ones?
- Injector is maintained unlike most of the other DI framework for Python
- Provides scopes (e.g.
@singleton
) which restrict the lifetime of your dependencies. You can also implement your own scopes, suitable for your problem. - Easy to configure, and has several ways of providing dependencies, so you can choose the most suitable one for your problem
- Exploits Python 3 type annotations which makes injection syntax natural and removes a lot of boilerplate, you just have to annotate the constructor
Anyone who agrees with this pull request could vote for it by adding a