Source Package: python-injector (0.24.0-1.3)
Python dependency injection framework, inspired by Guice
Dependency injection as a formal pattern is less useful in Python than in other languages, primarily due to its support for keyword arguments, the ease with which objects can be mocked, and its dynamic nature. That said, a framework for assisting in this process can remove a lot of boiler-plate from larger applications. That's where Injector can help. It automatically and transitively provides keyword arguments with their values. As an added benefit, Injector encourages nicely compartmentalised code through the use of Module s. While being inspired by Guice, it does not slavishly replicate its API. Providing a Pythonic API trumps faithfulness.
Package information
- Homepage
- [https://github.com/alecthomas/injector]
- License
- BSD-3-Clause
- Maintainer del pacchetto downstream
- Sconosciuto: non segnalato nella fonte indicizzata
The following binary packages are built from this source package:
- python313-injector
Python dependency injection framework, inspired by Guice
- python314-injector
Python dependency injection framework, inspired by Guice
