DDD Api Gateway Framework
Installation
From source code:
python setup.py install
From pypi:
pip install ddd-api-gateway
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
See License file
Changelog
0.0.7
Route specification need ssl
0.0.6
Add endpoint hostname property
0.0.5
Expose exceptions message
0.0.4
Expose exceptions
0.0.3
Add entity repository
0.0.2
Adjust for travis test and cover all percentage
0.0.1
Initial public release
Release files for ddd-api-gateway 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ddd-api-gateway-0.0.7.tar.gz | 6.8 kB | Details |
Release files / ddd-api-gateway-0.0.7.tar.gz
| Download URL | ddd-api-gateway-0.0.7.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3932e2c6a5ad25d9107a8004f536df3ad1d84211bd768c2ec2d8d4ec033c062b
|
|
BLAKE2b-256 checksum How to use checksums |
576118dee903b53280fd603c6ee7ee3614abf331672cc5281b4be361a0a09909
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.6.7
|