aett-dynamodb


Nameaett-dynamodb JSON
Version 2.1.0 PyPI version JSON
download
home_pageNone
SummaryDynamoDB connector for aett event store
upload_time2024-11-23 21:07:51
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 dynamodb
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-dynamodb)](https://pepy.tech/project/aett-dynamodb)

Aett DynamoDB provides the ability to store and retrieve events from a DynamoDB table.

## Usage

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

```python
from aett.dynamodb.EventStore import PersistenceManagement

# Set up a new event store
mgmt = PersistenceManagement()
mgmt.initialize()

# Drop the store
mgmt.drop()
```

The package also provides `CommitStore` and `SnapshotStore` classes that can be used to store and retrieve events. They
can be instantiated by providing AWS credentials and specifying the configured table name and region. If `localhost` is
set as region, then the stores assume a server running at `http://localhost:8000`.

```python
from aett.dynamodb.EventStore import CommitStore, SnapshotStore

commit_store = CommitStore()

snapshot_store = SnapshotStore()
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aett-dynamodb",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "events, event store, dynamodb",
    "author": null,
    "author_email": "Jacob Reimers <pypi@reimers.io>",
    "download_url": "https://files.pythonhosted.org/packages/e5/6b/9e33fb9803bc4227f90e2d702b233d671465eda0416dec32736f8aa559b8/aett_dynamodb-2.1.0.tar.gz",
    "platform": null,
    "description": "# \u00c6t (Aett) is an Event Store for Python\n\n[![Downloads](https://static.pepy.tech/badge/aett-dynamodb)](https://pepy.tech/project/aett-dynamodb)\n\nAett DynamoDB provides the ability to store and retrieve events from a DynamoDB table.\n\n## Usage\n\nTo create an event stream to manage events, you can use the `PersistenceManagement` class.\n\n```python\nfrom aett.dynamodb.EventStore import PersistenceManagement\n\n# Set up a new event store\nmgmt = PersistenceManagement()\nmgmt.initialize()\n\n# Drop the store\nmgmt.drop()\n```\n\nThe package also provides `CommitStore` and `SnapshotStore` classes that can be used to store and retrieve events. They\ncan be instantiated by providing AWS credentials and specifying the configured table name and region. If `localhost` is\nset as region, then the stores assume a server running at `http://localhost:8000`.\n\n```python\nfrom aett.dynamodb.EventStore import CommitStore, SnapshotStore\n\ncommit_store = CommitStore()\n\nsnapshot_store = SnapshotStore()\n```\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": "DynamoDB connector for aett event store",
    "version": "2.1.0",
    "project_urls": {
        "Homepage": "https://github.com/jjrdk/aett"
    },
    "split_keywords": [
        "events",
        " event store",
        " dynamodb"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "023cefb84a9acb63a5e36756a73ee3549e7012fb12a81cd8481e13c21cf2dc2a",
                "md5": "11d338a6b03ef3999fd9d1942d4320c3",
                "sha256": "5a5d91e20333d0d67d35b6cc232f438d3389e95cddfab6752c67ead10a6511c9"
            },
            "downloads": -1,
            "filename": "aett_dynamodb-2.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "11d338a6b03ef3999fd9d1942d4320c3",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 6320,
            "upload_time": "2024-11-23T21:07:49",
            "upload_time_iso_8601": "2024-11-23T21:07:49.143292Z",
            "url": "https://files.pythonhosted.org/packages/02/3c/efb84a9acb63a5e36756a73ee3549e7012fb12a81cd8481e13c21cf2dc2a/aett_dynamodb-2.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e56b9e33fb9803bc4227f90e2d702b233d671465eda0416dec32736f8aa559b8",
                "md5": "60f01db2830267f9fb3ab9612d219e86",
                "sha256": "7f49b2394628bb74a0c359744af404081c5597da705149550fe8dd516acac57c"
            },
            "downloads": -1,
            "filename": "aett_dynamodb-2.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "60f01db2830267f9fb3ab9612d219e86",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 6559,
            "upload_time": "2024-11-23T21:07:51",
            "upload_time_iso_8601": "2024-11-23T21:07:51.004191Z",
            "url": "https://files.pythonhosted.org/packages/e5/6b/9e33fb9803bc4227f90e2d702b233d671465eda0416dec32736f8aa559b8/aett_dynamodb-2.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-23 21:07:51",
    "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-dynamodb"
}
        
Elapsed time: 0.37174s