Add a short description here!
Project description
corx is a Python package designed to simplify the implementation of the Command Query Responsibility Segregation (CQRS) and Event Sourcing (ES) patterns. It provides essential components and utilities for developing systems that adhere to these patterns.
Installation
Install corx using pip:
pip install corx
Architecture
The core components of the corx architecture include:
Command: Represents a request or intention to change the state of the system.
CommandHandler: Handles specific types of commands, executing the logic associated with each command.
Event: Represents an occurrence or state change in the system, often triggered by the successful handling of a command.
EventListener: Reacts to specific events by executing custom logic.
ProcessManager: Orchestrates complex workflows by reacting to events and potentially issuing new commands.
Dispatcher: Responsible for handling and routing commands or events to the appropriate handlers.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file corx-1.0.0b2.tar.gz
.
File metadata
- Download URL: corx-1.0.0b2.tar.gz
- Upload date:
- Size: 18.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5192d41a07ce31bc2f09f8cb31e7b48690a5024ff910e66b8cd2fdc2a19a8b8 |
|
MD5 | c98dd380ad502a022f737f741ac90e78 |
|
BLAKE2b-256 | 1ad7380f325cc640f82ac51b0d8e6b6b3ea242d7b8ddfab552bbfe5eae501869 |
File details
Details for the file corx-1.0.0b2-py3-none-any.whl
.
File metadata
- Download URL: corx-1.0.0b2-py3-none-any.whl
- Upload date:
- Size: 9.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a879b099b0a3af0a9462a288bcfc79e0368da306ff2cb2c0c062e846411218d |
|
MD5 | 16924f62a2c79b74bfeba5fa35b5ff3c |
|
BLAKE2b-256 | 4d422ea4f19e1521cf268cc261fcf85ca9f382ae9757f138d13c62b8381d21d0 |