Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

minty

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

minty

Minty Command and Query based on DDD

  • 3.1.0
  • PyPI
  • Socket score

Maintainers
1

.. _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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc