An experience on storing events.
Project description
Past Perfect
An experience on storing events.
How to use ?
Create the event table in your database.
from pastperfect import Events
db_session = ... # db_session from sqlachemy
events = Events(db_session)
events.append(
Event(name="SomethingHappened", data={"key": "value"}),
)
Setup Development Environment
You need the following tools installed on your machine:
- Poetry for Python package management.
- Poetry Plugin: Export for exporting dependencies.
- Poetry Plugin: up for updating dependencies.
Ensure you have Python 3.9 and above installed by running:
python --version
# Python 3.9.x
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pastperfect-0.3.1.tar.gz
(3.3 kB
view details)
Built Distribution
File details
Details for the file pastperfect-0.3.1.tar.gz
.
File metadata
- Download URL: pastperfect-0.3.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.2 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76868d9faeb4f38875f89296ba94c34f8db824ecfbdf42c7c4811a9eadf7fbb5 |
|
MD5 | c4816a9556b0367f9508a41443be9314 |
|
BLAKE2b-256 | 5a969ef2ea29ea81548ff5eff424a41fb74a5597c6be186436e2244515eb9c1c |
File details
Details for the file pastperfect-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: pastperfect-0.3.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.12.2 Darwin/23.5.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95c690ced9dbcc33739beb0141051f6242f4d80bf06f50151780de5819be0476 |
|
MD5 | 878140f6e6ee2fb8d11a2267a621938a |
|
BLAKE2b-256 | 3340711f15e57cdd06ca2a46a0ae241ba0ffc68029888097bc7c53b1acc87eb3 |