aett-inmemory


Nameaett-inmemory JSON
Version 2.1.0 PyPI version JSON
download
home_pageNone
SummaryIn-Memory persistence for aett event store
upload_time2024-11-23 21:08:45
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 s3
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-inmemory)](https://pepy.tech/project/aett-inmemory)

Aett In-Memory provides the ability to store and retrieve events from an in-memory storage.
This module should not be used for production. It is intended only for testsing.

## Usage

To create an event stream to manage events, you will need to create a bucket, which will serve as the root storage.

The package also provides `CommitStore` and `SnapshotStore` classes that can be used to store and retrieve events. They
can be instantiated by providing a Postgres database connection and specifying the configured table name.

```python
from aett.inmemory import CommitStore, SnapshotStore

commit_store = CommitStore()
snapshot_store = SnapshotStore()
```

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "aett-inmemory",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": null,
    "keywords": "events, event store, s3",
    "author": null,
    "author_email": "Jacob Reimers <pypi@reimers.io>",
    "download_url": "https://files.pythonhosted.org/packages/3a/15/a9f471d1410203582efbecf50bf0610f886e71ddbe9534ce1c84700f9036/aett_inmemory-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-inmemory)](https://pepy.tech/project/aett-inmemory)\n\nAett In-Memory provides the ability to store and retrieve events from an in-memory storage.\nThis module should not be used for production. It is intended only for testsing.\n\n## Usage\n\nTo create an event stream to manage events, you will need to create a bucket, which will serve as the root storage.\n\nThe package also provides `CommitStore` and `SnapshotStore` classes that can be used to store and retrieve events. They\ncan be instantiated by providing a Postgres database connection and specifying the configured table name.\n\n```python\nfrom aett.inmemory import CommitStore, SnapshotStore\n\ncommit_store = CommitStore()\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": "In-Memory persistence for aett event store",
    "version": "2.1.0",
    "project_urls": {
        "Homepage": "https://github.com/jjrdk/aett"
    },
    "split_keywords": [
        "events",
        " event store",
        " s3"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1bf49899063455ce299c2bfbf726efca7ff09bb87718d2b93277e9a5f70b0f91",
                "md5": "708dbaf9e0e3aeb295b07c76cfbf4522",
                "sha256": "26f18bbe959d129da2e852bea497332f28d02b2e68120e931784d756c3fae512"
            },
            "downloads": -1,
            "filename": "aett_inmemory-2.1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "708dbaf9e0e3aeb295b07c76cfbf4522",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 4412,
            "upload_time": "2024-11-23T21:08:44",
            "upload_time_iso_8601": "2024-11-23T21:08:44.093776Z",
            "url": "https://files.pythonhosted.org/packages/1b/f4/9899063455ce299c2bfbf726efca7ff09bb87718d2b93277e9a5f70b0f91/aett_inmemory-2.1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3a15a9f471d1410203582efbecf50bf0610f886e71ddbe9534ce1c84700f9036",
                "md5": "76c8e082dc1403a560c7e6ac122db12c",
                "sha256": "85036d97cb3e5d937476c271faf176008c0f3a25fab050a1422d4c564886e7fe"
            },
            "downloads": -1,
            "filename": "aett_inmemory-2.1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "76c8e082dc1403a560c7e6ac122db12c",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 3853,
            "upload_time": "2024-11-23T21:08:45",
            "upload_time_iso_8601": "2024-11-23T21:08:45.527703Z",
            "url": "https://files.pythonhosted.org/packages/3a/15/a9f471d1410203582efbecf50bf0610f886e71ddbe9534ce1c84700f9036/aett_inmemory-2.1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-11-23 21:08:45",
    "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-inmemory"
}
        
Elapsed time: 9.05229s