injector icon indicating copy to clipboard operation
injector copied to clipboard

Python dependency injection framework, inspired by Guice

Results 64 injector issues
Sort by recently updated
recently updated
newest added
trafficstars

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...

# Steps To Reproduce `test.py`: ```python #!/usr/bin/env python3 import injector as _injector import test2 @_injector.inject @_injector.noninjectable('body') def patch(body: test2.RecursiveDict) -> None: ... injector = _injector.Injector() injector.call_with_injection(patch, kwargs={"body": {}}) ``` `test2.py`:...

Bumps [zipp](https://github.com/jaraco/zipp) from 3.17.0 to 3.19.1. Changelog Sourced from zipp's changelog. v3.19.1 Bugfixes Improved handling of malformed zip files. (#119) v3.19.0 Features Implement is_symlink. (#117) v3.18.2 No significant changes. v3.18.1...

dependencies

So despite my recent claim to the contrary, I've realized that I don't have time or dedication to actively maintain this project anymore – not the least of reasons for...

Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.2 to 2.5.0. Release notes Sourced from urllib3's releases. 2.5.0 πŸš€ urllib3 is fundraising for HTTP/2 support urllib3 is raising ~$40,000 USD to release HTTP/2 support and...

dependencies
python

Bumps [requests](https://github.com/psf/requests) from 2.32.2 to 2.32.4. Release notes Sourced from requests's releases. v2.32.4 2.32.4 (2025-06-10) Security CVE-2024-47081 Fixed an issue where a maliciously crafted URL and trusted environment will retrieve...

dependencies
python

There is a problem injecting annotated type. I created a test for that to demonstrate. Shortly: we should not replace annotated type with its origin while building bindings if the...