Skip to main content

Python Code Dependency Injection

Project description

=====
PyCDI
=====

.. image:: https://travis-ci.org/ettoreleandrotognoli/python-cdi.svg?branch=master
:target: https://travis-ci.org/ettoreleandrotognoli/python-cdi

.. image:: https://codecov.io/gh/ettoreleandrotognoli/python-cdi/branch/master/graph/badge.svg
:target: https://codecov.io/gh/ettoreleandrotognoli/python-cdi

.. image:: https://badge.fury.io/py/pycdi.svg
:target: https://badge.fury.io/py/pycdi

A simple Python CDI ( Code Dependency Injection) Library.

Install
-------

Install stable pycdi

.. code-block:: shell

pip install pycdi

Install latest pycdi

.. code-block:: shell

pip install git+https://github.com/ettoreleandrotognoli/python-cdi

Usage
-----

A simple_ example

.. _simple: ./examples/simple.py

.. include:: ./examples/simple.py
:code: python

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pycdi-0.0.1.tar.gz (4.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page