Skip to main content

Rudimentary dependency Injection framework

Project description

A rudimentary Dependency injection framework in python.

The dependencies are defined in a yaml file as mentioned below. Th objects are created by referring to the namespace defined in yaml for the desired object.

Main modules are:

  • jtk.di.dye

Sample Code:


s = dye.get_instance('jubin.body')


Objects created can also reference other objects.

Config file

  • pydi.yaml

Comes in this format:

  class: class_name
    attr: value
    attr: value
    attr: 'ref:namespace2'
    attr: value
    attr: value

  class: class_name
    attr: value

Project details

Download files

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

Files for pyDye, version 7.10.0b1
Filename, size File type Python version Upload date Hashes
Filename, size pyDye-7.10.0b1.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page