Skip to main content

A command and query mediator for Python.

Project description

Medyator

PyPI version

In-process messaging in Python.

Currently supports commands and queries using kink di.

Installation

pip install medyator kink

How to use

Container.add_medyator() from the medyator.kink module connects medyator with kink as the serviceprovider.

from medyator import Medyator
from kink import di
import medyator.kink

di.add_medyator()
medyator = di[Medyator]
medyator.send_command(AddAddressCommand("test"))

Look at the tests for more examples.

Planned Features

Feature Status
Async planned
Notifications planned
Pipelines planned

Feedback

If you have any feedback, please reach out to us at misdirection@live.de

Acknowledgements

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Project details


Download files

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

Source Distribution

medyator-0.3.2.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

Medyator-0.3.2-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file medyator-0.3.2.tar.gz.

File metadata

  • Download URL: medyator-0.3.2.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for medyator-0.3.2.tar.gz
Algorithm Hash digest
SHA256 df6cdc9d5e28a2b9ff3903924c7ae7a1e885a6ac9124042e8cd20bccb660661c
MD5 cfee9b41e88643c7b6b86d09feaf8864
BLAKE2b-256 c6c536db1413e2a32801ef01c6f1b6bbd49935faf292611cb1f56372d50fd530

See more details on using hashes here.

File details

Details for the file Medyator-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: Medyator-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 7.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.0

File hashes

Hashes for Medyator-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e91b18d2c026c38e54b7ab95e74efe4581c469f55b10e51e374bc6b17e8d6012
MD5 98b635eac12ad6fa02eedccfb300e440
BLAKE2b-256 ab5900441f97cc232e0f33c2808154de44f0515642c7844f9650fd2603b38844

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