Skip to main content

Redis transport and bus surfaces for the EIGSEP experiment.

Project description

eigsep_redis

codecov

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-2.2.1.tar.gz (19.0 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-2.2.1-py3-none-any.whl (13.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eigsep_redis-2.2.1.tar.gz
  • Upload date:
  • Size: 19.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for eigsep_redis-2.2.1.tar.gz
Algorithm Hash digest
SHA256 a37f8166499318405c27b1ef36e3c92e1e3370544d066ce40e34da6eabf678d4
MD5 a4b906092eb78d2b8aee3312ea21fadb
BLAKE2b-256 259004310f5780c4a2edc56a78e31ee8e6b78f0492aacc18502047904be66a48

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eigsep_redis-2.2.1-py3-none-any.whl
  • Upload date:
  • Size: 13.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for eigsep_redis-2.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ecf7b2599c908ecdd2dc0daa0f164c40a10aad3ea6a8304464d3eb9228687a67
MD5 25b9c39c1523017c37f7f4635d45da02
BLAKE2b-256 3935c6cac0386b9c0871aba16a585aa2c0f15a4ee6f32bcfe78f546f07930b36

See more details on using hashes here.

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