Skip to main content

Redis transport and bus surfaces for the EIGSEP experiment.

Project description

eigsep_redis

Redis transport and bus surfaces for the EIGSEP radio astronomy experiment.

Provides the Transport object (Redis connection + last-read-id bookkeeping) and per-bus writer/reader classes (MetadataWriter, MetadataSnapshotReader, MetadataStreamReader, StatusWriter, StatusReader, HeartbeatWriter, HeartbeatReader, ConfigStore) used by the observing stack and by the picohost producer library.

Split out of eigsep_observing so that producers (e.g. picohost) can depend on just the bus primitives without pulling in the full observing stack (h5py, flask, eigsep-vna, etc.).

Installation

pip install -e ".[dev]"

Development

pytest                   # tests + coverage
ruff check .             # lint
ruff format --check .    # formatting (line length 79)

Testing

Tests use fakeredis via DummyTransport — no Redis server required. The full producer↔consumer integration tests live in eigsep_observing (tests/test_redis.py), which imports both packages.

Related repos

  • eigsep_observing — observation pipeline that consumes this bus.
  • picohost — Pico microcontroller producer library that publishes to this bus.

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

eigsep_redis-1.0.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

eigsep_redis-1.0.0-py3-none-any.whl (13.9 kB view details)

Uploaded Python 3

File details

Details for the file eigsep_redis-1.0.0.tar.gz.

File metadata

  • Download URL: eigsep_redis-1.0.0.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for eigsep_redis-1.0.0.tar.gz
Algorithm Hash digest
SHA256 19c96f46624e8626552178ecea3bf70c6cd7d8941bfb8062692f77fb20ac47c1
MD5 c49a77a14e1f15de352505537f769b07
BLAKE2b-256 15ad487d96de67e5200336b3c7356278f2dafb868b8ec60a528d3fb6801b92fe

See more details on using hashes here.

Provenance

The following attestation bundles were made for eigsep_redis-1.0.0.tar.gz:

Publisher: release-please.yml on EIGSEP/eigsep_redis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file eigsep_redis-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: eigsep_redis-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 13.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for eigsep_redis-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7122420d50b7d2823743096ac734f49cca8b5858c8a79ee4538b1d01cbf15710
MD5 7d57334cdcf2e812ed4a15c956ef172f
BLAKE2b-256 9a72862607f3f95897be0492ea1b2a409de675ab6712d33664b3db84bba96a00

See more details on using hashes here.

Provenance

The following attestation bundles were made for eigsep_redis-1.0.0-py3-none-any.whl:

Publisher: release-please.yml on EIGSEP/eigsep_redis

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page