injector icon indicating copy to clipboard operation
injector copied to clipboard

Python dependency injection framework, inspired by Guice

Results 54 injector issues
Sort by recently updated
recently updated
newest added

I tried to make a minimal example on how to automatically free resources with a custom `Scope`. Since I'm still learning how to use the python-injector, there may be many...

Hi all, I come from the dependency injector library, and recently I've been exploring another library to see if it could potentially replace dependency injector altogether. I find it quite...

Bumps [black](https://github.com/psf/black) from 23.3.0 to 24.3.0. Release notes Sourced from black's releases. 24.3.0 Highlights This release is a milestone: it fixes Black's first CVE security vulnerability. If you run Black...

dependencies

As stated in this[ closed bug](https://github.com/pydantic/pydantic-settings/issues/298#event-13033929148) at `pydantic-settings`, i cannot achieve an initialization through `injector` on python 3.8 and 3.9 (works ok on 3.10+) without a factory method. The issue...