Skip to main content

Event Store implemented in Python

Project description

Event Store

Event Store is an implementation of the Events as a Storage Mechanism concept (PDF here). It is an implementation of the actual storage for events. The implementation follows the excellent article by Greg Young: Building an Event Storage. (PDF Here). Reading the linked articles should provide sufficient understanding of the code.

Installation

  1. To create tables, run infrastructure/scripts/main.py with an option –database create. This naively assumes that your sql engine is postgresql, and is located at postgresql://postgres:test@localhost:5432, and you have created a database named event_store. (You can change this in main.py).

Examples

For usage examples see sample project Registration List

Functionality

Currently a Sql backend is provided with simple Pickle serialization. Also, an In Memory implementation is present for simply testing events out.

Why It Exists

There didn’t seem to be any python native event storage implementations.

Contributing

The implementation is minimalistic, but pull requests are welcome. Please file an issue with an appropriate pull request.

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

event-store-1.0.1a9.zip (15.8 kB view details)

Uploaded Source

Built Distribution

event_store-1.0.1a9-py2-none-any.whl (13.8 kB view details)

Uploaded Python 2

File details

Details for the file event-store-1.0.1a9.zip.

File metadata

  • Download URL: event-store-1.0.1a9.zip
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for event-store-1.0.1a9.zip
Algorithm Hash digest
SHA256 156d9df8b8f99b2d9e1970431c145ee68c35e83acb3c879147e7f4ccd8fd7b48
MD5 b92a081c32b607905b0aead6e5087808
BLAKE2b-256 fdf157b2f4d2bf24f96a82f8ae3dcbb249114837b74c079308edb392777f0951

See more details on using hashes here.

File details

Details for the file event_store-1.0.1a9-py2-none-any.whl.

File metadata

File hashes

Hashes for event_store-1.0.1a9-py2-none-any.whl
Algorithm Hash digest
SHA256 88d19702d8147ae76432126221bb06d1ea44ed2639b4aace6d921a556227cac5
MD5 75f34364facb6a0e68d1b7ad9b6ceec3
BLAKE2b-256 d2c5cdde3d4283bc7eb6a709d5ed167b07ddb0d233366dae45a5303e796de805

See more details on using hashes here.

Supported by

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