Metadata-Version: 1.1
Name: oneday
Version: 0.1.2
Summary: A Python DI/component project
Home-page: https://github.com/duyixian1234/oneday
Author: Yixian Du
Author-email: duyixian1234@qq.com
License: BSD License
Description: oneday
        ======
        
        A Python DI/component project.
        
        Example
        -------
        
        >>> from import Component, Service
        >>> class A:
                    pass
        >>> a = A()
        >>> Component.add(a)
        >>> Component.get(A) is a
        True
        >>> @Service.register
             class B:
                def __init__(self, a: A):
                    self.a = a
        >>> b = Service.create(B)
        >>> b.a is a
        True
        
        Install
        -------
        
        .. code-block:: shell
        pip install oneday
        
        Author
        ------
        Yixian Du (duyixian1234@qq.com)
Platform: UNKNOWN
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
