Getting Started with EventStoreDB in Python
Install the latest version of EventStoreDB in a local Docker container and build a basic client application using the EventStoreDB Python client.
Minutes
What you'll learn
What better way to learn EventStoreDB than to use it? In this video, Senior Instructor Jean-Marc Julien walks you through an installation of EventStoreDB on Docker. Once installed, you will append events to a stream and build a rudimentary application using the EventStoreDB Python client.
By the completion of this course, you will have:
By the completion of this course, you will have:
- Installed EventStoreDB locally using Docker
- Installed required libraries to use EventStoreDB
- Accessed EventStoreDB web UI to review and add streams
- Manipulated code to illustrate different read views
© 2024 Event Store Limited
Event Store and EventStoreDB are registered trademarks of Event Store Ltd
In the Event Store Essentials course series, “Event Store Ltd.” and the capitalized “Event Store” refer to the company that develops EventStoreDB.
Event streams
Tailored for event storage, EventStoreDB surpasses traditional databases by allowing the storage of every state change as a distinct event. This capability means that instead of just keeping the latest state, you can track the entire history of changes, organized logically into streams—usually one per entity.
Indexes
With a design that stores indexes separately from data files, EventStoreDB ensures swift access to records by stream name, creating index entries with each committed event.
As more files are saved, EventStoreDB efficiently merges them to maintain a streamlined and accessible data structure.
As more files are saved, EventStoreDB efficiently merges them to maintain a streamlined and accessible data structure.
Projections
This powerful subsystem within EventStoreDB allows for the dynamic response to events by appending new events or linking existing ones to streams.
Especially adept at handling “temporal correlation queries”—a common yet complex query type in business systems—projections offer a specialized solution that few databases can match.
Especially adept at handling “temporal correlation queries”—a common yet complex query type in business systems—projections offer a specialized solution that few databases can match.
Subscriptions
Staying updated with changes is seamless with EventStoreDB subscriptions. As new events are recorded, you can automatically receive notifications, ensuring your system remains in sync and responsive to the latest developments.