2016-10-12 07:41:50 +00:00
|
|
|
======================================================================
|
|
|
|
Dependency Injector --- Dependency injection microframework for Python
|
|
|
|
======================================================================
|
2015-04-02 13:17:00 +00:00
|
|
|
|
2016-02-01 21:13:55 +00:00
|
|
|
.. meta::
|
2016-04-23 12:00:06 +00:00
|
|
|
:keywords: Python,DI,Dependency injection,IoC,Inversion of Control
|
2016-04-20 11:19:54 +00:00
|
|
|
:google-site-verification: 6it89zX0_wccKEhAqbAiYQooS95f0BA8YfesHk6bsNA
|
2016-10-12 07:41:50 +00:00
|
|
|
:description: Dependency Injector is a dependency injection microframework
|
|
|
|
for Python. It was designed to be unified, developer-friendly
|
|
|
|
tool that helps to implement dependency injection pattern in
|
2016-11-11 15:05:25 +00:00
|
|
|
formal, pretty, Pythonic way. Dependency Injector framework
|
|
|
|
key features are: Easy, smart, pythonic style; Obvious, clear
|
|
|
|
structure; Extensibility and flexibility; High performance;
|
|
|
|
Memory efficiency; Thread safety; Documentation; Semantic
|
|
|
|
versioning; Dependency Injector providers are implemented as
|
|
|
|
C extension types using Cython.
|
|
|
|
|
|
|
|
.. _index:
|
2016-02-01 21:13:55 +00:00
|
|
|
|
2016-10-12 07:41:50 +00:00
|
|
|
*Dependency Injector* is a dependency injection microframework for Python.
|
|
|
|
It was designed to be unified, developer-friendly tool that helps to implement
|
2016-11-11 15:05:25 +00:00
|
|
|
dependency injection pattern in formal, pretty, Pythonic way.
|
2016-02-04 20:47:45 +00:00
|
|
|
|
2016-03-30 21:40:49 +00:00
|
|
|
*Dependency Injector* framework key features are:
|
2016-02-04 20:47:45 +00:00
|
|
|
|
2016-03-30 21:40:49 +00:00
|
|
|
+ Easy, smart, pythonic style.
|
|
|
|
+ Obvious, clear structure.
|
|
|
|
+ Extensibility and flexibility.
|
2016-11-11 15:05:25 +00:00
|
|
|
+ High performance.
|
2016-03-30 21:40:49 +00:00
|
|
|
+ Memory efficiency.
|
|
|
|
+ Thread safety.
|
|
|
|
+ Documentation.
|
|
|
|
+ Semantic versioning.
|
2016-02-04 20:47:45 +00:00
|
|
|
|
2016-11-11 15:05:25 +00:00
|
|
|
*Dependency Injector* providers are implemented as C extension types using
|
|
|
|
Cython.
|
|
|
|
|
2016-02-04 20:47:45 +00:00
|
|
|
Status
|
|
|
|
------
|
2015-04-02 13:17:00 +00:00
|
|
|
|
2016-10-19 16:26:46 +00:00
|
|
|
+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| *PyPi* | .. image:: https://img.shields.io/pypi/v/dependency_injector.svg |
|
|
|
|
| | :target: https://pypi.python.org/pypi/dependency_injector/ |
|
|
|
|
| | :alt: Latest Version |
|
|
|
|
| | .. image:: https://img.shields.io/pypi/l/dependency_injector.svg |
|
|
|
|
| | :target: https://pypi.python.org/pypi/dependency_injector/ |
|
|
|
|
| | :alt: License |
|
|
|
|
+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| *Python versions and implementations* | .. image:: https://img.shields.io/pypi/pyversions/dependency_injector.svg |
|
|
|
|
| | :target: https://pypi.python.org/pypi/dependency_injector/ |
|
|
|
|
| | :alt: Supported Python versions |
|
|
|
|
| | .. image:: https://img.shields.io/pypi/implementation/dependency_injector.svg |
|
|
|
|
| | :target: https://pypi.python.org/pypi/dependency_injector/ |
|
|
|
|
| | :alt: Supported Python implementations |
|
|
|
|
+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+
|
|
|
|
| *Builds and tests coverage* | .. image:: https://travis-ci.org/ets-labs/python-dependency-injector.svg?branch=master |
|
|
|
|
| | :target: https://travis-ci.org/ets-labs/python-dependency-injector |
|
|
|
|
| | :alt: Build Status |
|
|
|
|
| | .. image:: https://coveralls.io/repos/ets-labs/python-dependency-injector/badge.svg |
|
|
|
|
| | :target: https://coveralls.io/r/ets-labs/python-dependency-injector |
|
|
|
|
| | :alt: Coverage Status |
|
|
|
|
+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+
|
2016-10-19 11:58:11 +00:00
|
|
|
| *Github* | .. image:: https://img.shields.io/github/watchers/ets-labs/python-dependency-injector.svg?style=social&label=Watch |
|
|
|
|
| | :target: https://github.com/ets-labs/python-dependency-injector |
|
|
|
|
| | :alt: Github watchers |
|
|
|
|
| | .. image:: https://img.shields.io/github/stars/ets-labs/python-dependency-injector.svg?style=social&label=Star |
|
|
|
|
| | :target: https://github.com/ets-labs/python-dependency-injector |
|
|
|
|
| | :alt: Github stargazers |
|
|
|
|
| | .. image:: https://img.shields.io/github/forks/ets-labs/python-dependency-injector.svg?style=social&label=Fork |
|
|
|
|
| | :target: https://github.com/ets-labs/python-dependency-injector |
|
|
|
|
| | :alt: Github forks |
|
|
|
|
+---------------------------------------+--------------------------------------------------------------------------------------------------------------------+
|
2015-08-31 13:31:38 +00:00
|
|
|
|
2015-04-02 13:17:00 +00:00
|
|
|
Contents
|
|
|
|
--------
|
|
|
|
|
|
|
|
.. toctree::
|
|
|
|
:maxdepth: 2
|
|
|
|
|
2016-04-04 20:40:28 +00:00
|
|
|
introduction/index
|
2015-08-05 14:24:03 +00:00
|
|
|
main/installation
|
2015-06-10 06:53:15 +00:00
|
|
|
providers/index
|
2016-06-02 21:48:06 +00:00
|
|
|
containers/index
|
2016-04-20 11:19:54 +00:00
|
|
|
examples/index
|
2015-11-13 21:43:36 +00:00
|
|
|
api/index
|
2015-08-05 14:24:03 +00:00
|
|
|
main/feedback
|
|
|
|
main/changelog
|