ets-labs / python-domain-models

Domain models framework for Python projects
BSD 3-Clause "New" or "Revised" License
22 stars 4 forks source link

============= Domain models

Domain models framework for Python projects

+---------------------------------------+--------------------------------------------------------------------------------------+ | PyPi | .. image:: https://img.shields.io/pypi/v/domain_models.svg | | | :target: https://pypi.python.org/pypi/domain_models/ | | | :alt: Latest Version | | | .. image:: https://img.shields.io/pypi/l/domain_models.svg | | | :target: https://pypi.python.org/pypi/domain_models/ | | | :alt: License | +---------------------------------------+--------------------------------------------------------------------------------------+ | Python versions and implementations | .. image:: https://img.shields.io/pypi/pyversions/domain_models.svg | | | :target: https://pypi.python.org/pypi/domain_models/ | | | :alt: Supported Python versions | | | .. image:: https://img.shields.io/pypi/implementation/domain_models.svg | | | :target: https://pypi.python.org/pypi/domain_models/ | | | :alt: Supported Python implementations | +---------------------------------------+--------------------------------------------------------------------------------------+ | Builds and tests coverage | .. image:: https://img.shields.io/travis/ets-labs/python-domain-models/master.svg | | | :target: https://travis-ci.org/ets-labs/python-domain-models | | | :alt: Build Status | | | .. image:: https://img.shields.io/coveralls/ets-labs/python-domain-models/master.svg | | | :target: https://coveralls.io/r/ets-labs/python-domain-models | | | :alt: Coverage Status | +---------------------------------------+--------------------------------------------------------------------------------------+

Introduction



Use cases:

- Writing some HTTP API client library, that is based on domain models pattern.

  + Examples:

    - Twitter API client library.

- Using NoSQL services with manual mapping to domain models.

  + Examples:

    - Redis.
    - Cassandra CQL.

- Using classic SQLAlchemy mapping.

  + Examples:

    - http://docs.sqlalchemy.org/en/latest/orm/mapping_styles.html#classical-mappings