Skip to main content

Add a short description here!

Project description

License PyPI version

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


Download files

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

Source Distribution

corx-1.0.0b3.tar.gz (18.5 kB view hashes)

Uploaded Source

Built Distribution

corx-1.0.0b3-py3-none-any.whl (9.0 kB view hashes)

Uploaded Python 3

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