Skip to main content

OOP Event Sourcing package

Project description

OOP ES - OOP Event sourcing

WARNING

Not yet finished

What is this

Just another implementation of event sourcing in Python. For now, it can handle commands, emit/save events, manage read models.

Installation

pip install oop-es

Postgres adapter

Use pip install oop-es[pg] instead. Use this script to init the tables. You can rename the events or use a custom schema, just pass the table name during the PostgresEventStore initialization.

Usage

Check the example folder

TODO

  • add Projector into the example to illustrate how do views (read-models) work
  • snapshotting
  • upcasting
  • better docs

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

oop_es-0.1.2.tar.gz (9.0 kB view details)

Uploaded Source

Built Distribution

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

oop_es-0.1.2-py3-none-any.whl (9.5 kB view details)

Uploaded Python 3

File details

Details for the file oop_es-0.1.2.tar.gz.

File metadata

  • Download URL: oop_es-0.1.2.tar.gz
  • Upload date:
  • Size: 9.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for oop_es-0.1.2.tar.gz
Algorithm Hash digest
SHA256 958188c9b65ea3cd7650927b314cb424097e03df9e6a1de2de3847dc7bb4c9d2
MD5 9de92e73d7fd6fcbfd85f9702045ce41
BLAKE2b-256 9993b8382ca696237e6bf623e937ba3ad425494eb25c6ff873890667e049980f

See more details on using hashes here.

File details

Details for the file oop_es-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: oop_es-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 9.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.12

File hashes

Hashes for oop_es-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 689686549911ce5a0e93ed91983a546b8754141dcb511ed4751e05151a98136f
MD5 e9949d5e7caee2fa337dfde3db38e7ed
BLAKE2b-256 7948bade44eea6471c7e048bdea01d5fe70b48384852651199371784f08b9c2a

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