injector
Python dependency injection framework, inspired by Guice (by python-injector)
dependencies
Constructor injection designed with OOP in mind. (by proofit404)
injector | dependencies | |
---|---|---|
4 | 4 | |
1,199 | 357 | |
2.5% | - | |
6.1 | 0.0 | |
about 2 months ago | about 1 year ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | BSD 2-clause "Simplified" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
injector
Posts with mentions or reviews of injector.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2021-12-13.
- Python update broke GWE with no apparent resolution at the moment, any suggestions? I need to overclock my Nvidia GPU
-
Why isn't Dependency Inversion as common in Python as it is in Java?
I don't have an answer for why it isn't more common, but I used injector in a personal project recently and it was really pleasant. I'll probably try to use it where appropriate at work in the future too.
-
Dependency Injection and Python
Injector
dependencies
Posts with mentions or reviews of dependencies.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-16.
-
Compclasses: prefer composition over inheritance
dependencies: https://github.com/proofit404/dependencies
- How to Write Clean Code (in Python) With SOLID Principles | Principle #2
- Code claimed to be DI without using dependencies module is not DI at all · Issue #499 · proofit404/dependencies
-
Dependency Injection and Python
Dependencies
What are some alternatives?
When comparing injector and dependencies you can also consider the following projects:
kink - Dependency injection container made for Python
Dependency Injector - Dependency injection framework for Python
antidote - Dependency injection for Python
book - A Book about Pythonic Application Architecture Patterns for Managing Complexity. Cosmos is the Opposite of Chaos you see. O'R. wouldn't actually let us call it "Cosmic Python" tho.
pinject - A pythonic dependency injection library.
gwe
serum - Dependency injection framework for Python 3.6
Bevy - A dependency injection framework for Python! Bevy's primary goal is to help you write amazing code with less effort.
diay.py - Dependency injection library for Python.
diator - Diator is a Python library for implementing CQRS pattern in your Python applications.