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")


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


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


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


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.

Files for minty-ddd, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size minty_ddd-0.0.5-py3-none-any.whl (8.5 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size minty_ddd-0.0.5.tar.gz (3.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page