Name | aett-s3 JSON |
Version |
2.1.0
JSON |
| download |
home_page | None |
Summary | S3 connector for aett event store |
upload_time | 2024-11-23 21:08:01 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.10 |
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. |
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
[](https://pepy.tech/project/aett-postgres)
Aett S3 provides the ability to store and retrieve events from an S3 bucket.
## 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.s3 import CommitStore, SnapshotStore, S3Config
from aett.eventstore import TopicMap
config = S3Config(bucket='test',
endpoint_url='http://localhost:9000',
use_tls=False,
aws_access_key_id='minioadmin',
aws_secret_access_key='minioadmin')
commit_store = CommitStore(s3_config=config, topic_map=TopicMap())
snapshot_store = SnapshotStore(s3_config=config)
```
Raw data
{
"_id": null,
"home_page": null,
"name": "aett-s3",
"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/29/d8/95bfe0459c6c48ca0454ee1f6b46ebedc00f3085c2b83ac6324c9c1f6fb5/aett_s3-2.1.0.tar.gz",
"platform": null,
"description": "# \u00c6t (Aett) is an Event Store for Python\n\n[](https://pepy.tech/project/aett-postgres)\n\nAett S3 provides the ability to store and retrieve events from an S3 bucket.\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.s3 import CommitStore, SnapshotStore, S3Config\nfrom aett.eventstore import TopicMap\n\nconfig = S3Config(bucket='test',\n endpoint_url='http://localhost:9000',\n use_tls=False,\n aws_access_key_id='minioadmin',\n aws_secret_access_key='minioadmin')\ncommit_store = CommitStore(s3_config=config, topic_map=TopicMap())\nsnapshot_store = SnapshotStore(s3_config=config)\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": "S3 connector 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": "aa9be6f92f66b1dd12f7bb0ae021dce405fe489ea99d1fe556888d632ca2aa2a",
"md5": "5db374101aa8d361258d0e1cf2136bed",
"sha256": "9966462447e2d18fd528bed9aa6a1222ddac525924183846bcaf82931efed650"
},
"downloads": -1,
"filename": "aett_s3-2.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5db374101aa8d361258d0e1cf2136bed",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.10",
"size": 5683,
"upload_time": "2024-11-23T21:08:00",
"upload_time_iso_8601": "2024-11-23T21:08:00.898155Z",
"url": "https://files.pythonhosted.org/packages/aa/9b/e6f92f66b1dd12f7bb0ae021dce405fe489ea99d1fe556888d632ca2aa2a/aett_s3-2.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "29d895bfe0459c6c48ca0454ee1f6b46ebedc00f3085c2b83ac6324c9c1f6fb5",
"md5": "14200b8b3ca5ec73e33b80ffd6a6661a",
"sha256": "6d425156ca20be1afe302650d1ff1b1e3237e10cc81dee9c602e2affbeaba0e1"
},
"downloads": -1,
"filename": "aett_s3-2.1.0.tar.gz",
"has_sig": false,
"md5_digest": "14200b8b3ca5ec73e33b80ffd6a6661a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.10",
"size": 5181,
"upload_time": "2024-11-23T21:08:01",
"upload_time_iso_8601": "2024-11-23T21:08:01.909250Z",
"url": "https://files.pythonhosted.org/packages/29/d8/95bfe0459c6c48ca0454ee1f6b46ebedc00f3085c2b83ac6324c9c1f6fb5/aett_s3-2.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-23 21:08:01",
"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-s3"
}