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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file corx-1.0.0b3.tar.gz.

File metadata

  • Download URL: corx-1.0.0b3.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.0b3.tar.gz
Algorithm Hash digest
SHA256 72dfc1b6f8c813cab0f017f5fa0396eea3d4b4f9cdd6082401e6b3ff1508a4dd
MD5 c645736c30babf7fc3b75d97d98ef13c
BLAKE2b-256 c54d9638c5a0cebf228441074c128a59e6cfdbd57d346c50c0dd0dd5cc99b143

See more details on using hashes here.

File details

Details for the file corx-1.0.0b3-py3-none-any.whl.

File metadata

  • Download URL: corx-1.0.0b3-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.0b3-py3-none-any.whl
Algorithm Hash digest
SHA256 e5b976763ff1b17dd5cdba74a57daa8b23f63ff3512d414c9e88c4a9478932d5
MD5 9f8fdac625f2830099e26d48907c1ffa
BLAKE2b-256 da742c496d34e9ac9b7f8021a8cba8a7a3bbbd9aec8bd021e4a35d98f4f7ed39

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