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.3.3.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sdss_cerebro-1.3.3-py3-none-any.whl (38.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sdss_cerebro-1.3.3.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sdss_cerebro-1.3.3.tar.gz
Algorithm Hash digest
SHA256 d0bdbb95edebaf95d378410dcf5efb24a4cb05198ee7e6d724edf7478c766d2b
MD5 11b72d9704f373d4ed665dea78a943d5
BLAKE2b-256 e713f71a14409aa3a3dd8db9d012c2ac1425a7566699e59f7e0fcb413fb7b0ea

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdss_cerebro-1.3.3.tar.gz:

Publisher: release.yml on sdss/cerebro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: sdss_cerebro-1.3.3-py3-none-any.whl
  • Upload date:
  • Size: 38.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for sdss_cerebro-1.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 030b980f2677162c961ddf00e31459d8325294c01bffc48653213ee35bc0bbbe
MD5 0fe8d1a509a42d0fda4ddbc377bf386b
BLAKE2b-256 fc8f1e36ba8068b3ec80ce745cc1a7087999ecac2ccfba9c08f4a5d1eed2f312

See more details on using hashes here.

Provenance

The following attestation bundles were made for sdss_cerebro-1.3.3-py3-none-any.whl:

Publisher: release.yml on sdss/cerebro

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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