Skip to main content

Minty Command and Query based on DDD

Project description

This “Command and Query” module allows a developer to generate an abstraction around calling commands and queries in a domain model.

Getting started

# In your calling module
from minty_ddd import CQRS
from minty_infrastructure import InfrastructureFactory
from zsnl_domains import some_domain

# Configure a CQRS instance
infra_factory = InfrastructureFactory("/etc/configfile.conf")
cqrs = CQRS([some_domain], infra_factory)

# Params can also be pre-set by the command or query function:
query_instance = cqrs.get_query_instance("some_domain", "context")

query_instance.some_query()

More documentation

Please see the generated documentation via CI for more information about this module and how to contribute in our online documentation. Open index.html when you get there: Sphinx Docs

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository

License

Copyright (c) 2018, Minty Team and all persons listed in CONTRIBUTORS

This project is licensed under the EUPL, v1.2. See the EUPL-1.2.txt file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

minty_ddd-0.0.5.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

minty_ddd-0.0.5-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file minty_ddd-0.0.5.tar.gz.

File metadata

  • Download URL: minty_ddd-0.0.5.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for minty_ddd-0.0.5.tar.gz
Algorithm Hash digest
SHA256 82d98b57f0a4f115f2eff715ee5c33eb68ee518584b5a88dcc1990d832687799
MD5 45ff8d858db45b3df6ee67f9500f99bc
BLAKE2b-256 5115201808daea51a89ba60b4aa1a6099906e9e3df07428666830816fa0decda

See more details on using hashes here.

File details

Details for the file minty_ddd-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: minty_ddd-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for minty_ddd-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 c27a286502e024acf38bd0ab2f435a187af89624a26b9a41c2ca21bec236e684
MD5 85171ccde76f8c8c0b578ce30156309e
BLAKE2b-256 6e75645885610d03998dbace390a8420bd995b8defbd4fa9fa5a54b65d121ad6

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page