python-injector/injector
Python dependency injection framework, inspired by Guice observed · 2026-08-28
Health v2 · maintenance only
80/100
- Activity 92
- Release rhythm 53
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: 41
- age_days: 5760
- days_rel: 236
- days_push: 53
- n_releases_24m: 2
Adoption not part of the score
1537 stars · 95 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Python dependency injection framework inspired by Google's Guice. It automatically and transitively provides dependencies, reducing boilerplate in larger applications while encouraging modular code through modules.
Use cases
- manage dependencies in a large python application
- reduce constructor boilerplate with automatic injection
- wire up services with type-hint based DI
- replace manual singleton and factory patterns
- organize bindings into modules like Guice
- statically type-checked dependency injection in python
When to choose
- you want a Pythonic, Guice-inspired DI framework with static type checking support
- you need multiple independent injector instances without global state
- you want nonintrusive DI that keeps constructors usable manually
When to avoid
- your project is small and manual keyword-argument injection suffices
- you need member or method injection features
- you prefer a DI framework with global container access
Facets
library · maturity stable
developer-tools developer-tools backend web-development python cross-platform dependency-injection guice-inspired type-hints inversion-of-control
1 source
- readme: https://github.com/python-injector/injector · fetched 2026-08-28 · 98299a1affca
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| python-injector/injector | main | 80 |
For agents
markdown · JSON · MCP: product_card(name="python-injector/injector")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem