Metadata-Version: 2.1
Name: monkey.ioc
Version: 1.0.0.dev5
Summary: Simple IOC framework agile as a monkey.
Home-page: https://bitbucket.org/monkey-python/monkey-ioc/
Author: Xavier ROY
Author-email: xavier@regbuddy.eu
License: Apache License, Version 2.0
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Development Status :: 1 - Planning
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Intended Audience :: Developers
License-File: LICENSE.txt

Monkey IOC
==========

Monkey IoC is a simple framework for inversion of control by dependency injection.

It works with a registry of named elements whose definitions have been loaded from a JSON file.

Supported types:
    * string
    * boolean
    * integer, float and complex
    * date, time and datetime
    * object
    * list, set, tuple and range
    * dictionary
    * JSON map
    * reference to :
        * another definition
        * an environment variable
        * a Python class
        * a Python module


Installation guide
------------------

::

    pip install monkey.ioc

User guide
----------

::

    from monkey.ioc.core import Registry

    registry = Registry()
    registry.load('config.json')
    my_object = registry.get('myObjectID')

Logging
,,,,,,,

Logger name for Registry instances is :code:`monkey.ioc.core.Registry`.



