Skip to main content

A lightweight library for creating event driven systems using domain driven design.

Project description

py-bondi

A library for creating event driven systems using domain driven design.

Installation

pip install pybondi

Introduction

This library provides a framework for modeling complex domains using an event driven architecture and the pub/sub pattern. It provides:

  • An in memory message bus for handling events and commands.
  • A simple in memory publisher for publishing messages to external systems.
  • A base aggregate root that can collect domain events and a base aggregate class.
  • A base repository class for storing and retrieving aggregates.
  • A session class for managing transactions and unit of work.
  • Default events for handling aggregate's state when it is added to a session, saved, or rolled back.

Soon I will be updating this README with a more detailed explanation of how to use the library.

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

pybondi-1.2.0.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pybondi-1.2.0-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file pybondi-1.2.0.tar.gz.

File metadata

  • Download URL: pybondi-1.2.0.tar.gz
  • Upload date:
  • Size: 9.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for pybondi-1.2.0.tar.gz
Algorithm Hash digest
SHA256 374fc8f1aab77283b8c80571489b4cdac3118b8cbf7be17a8aeeada23182eb88
MD5 a699ea472ffcc23d6fe462b5e0d0eca3
BLAKE2b-256 b3ad4e84c92d41d414b631fc2acdbab25368e123e1a3ecc1095e0309071d6904

See more details on using hashes here.

File details

Details for the file pybondi-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pybondi-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.1 Linux/6.5.0-1025-azure

File hashes

Hashes for pybondi-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 88edcf45609b2809055f931179845a06d6d74511d032ce951dbcd0fce1349c6c
MD5 1fc41dab69293bf2fb827350f857c153
BLAKE2b-256 7ca5b972873b307318d10f00b59613fc7908ca9e35f5d496a6a102869d66191c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page