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.0.tar.gz (18.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-2.2.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eigsep_redis-2.2.0.tar.gz
  • Upload date:
  • Size: 18.4 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.0.tar.gz
Algorithm Hash digest
SHA256 faeb5098aadb41c0169103077b2ed5808f62f08431bdd2df2eb21269dc4fa907
MD5 5e9297886be2bac575616b331313d75e
BLAKE2b-256 5433219fae12544f9639b76df58196e052cbdd2b36487ff4c3ef3f105ae1578c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eigsep_redis-2.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 df228dd5e11913c0734caa446747fa077cf4b51340a666ee8b77e2eebec2f89c
MD5 ff2ce37a4704c87b7c93439213111ae6
BLAKE2b-256 7156996ffbeb2340522f82ea61613469312f526505d08baf96a473347eebb065

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