{"categories":[{"label":"Application Frameworks","url":"https://skillfed.io/packages/category/software-development-libraries-application-frameworks"}],"enrichment":{"capability":"Injector is a Python dependency injection framework that automatically resolves and provides dependencies to your code, reducing boilerplate in larger applications through constructor injection and modular configuration.","skillfed_tags":["dependency-injection","inversion-of-control","application-architecture"],"use_cases":["Decoupling configuration and database initialization in web applications or services","Automatically providing shared resources like database connections to multiple handlers","Building testable code by swapping real implementations for mocks through different Injector configurations","Organizing large codebases into modules with clear dependency boundaries and reusable components","Reducing constructor boilerplate when many classes need the same set of dependencies"],"what_it_does":"Injector is a dependency injection framework that automatically wires dependencies into your classes and functions, inspired by Guice but designed for Python idioms. Rather than manually passing dependencies or relying on global state, you declare what your code needs via type hints, and Injector constructs and provides those dependencies for you. It supports scoping like singletons, custom providers, and modular configuration through Module classes, making it particularly useful for decoupling configuration from business logic and reducing boilerplate in larger applications.\n\nThe framework emphasizes simplicity and non-intrusiveness: your classes remain standard Python classes that can be instantiated manually if needed, and the framework avoids global state by requiring explicit Injector instances. It cooperates with static type checkers, allowing type-safe dependency retrieval. The main runtime dependency is typing_extensions, making installation straightforward with low friction.","worth_installing":"Yes. Injector is actively maintained, has no known vulnerabilities, low install friction, and a permissive license. It's worth installing if you're building a larger application where dependency injection reduces boilerplate and improves testability; for small scripts or projects where manual dependency passing is simpler, it adds unnecessary overhead."},"id":"injector","links":{"html":"https://skillfed.io/packages/injector","md":"https://skillfed.io/packages/injector.md","pypi":"https://pypi.org/project/injector/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-09","license_spdx":null,"license_treatment":"permissive","name":"injector","python_support":"unspecified","summary":"Injector - Python dependency injection framework, inspired by Guice"},"popularity":{"monthly_downloads":4042933,"position":2391,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.24.0"}
