Skip to main content

Core domain types for EvidentSource event sourcing platform

Project description

EvidentSource Core for Python

Core domain types for the EvidentSource event sourcing platform.

Installation

pip install evidentsource-core

Types

Events

  • Event: A stored event with full metadata (id, stream, type, subject, time, data, etc.)
  • ProspectiveEvent: An event before storage (for state changes)
  • EventData: Binary or string event data
  • BinaryEventData: Binary event payload
  • StringEventData: String event payload

Selectors

  • Selector: Complex event selectors (subject, type, stream combinations)
  • EventSelector: Parameters for event queries

Constraints

  • Constraint: Individual constraint on event sequences
  • AppendCondition: Constraint to apply when committing events

Identifiers

  • DatabaseName: Database name identifier
  • StreamName: Stream name identifier
  • EventId: Event ID identifier
  • EventType: Event type identifier
  • EventSubject: Event subject identifier
  • StateViewName: State view name identifier
  • StateChangeName: State change name identifier

State Views

  • StateView: Rendered state view result
  • StateViewCodec: Protocol for state view serialization

State Changes

  • Command: Command received by a state change
  • CommandRequest: Full command request with headers
  • StateChangeDefinitionSummary: State change definition info

License

MIT OR Apache-2.0

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

evidentsource_core-1.0.0rc1.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

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

evidentsource_core-1.0.0rc1-py3-none-any.whl (23.0 kB view details)

Uploaded Python 3

File details

Details for the file evidentsource_core-1.0.0rc1.tar.gz.

File metadata

  • Download URL: evidentsource_core-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for evidentsource_core-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 4497e76f631c9812d8162d2e3b37af7cf7321ee952ab8e17c0190a5421bc7872
MD5 a59a90e861ecefab7cf360cc2247a4eb
BLAKE2b-256 04ab389c981e26dd04c2dd0faf217833cf7be76cb499569419ac262989e6ce5a

See more details on using hashes here.

File details

Details for the file evidentsource_core-1.0.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for evidentsource_core-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 557c5a88d455bcfb32dbc39d9b9192863f9bb24dc2fc66f4d70bc283c6b8dfa6
MD5 5e22c9162f7716858a248a424f5f4914
BLAKE2b-256 791a186af05709e0bda305513fc3b8731cb83c1df8afa9bf5f8b223cff1a261e

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