Redis Streams IngestSource adapter for Astrocyte
Project description
astrocyte-ingestion-redis
Optional IngestSource implementation: Redis Streams consumer (XREADGROUP / XACK), wired from sources: with type: stream and driver: redis.
Install
pip install astrocyte-ingestion-redis
In this monorepo, astrocyte[stream] includes this package (see astrocyte-py/pyproject.toml; package lives under adapters-ingestion-py/).
The package registers redis under the astrocyte.ingest_stream_drivers entry-point group (same mechanism as storage adapters under astrocyte.vector_stores, etc.). Core resolves sources: with type: stream and driver: redis via that group.
Config sketch
sources:
events:
type: stream
driver: redis
url: "redis://localhost:6379/0"
topic: "my-stream"
consumer_group: "astrocyte"
target_bank: "ingest"
Message field shapes match astrocyte.ingest.payload.parse_ingest_stream_fields (see core docs).
Develop
cd adapters-ingestion-py/astrocyte-ingestion-redis
uv sync --extra dev
uv run pytest
Project details
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 astrocyte_ingestion_redis-0.7.6.tar.gz.
File metadata
- Download URL: astrocyte_ingestion_redis-0.7.6.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eaf7299ca5360f683ae93d4a46f3d0736b424979ea3ed4f3fb3258bb60e698b4
|
|
| MD5 |
76b1b43356c02722f545001cb53bbda3
|
|
| BLAKE2b-256 |
56a45065a154a5e91b405f22fce22fc9f79057960b1eeffbd416ad5123e08963
|
File details
Details for the file astrocyte_ingestion_redis-0.7.6-py3-none-any.whl.
File metadata
- Download URL: astrocyte_ingestion_redis-0.7.6-py3-none-any.whl
- Upload date:
- Size: 4.2 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 |
29963eac703c52ff4bf01ae480a44ab419aaefeaca21f807d434874be90cb1e8
|
|
| MD5 |
0757fffb60244ac3d928de7ac6274dac
|
|
| BLAKE2b-256 |
21412bc799631bf49721d0d40988899f26d2f8b325d5ed4979a7abc587465730
|