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.3.1.tar.gz (23.7 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.3.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eigsep_redis-2.3.1.tar.gz
  • Upload date:
  • Size: 23.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.3.1.tar.gz
Algorithm Hash digest
SHA256 55ffdf0598dbd4f84eb270aa49aadb4314c548fc8088173b8a636524f5a0958b
MD5 cbd6f8364a3cec6048f25ae0584d7fbe
BLAKE2b-256 3f0090ffb4e929f7f863c28c5c86296b8e6411841eb6965a289e46fc8d30e1e9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eigsep_redis-2.3.1-py3-none-any.whl
  • Upload date:
  • Size: 16.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","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.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1c33f1e1857bea83fc2f183e301bb5d84f4b6c821864fc6fe7c561eab2c44d7
MD5 2245c4eb433f50d2328f1538b23f549e
BLAKE2b-256 02a0e59423ffc224cffab404079fba3986daa956e542190d3997a04bb2f65332

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