injector
Python dependency injection framework, inspired by Guice (by python-injector)
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. (by cosmicpython)
injector | book | |
---|---|---|
4 | 7 | |
1,199 | 3,258 | |
2.5% | 1.6% | |
6.1 | 3.5 | |
about 2 months ago | 2 months ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | GNU General Public License v3.0 or later |
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
book
Posts with mentions or reviews of book.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-20.
-
Can you suggest a Git repo using DDD
Repository
-
[ Design / Architecture ] Applying dependency inversion, Flask vs Django (from Cosmic book)
In chapter 2 of the Cosmic book, they talk about using Flask + SQLAlchemy in classic/imperative mode to enable the application of the dependency inversion principle (DIP).
-
How exactly to structure big projects?
I would recommend you using clean architecture. You can start with the cosmic book.
-
My developer journey so far. Advice is appreciated.
Continue with clean architecture in python
-
Persistence and domain model separation using SQLAlchemy ORM
If you find this subject interesting, here is full implementation: https://github.com/jorzel/opentable/. I also recommend great book and code repository that was inspiration for writing this post: https://github.com/cosmicpython/book.
- Where to pick up non-beginner object-oriented design & Python?
-
Why isn't Dependency Inversion as common in Python as it is in Java?
As the author, I encourage you to read it for free on github https://github.com/cosmicpython/book
What are some alternatives?
When comparing injector and book you can also consider the following projects:
kink - Dependency injection container made for Python
py-must-watch - Must-watch videos about Python
Dependency Injector - Dependency injection framework for Python
opentable - Clean architecture python application sample, with domain layer protected
gwe
voucherapi
dependencies - Constructor injection designed with OOP in mind.
cookiecutter - A cross-platform command-line utility that creates projects from cookiecutters (project templates), e.g. Python package projects, C projects.
Bevy - A dependency injection framework for Python! Bevy's primary goal is to help you write amazing code with less effort.
sample-dotnet-core-cqrs-api - Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.