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.0b2.tar.gz (18.5 kB view details)

Uploaded Source

Built Distribution

corx-1.0.0b2-py3-none-any.whl (9.0 kB view details)

Uploaded Python 3

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

Hashes for corx-1.0.0b2.tar.gz
Algorithm Hash digest
SHA256 d5192d41a07ce31bc2f09f8cb31e7b48690a5024ff910e66b8cd2fdc2a19a8b8
MD5 c98dd380ad502a022f737f741ac90e78
BLAKE2b-256 1ad7380f325cc640f82ac51b0d8e6b6b3ea242d7b8ddfab552bbfe5eae501869

See more details on using hashes here.

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

Hashes for corx-1.0.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 6a879b099b0a3af0a9462a288bcfc79e0368da306ff2cb2c0c062e846411218d
MD5 16924f62a2c79b74bfeba5fa35b5ff3c
BLAKE2b-256 4d422ea4f19e1521cf268cc261fcf85ca9f382ae9757f138d13c62b8381d21d0

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