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.0.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.0-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: eigsep_redis-2.3.0.tar.gz
  • Upload date:
  • Size: 23.7 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.3.0.tar.gz
Algorithm Hash digest
SHA256 c40ba13af1ab0207de7b558c3e382b24d54792d943841e7806a8b76676da3af2
MD5 18fb811c36744bb735434a9d75ad14d0
BLAKE2b-256 159c3a918f101bf7bcd683921af34f013043067e9cb5cbda2c93beff1d3253c8

See more details on using hashes here.

File details

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

File metadata

  • Download URL: eigsep_redis-2.3.0-py3-none-any.whl
  • Upload date:
  • Size: 16.6 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a3e2ffe5699dc3fe577b0ad9c01fd3e75c705514529931f5cb08c43b599e3538
MD5 d40ccb9efff7ccd0506567c2281625f3
BLAKE2b-256 d45a3d81cccaec4b1af0dca464a617604bc6d870cbf5d89711945e5a43db601b

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