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
  • metadata collection

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: oop_es-0.3.0.tar.gz
  • Upload date:
  • Size: 9.1 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.3.0.tar.gz
Algorithm Hash digest
SHA256 f4ffbfde6d734107ea5e1d104cb99dbf56ae217a9209298f146f7cfcdfba19a5
MD5 162f7c3d9f2660af34d24dc8464155e0
BLAKE2b-256 6e3df9681c2f9769017581492759cc10be643fd6efdbacca01dd3daec77753f8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: oop_es-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 9.6 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5141a827ab708e009a4ca68912edac0cbdcfb378b5a65dd374628869c657f990
MD5 a20db8341f84330979bff258a33c1353
BLAKE2b-256 a67fe51a88667a58c9f692e9ff520945d3c9a6f9d8f7bcfedff56f908601e6a0

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