Telemetry management and time series for SDSS-V
Project description
cerebro
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0bdbb95edebaf95d378410dcf5efb24a4cb05198ee7e6d724edf7478c766d2b
|
|
| MD5 |
11b72d9704f373d4ed665dea78a943d5
|
|
| BLAKE2b-256 |
e713f71a14409aa3a3dd8db9d012c2ac1425a7566699e59f7e0fcb413fb7b0ea
|
Provenance
The following attestation bundles were made for sdss_cerebro-1.3.3.tar.gz:
Publisher:
release.yml on sdss/cerebro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sdss_cerebro-1.3.3.tar.gz -
Subject digest:
d0bdbb95edebaf95d378410dcf5efb24a4cb05198ee7e6d724edf7478c766d2b - Sigstore transparency entry: 907449948
- Sigstore integration time:
-
Permalink:
sdss/cerebro@e33dd4377189a99c53f7a9c9daa2fd0f8e8b4e15 -
Branch / Tag:
refs/tags/1.3.3 - Owner: https://github.com/sdss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e33dd4377189a99c53f7a9c9daa2fd0f8e8b4e15 -
Trigger Event:
push
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
030b980f2677162c961ddf00e31459d8325294c01bffc48653213ee35bc0bbbe
|
|
| MD5 |
0fe8d1a509a42d0fda4ddbc377bf386b
|
|
| BLAKE2b-256 |
fc8f1e36ba8068b3ec80ce745cc1a7087999ecac2ccfba9c08f4a5d1eed2f312
|
Provenance
The following attestation bundles were made for sdss_cerebro-1.3.3-py3-none-any.whl:
Publisher:
release.yml on sdss/cerebro
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sdss_cerebro-1.3.3-py3-none-any.whl -
Subject digest:
030b980f2677162c961ddf00e31459d8325294c01bffc48653213ee35bc0bbbe - Sigstore transparency entry: 907449953
- Sigstore integration time:
-
Permalink:
sdss/cerebro@e33dd4377189a99c53f7a9c9daa2fd0f8e8b4e15 -
Branch / Tag:
refs/tags/1.3.3 - Owner: https://github.com/sdss
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@e33dd4377189a99c53f7a9c9daa2fd0f8e8b4e15 -
Trigger Event:
push
-
Statement type: