Skip to main content

Telemetry management and time series for SDSS-V

Project description

cerebro

Versions Documentation Status Test Status

A library to gather time-series data from different sources and store them, with focus on InfluxDB databases. Documentation and concepts are defined here.

Installation

In general you should be able to install cerebro by doing

pip install sdss-cerebro

To build from source, use

git clone git@github.com:sdss/cerebro
cd cerebro
pip install .

Use

cerebro is meant to run as a daemon. The simplest way to run it is simply

cerebro start

This will run all the sources and use all the observers. You can define a specific profile to use

cerebro --profile lvm-lab start

or a series of sources

cerebro --sources lvm_govee_clean_room,lvm_sens4_r1 start

Normally cerebro will run in detached/daemon mode. It's also possible to pass the flag --debug (cerebro start --debug) to run the code in the foreground.

Run cerebro --help to get all the options available.

Development

cerebro uses poetry for dependency management and packaging. To work with an editable install it's recommended that you setup poetry and install cerebro in a virtual environment by doing

poetry install

Pip does not support editable installs with PEP-517 yet. That means that running pip install -e . will fail because poetry doesn't use a setup.py file. As a workaround, you can use the create_setup.py file to generate a temporary setup.py file. To install cerebro in editable mode without poetry, do

pip install poetry
python create_setup.py
pip install -e .

The style code is black.

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

sdss_cerebro-1.2.1.tar.gz (25.8 kB view details)

Uploaded Source

Built Distribution

sdss_cerebro-1.2.1-py3-none-any.whl (34.5 kB view details)

Uploaded Python 3

File details

Details for the file sdss_cerebro-1.2.1.tar.gz.

File metadata

  • Download URL: sdss_cerebro-1.2.1.tar.gz
  • Upload date:
  • Size: 25.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for sdss_cerebro-1.2.1.tar.gz
Algorithm Hash digest
SHA256 55f6a5ed4ec11bc4364c76cb3d103eda527f66b8b52d6e23043b0b1514c82a5a
MD5 5f12b37d663a03e1d5a0ab4024e53781
BLAKE2b-256 2f2a0dee9e68823a0c5fe227f0a67cc3159b6cd2fceeddc6442de7c3e6a5fcac

See more details on using hashes here.

File details

Details for the file sdss_cerebro-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: sdss_cerebro-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 34.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for sdss_cerebro-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 94458dd7613d8b5735429a5c87e87c8b82f5c55ff792066b545a0da5ceff6d83
MD5 334456464ba9291c3f440b0d141e155c
BLAKE2b-256 3b29be3112397823a1827fcec20711d87b0f985170d43fdfb911c68cedac50c6

See more details on using hashes here.

Supported by

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