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.cqrs import CQRS
from minty.infrastructure import InfrastructureFactory
from zsnl_domains import some_domain

# Configure a CQRS instance (config file type may be ".conf" or ".json")
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()

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) Minty Team and all persons listed in the file CONTRIBUTORS

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

Project details


Release history Release notifications | RSS feed

This version

3.1.0

Download files

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

Source Distribution

minty-3.1.0.tar.gz (23.2 kB view details)

Uploaded Source

Built Distribution

minty-3.1.0-py3-none-any.whl (29.8 kB view details)

Uploaded Python 3

File details

Details for the file minty-3.1.0.tar.gz.

File metadata

  • Download URL: minty-3.1.0.tar.gz
  • Upload date:
  • Size: 23.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for minty-3.1.0.tar.gz
Algorithm Hash digest
SHA256 3936d57df11111f1a3df3ac6d039c5103b638441d12a03dccbcdaf0a56de17ee
MD5 6473bd642f0bf419f2f51e8db7133613
BLAKE2b-256 bef5e60cc7037006f40431fb5b0c25a5643c6b1a819d08b4521988a92cf42277

See more details on using hashes here.

File details

Details for the file minty-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: minty-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 29.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for minty-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 671285538902b9f8d8dacf1e090fbe1caceba3cdc6004b215a47c5837ac1cf24
MD5 2331a2a0962d120f725a82d0fb9ba838
BLAKE2b-256 b5dc16aac350b8689ce8206433f1debc30baeb34bf5c52276a5683060ac4eaad

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