[PR #704] [CLOSED] Add Injector #637

Closed
opened 2025-11-06 12:59:27 -06:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/vinta/awesome-python/pull/704
Author: @karlicoss
Created: 8/25/2016
Status: Closed

Base: masterHead: kmaster


📝 Commits (1)

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 README.md (+1 -0)

📄 Description

What is this Python project?

Injector is a dependency injection framework for Python.

What's the difference between this Python project and similar ones?

  • Injector is maintained unlike most of the other DI framework for Python
  • Provides scopes (e.g. @singleton) which restrict the lifetime of your dependencies. You can also implement your own scopes, suitable for your problem.
  • Easy to configure, and has several ways of providing dependencies, so you can choose the most suitable one for your problem
  • Exploits Python 3 type annotations which makes injection syntax natural and removes a lot of boilerplate, you just have to annotate the constructor

Anyone who agrees with this pull request could vote for it by adding a 👍 to it, and usually, the maintainer will merge it when votes reach 20.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/vinta/awesome-python/pull/704 **Author:** [@karlicoss](https://github.com/karlicoss) **Created:** 8/25/2016 **Status:** ❌ Closed **Base:** `master` ← **Head:** `kmaster` --- ### 📝 Commits (1) - [`b711d6d`](https://github.com/vinta/awesome-python/commit/b711d6d7aa8f04d8ba463f966498282a916c29f0) Add Injector ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -0) </details> ### 📄 Description ## What is this Python project? Injector is a dependency injection framework for Python. ## What's the difference between this Python project and similar ones? - Injector is maintained unlike most of the other DI framework for Python - Provides scopes (e.g. `@singleton`) which restrict the lifetime of your dependencies. You can also implement your own scopes, suitable for your problem. - Easy to configure, and has several ways of providing dependencies, so you can choose the most suitable one for your problem - Exploits Python 3 type annotations which makes injection syntax natural and removes a lot of boilerplate, you just have to annotate the constructor ## Anyone who agrees with this pull request could vote for it by adding a :+1: to it, and usually, the maintainer will merge it when votes reach **20**. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2025-11-06 12:59:27 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/awesome-python#637