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.1.0.tar.gz (7.1 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.1.0-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pybondi-1.1.0.tar.gz
Algorithm Hash digest
SHA256 87eb91bcd40a066ac2ed410ea84b9696006b93b67b130d7e87699385f5c70028
MD5 6b5f248efe8b1b4df580e5e070da147f
BLAKE2b-256 e1b4776d1d630ed1988c1d5071d669341b73ba7e8c838d47c932dbe3f66266b0

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pybondi-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 72b502ed73cbac1ae71cd69aff82ff3dc92f99915d20629230ed105e207090b1
MD5 ce4ceb80d67e847ae573146a102238d9
BLAKE2b-256 3ec7c3bd2100ca3943233fed09fd3f4309417db912666228b7afa20ca5ce5ceb

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