Skip to content

A lightweight library for creating event driven systems using the unit of work pattern, pubsub and domain driven desing.

License

Notifications You must be signed in to change notification settings

mr-raccoon-97/py-bondi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A lightweight library for creating event driven systems using the unit of work pattern, pubsub and domain driven desing.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages