aett-eventstore


Nameaett-eventstore JSON
Version 1.1.0 PyPI version JSON
download
home_pageNone
SummaryEvent store for Python
upload_time2024-04-28 12:40:12
maintainerNone
docs_urlNone
authorNone
requires_python>=3.10
licenseMIT License Copyright (c) 2024 python_eventstore Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords events event store event sourcing
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Æt (Aett) is an Event Store for Python

[![Downloads](https://static.pepy.tech/badge/aett-eventstore)](https://pepy.tech/project/aett-eventstore)

Provides a framework for managing event streams.

## Usage

To create an event stream to manage events, you can use the `EventStream` class.

```python
from aett.eventstore.EventStream import EventStream

# Create a new event stream
event_stream = EventStream.create('bucket_name', 'stream_name')

# Append an event to the stream
event_stream.add(SomeEvent())

# Load the event stream from the event store
event_stream = EventStream.load('bucket_name', 'stream_name', [A commit store instance], 0, 100)

```

The example above is high level and does not include the details of the commit store. The commit store is a class that
implements the `CommitStore` interface and is used to store and retrieve events from the event store. An implementation 
is provided in the `aett.dynamodb.EventStore` module.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aett-eventstore",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "events, event store, event sourcing",
    "author": null,
    "author_email": "Jacob Reimers <pypi@reimers.io>",
    "download_url": "https://files.pythonhosted.org/packages/4e/94/07f51374ec653761056c99e575578a6242564f985ebaead2fede2703b6a4/aett_eventstore-1.1.0.tar.gz",
    "platform": null,
    "description": "# \u00c6t (Aett) is an Event Store for Python\n\n[![Downloads](https://static.pepy.tech/badge/aett-eventstore)](https://pepy.tech/project/aett-eventstore)\n\nProvides a framework for managing event streams.\n\n## Usage\n\nTo create an event stream to manage events, you can use the `EventStream` class.\n\n```python\nfrom aett.eventstore.EventStream import EventStream\n\n# Create a new event stream\nevent_stream = EventStream.create('bucket_name', 'stream_name')\n\n# Append an event to the stream\nevent_stream.add(SomeEvent())\n\n# Load the event stream from the event store\nevent_stream = EventStream.load('bucket_name', 'stream_name', [A commit store instance], 0, 100)\n\n```\n\nThe example above is high level and does not include the details of the commit store. The commit store is a class that\nimplements the `CommitStore` interface and is used to store and retrieve events from the event store. An implementation \nis provided in the `aett.dynamodb.EventStore` module.\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2024 python_eventstore  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. ",
    "summary": "Event store for Python",
    "version": "1.1.0",
    "project_urls": {
        "Homepage": "https://github.com/jjrdk/aett"
    },
    "split_keywords": [
        "events",
        " event store",
        " event sourcing"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8b35b7ad7779d47be71621ab8fe50a57a00ad7819bc6f5708dd113385b2de87d",
                "md5": "92a766b0e6508de82c12f02d26d97b23",
                "sha256": "22c214972bb3f87d0ca291b51e3843d7ec122da1f4103d6c1f482c6cf23ef782"
            },
            "downloads": -1,
            "filename": "aett_eventstore-1.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "92a766b0e6508de82c12f02d26d97b23",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 6017,
            "upload_time": "2024-04-28T12:40:10",
            "upload_time_iso_8601": "2024-04-28T12:40:10.392500Z",
            "url": "https://files.pythonhosted.org/packages/8b/35/b7ad7779d47be71621ab8fe50a57a00ad7819bc6f5708dd113385b2de87d/aett_eventstore-1.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4e9407f51374ec653761056c99e575578a6242564f985ebaead2fede2703b6a4",
                "md5": "88507a7549cbf250b32b352dc18680fc",
                "sha256": "4e72f7692e6ecd828e0cff43db56d3e36bf7e6dc4716caf43077192e5dc777ac"
            },
            "downloads": -1,
            "filename": "aett_eventstore-1.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "88507a7549cbf250b32b352dc18680fc",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 6147,
            "upload_time": "2024-04-28T12:40:12",
            "upload_time_iso_8601": "2024-04-28T12:40:12.824918Z",
            "url": "https://files.pythonhosted.org/packages/4e/94/07f51374ec653761056c99e575578a6242564f985ebaead2fede2703b6a4/aett_eventstore-1.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-28 12:40:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jjrdk",
    "github_project": "aett",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "aett-eventstore"
}
        
Elapsed time: 0.30936s