Metadata-Version: 1.0
Name: anyioc
Version: 0.3.0
Summary: UNKNOWN
Home-page: https://github.com/Cologler/anyioc-python
Author: Cologler
Author-email: skyoflw@gmail.com
License: MIT License
Description: 
        anyioc
        ======
        
        Another simple ioc framework for python.
        
        Usage
        -----
        
        .. code-block:: py
        
           from anyioc import ServiceProvider
           provider = ServiceProvider()
           provider.register_singleton('the key', lambda x: 102) # x will be scoped ServiceProvider
           value = provider.get('the key')
           assert value == 102
        
        Need global ServiceProvider ? try ``from anyioc.g import ioc``.
        
        There are some predefined key you can use direct, but you still can overwrite it:
        
        
        * ``ioc`` - get current scoped ServiceProvider instance.
        * ``provider`` - alias of ``ioc``
        * ``service_provider`` - alias of ``ioc``
        
Platform: UNKNOWN
