Dependency injection framework for Python
-
Updated
Jun 5, 2024 - Python
Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency's implementation from the class that's using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn't need to care which of the implementations is used. This is also especially useful for unit testing.
There are different types of dependency injection:
Dependency injection framework for Python
Python dependency injection framework, inspired by Guice
Dependency injection container made for Python
Fire up your models with the flame 🔥
A Flexible Service Locator for Python.
FastDepends - FastAPI Dependency Injection system extracted from FastAPI and cleared of all HTTP logic. Async and sync modes are both supported.
Implementation of dependency injection for Python 3
A Clean Architecture Practice with Flask REST API
Python Dependency Injection for Humans™
provides a class-based View decorator to help reduce the amount of boilerplate necessary when developing related routes. ✨🚀
Real world Fast-API application template using gino(Async ORM) based on hexagonal architecture
Dependency injection for Python
A flexible command framework designed to extend the Hikari experience
Dependency injection framework for Python 3.6
iPOPO: a Service-Oriented Component Model for Python
A dependency injection framework for Python! Bevy's primary goal is to help you write amazing code with less effort.
Python library to work with algebraic effects
Dependency injection library for Python
Created by Martin Fowler
Released January 23, 2004