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.
Metadata
Release files for sdss-cerebro 1.3.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sdss_cerebro-1.3.3.tar.gz | 28.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sdss_cerebro-1.3.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 66.1 kB
Release files / sdss_cerebro-1.3.3.tar.gz
| Download URL | sdss_cerebro-1.3.3.tar.gz |
|---|---|
| Size | 28.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d0bdbb95edebaf95d378410dcf5efb24a4cb05198ee7e6d724edf7478c766d2b
|
|
BLAKE2b-256 checksum How to use checksums |
e713f71a14409aa3a3dd8db9d012c2ac1425a7566699e59f7e0fcb413fb7b0ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency logRelease files / sdss_cerebro-1.3.3-py3-none-any.whl
| Download URL | sdss_cerebro-1.3.3-py3-none-any.whl |
|---|---|
| Size | 38.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
030b980f2677162c961ddf00e31459d8325294c01bffc48653213ee35bc0bbbe
|
|
BLAKE2b-256 checksum How to use checksums |
fc8f1e36ba8068b3ec80ce745cc1a7087999ecac2ccfba9c08f4a5d1eed2f312
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Feb 3, 2026.
Transparency log