Metadata-Version: 1.1
Name: ddd-api-gateway
Version: 0.0.2
Summary: DDD base framework for python
Home-page: https://github.com/sunwei/ddd-api-gateway
Author: Sun Wei
Author-email: wayde.sun@gmail.com
License: UNKNOWN
Description: DDD Base Framework
        ==================
        
        |Build Status| |Pypi Status| |Coveralls Status|
        
        Installation
        ------------
        
        From source code:
        
        ::
        
            python setup.py install
        
        From pypi:
        
        ::
        
            pip install ddd-base
        
        Usage
        -----
        
        ::
        
            from ddd_base.value_object import ValueObject
        
        
            class TheValueObject(ValueObject):
        
                def __init__(self, name):
                    super(TheValueObject, self).__init__()
                    self.name = name
        
                def __eq__(self, other):
                    if not isinstance(other, ValueObject):
                        return NotImplemented
        
                    return self.name == other.name
        
        
            def test_value_object_compare():
                a_value_object = TheValueObject("name")
                b_value_object = TheValueObject("name")
        
                assert a_value_object.same_as(b_value_object)
        
        
        
        License
        -------
        
        This software is licensed under the `MIT license <http://en.wikipedia.org/wiki/MIT_License>`_
        
        See `License file <https://github.com/sunwei/ddd-base/blob/master/LICENSE>`_
        
        .. |Build Status| image:: https://travis-ci.com/sunwei/ddd-base.svg?branch=master
           :target: https://travis-ci.com/sunwei/ddd-base
        .. |Pypi Status| image:: https://badge.fury.io/py/ddd-base.svg
           :target: https://badge.fury.io/py/ddd-base
        .. |Coveralls Status| image:: https://coveralls.io/repos/github/sunwei/ddd-base/badge.svg?branch=master
           :target: https://coveralls.io/github/sunwei/ddd-base?branch=master
        
        
        Changelog
        =========
        
        0.0.1
        -----
        
        - Initial public release
        
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries :: Python Modules
