Skip to main content

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.

Metadata

Release files for minty 3.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for minty 3.1.0
File Size Uploaded Provenance Actions
minty-3.1.0.tar.gz 23.2 kB Without provenance Details for minty-3.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for minty 3.1.0
File Interpreter ABI Platform Actions
minty-3.1.0-py3-none-any.whl Python 3 none any Details for minty-3.1.0-py3-none-any.whl

Total release size: 52.9 kB

Release files / minty-3.1.0.tar.gz

Download URL minty-3.1.0.tar.gz
Size 23.2 kB
Tags Source
SHA-256 checksum
How to use checksums
3936d57df11111f1a3df3ac6d039c5103b638441d12a03dccbcdaf0a56de17ee
BLAKE2b-256 checksum
How to use checksums
bef5e60cc7037006f40431fb5b0c25a5643c6b1a819d08b4521988a92cf42277
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Release files / minty-3.1.0-py3-none-any.whl

Download URL minty-3.1.0-py3-none-any.whl
Size 29.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
671285538902b9f8d8dacf1e090fbe1caceba3cdc6004b215a47c5837ac1cf24
BLAKE2b-256 checksum
How to use checksums
b5dc16aac350b8689ce8206433f1debc30baeb34bf5c52276a5683060ac4eaad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.5

Security for minty 3.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

3.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page