.. _readme:
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 <https://gitlab.com/minty-python/minty/blob/master/CONTRIBUTING.md>`_
for details on our code of conduct, and the process for submitting pull requests to us.
Versioning
----------
We use `SemVer <https://semver.org/>`_ for versioning. For the versions
available, see the
`tags on this repository <https://gitlab.com/minty-python/minty/tags/>`_
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.
.. SPDX-FileCopyrightText: 2020 Mintlab B.V.
..
.. SPDX-License-Identifier: EUPL-1.2
Raw data
{
"_id": null,
"home_page": "https://gitlab.com/minty-python/minty",
"name": "minty",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "minty",
"author": "Michiel Ootjers",
"author_email": "michiel@mintlab.nl",
"download_url": "https://files.pythonhosted.org/packages/be/f5/e60cc7037006f40431fb5b0c25a5643c6b1a819d08b4521988a92cf42277/minty-3.1.0.tar.gz",
"platform": null,
"description": ".. _readme:\n\nDescription\n============\n\nThis \"Command and Query\" module allows a developer to generate an abstraction around\ncalling commands and queries in a domain model.\n\nGetting started\n---------------\n\n::\n\n # In your calling module\n from minty.cqrs import CQRS\n from minty.infrastructure import InfrastructureFactory\n from zsnl_domains import some_domain\n\n # Configure a CQRS instance (config file type may be \".conf\" or \".json\")\n infra_factory = InfrastructureFactory(\"/etc/configfile.conf\") \n cqrs = CQRS([some_domain], infra_factory)\n\n # Params can also be pre-set by the command or query function:\n query_instance = cqrs.get_query_instance(\"some_domain\", \"context\")\n\n query_instance.some_query()\n\n\nContributing\n------------\n\nPlease read `CONTRIBUTING.md <https://gitlab.com/minty-python/minty/blob/master/CONTRIBUTING.md>`_\nfor details on our code of conduct, and the process for submitting pull requests to us.\n\nVersioning\n----------\n\nWe use `SemVer <https://semver.org/>`_ for versioning. For the versions\navailable, see the\n`tags on this repository <https://gitlab.com/minty-python/minty/tags/>`_\n\nLicense\n-------\n\nCopyright (c) Minty Team and all persons listed in the file `CONTRIBUTORS`\n\nThis project is licensed under the EUPL, v1.2. See the `EUPL-1.2.txt` in the\n`LICENSES` directory for details.\n\n.. SPDX-FileCopyrightText: 2020 Mintlab B.V.\n..\n.. SPDX-License-Identifier: EUPL-1.2\n",
"bugtrack_url": null,
"license": "EUPL license",
"summary": "Minty Command and Query based on DDD",
"version": "3.1.0",
"project_urls": {
"Homepage": "https://gitlab.com/minty-python/minty"
},
"split_keywords": [
"minty"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b5dc16aac350b8689ce8206433f1debc30baeb34bf5c52276a5683060ac4eaad",
"md5": "2331a2a0962d120f725a82d0fb9ba838",
"sha256": "671285538902b9f8d8dacf1e090fbe1caceba3cdc6004b215a47c5837ac1cf24"
},
"downloads": -1,
"filename": "minty-3.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2331a2a0962d120f725a82d0fb9ba838",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 29754,
"upload_time": "2023-09-04T08:10:37",
"upload_time_iso_8601": "2023-09-04T08:10:37.968676Z",
"url": "https://files.pythonhosted.org/packages/b5/dc/16aac350b8689ce8206433f1debc30baeb34bf5c52276a5683060ac4eaad/minty-3.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "bef5e60cc7037006f40431fb5b0c25a5643c6b1a819d08b4521988a92cf42277",
"md5": "6473bd642f0bf419f2f51e8db7133613",
"sha256": "3936d57df11111f1a3df3ac6d039c5103b638441d12a03dccbcdaf0a56de17ee"
},
"downloads": -1,
"filename": "minty-3.1.0.tar.gz",
"has_sig": false,
"md5_digest": "6473bd642f0bf419f2f51e8db7133613",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 23166,
"upload_time": "2023-09-04T08:10:39",
"upload_time_iso_8601": "2023-09-04T08:10:39.473088Z",
"url": "https://files.pythonhosted.org/packages/be/f5/e60cc7037006f40431fb5b0c25a5643c6b1a819d08b4521988a92cf42277/minty-3.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-04 08:10:39",
"github": false,
"gitlab": true,
"bitbucket": false,
"codeberg": false,
"gitlab_user": "minty-python",
"gitlab_project": "minty",
"lcname": "minty"
}