General-purpose async event bus (file-backed, JSON Lines) — standalone module from the SciTeX ecosystem
Project description
scitex-events
General-purpose async event bus extracted from the SciTeX ecosystem as a standalone, zero-dep package.
Install
pip install scitex-events
Usage
import scitex_events as ev
# Emit
ev.emit("test_complete", project="figrecipe", status="success",
payload={"exit_code": 0, "module": "stats"})
# Read latest event of a given type
ev.latest("test_complete")
# {"type": "test_complete", "project": "figrecipe", ...}
# Recent history
list(ev.history(limit=20))
# Schemas / introspection
ev.list_types()
ev.get_type_info("test_complete")
Events are stored locally as JSON-Lines files (override path via SCITEX_EVENTS_DIR)
and can optionally be forwarded to a cloud webhook.
Status
Standalone fork of scitex.events. Pure stdlib — zero runtime deps. The
umbrella package's scitex.events import path is preserved via a
sys.modules-alias bridge so existing code continues to work.
License
AGPL-3.0-only (see LICENSE).
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file scitex_events-0.1.1.tar.gz.
File metadata
- Download URL: scitex_events-0.1.1.tar.gz
- Upload date:
- Size: 20.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7552fb61d5548524b09782b73d2162d30168f5835d7acd89deffd655f679c5b4
|
|
| MD5 |
7ec39d18beee3c31a3adcbbdd16aa687
|
|
| BLAKE2b-256 |
46c602a932db36adf036254ec9ab7931d63485d13ce5c5ad63f6bb6885d31a16
|
Provenance
The following attestation bundles were made for scitex_events-0.1.1.tar.gz:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-events
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_events-0.1.1.tar.gz -
Subject digest:
7552fb61d5548524b09782b73d2162d30168f5835d7acd89deffd655f679c5b4 - Sigstore transparency entry: 1396490849
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-events@77b913b78ea2efaf103a8a8ab48faa644963f629 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@77b913b78ea2efaf103a8a8ab48faa644963f629 -
Trigger Event:
push
-
Statement type:
File details
Details for the file scitex_events-0.1.1-py3-none-any.whl.
File metadata
- Download URL: scitex_events-0.1.1-py3-none-any.whl
- Upload date:
- Size: 21.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
79373f58b37dcc990c92969bbfd5ac418df9e536dc8b0aece2ec861ac4b67862
|
|
| MD5 |
64c6c35df4c7965ce5c2903571ff3f2a
|
|
| BLAKE2b-256 |
153b1122f24c9fbe2bcd083dd2c0878b938206ef374f2d243d9614ac26d433a7
|
Provenance
The following attestation bundles were made for scitex_events-0.1.1-py3-none-any.whl:
Publisher:
publish-pypi.yml on ywatanabe1989/scitex-events
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
scitex_events-0.1.1-py3-none-any.whl -
Subject digest:
79373f58b37dcc990c92969bbfd5ac418df9e536dc8b0aece2ec861ac4b67862 - Sigstore transparency entry: 1396491060
- Sigstore integration time:
-
Permalink:
ywatanabe1989/scitex-events@77b913b78ea2efaf103a8a8ab48faa644963f629 -
Branch / Tag:
refs/tags/v0.1.1 - Owner: https://github.com/ywatanabe1989
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-pypi.yml@77b913b78ea2efaf103a8a8ab48faa644963f629 -
Trigger Event:
push
-
Statement type: