labmon
Records experiment readings — cryostat temperature, chamber pressure, laser power, a magnet's current — into InfluxDB 3, and reads them back three ways: a command line, a terminal panel, and Grafana in a browser.
This package is the Python half: the sensors, the calibration, the writer
and the labmon command. The other half is a Docker Compose stack —
InfluxDB, Grafana and its provisioned dashboards, Loki, Alloy — which
lives in the repository and cannot usefully be delivered by an
installer.
Install
uv tool install labmon # or: pip install labmon
Nothing else is needed if you already have an InfluxDB 3 instance to talk
to. Three environment variables point at it, in the process environment or
in a .env beside you:
INFLUXDB_HOST |
where the server is, e.g. http://192.168.1.50:8181 |
INFLUXDB_DATABASE |
which database to use, e.g. lab |
INFLUXDB3_AUTH_TOKEN |
the admin token InfluxDB issued |
If you have no instance yet, labmon init mints the token and creates the
database over HTTP, from any machine.
What you get
labmon query |
print readings as a table; query latest gives one row per sensor, with how long ago each spoke |
labmon export |
the same selection, written to CSV, Parquet, Feather or netCDF, with the unit carried along |
labmon monitor |
a panel that redraws in place, as a grid of tiles or a table of everything |
labmon sensors |
every sensor labmon has seen, cached, so one that stopped reporting is still listed |
labmon serial-sensor |
read a board over a serial port, converting raw counts through a calibration file |
labmon mock-sensor |
invent a plausible reading, for confirming an address and a token before wiring anything up |
labmon init, labmon reset-database |
set the database up, or wipe it and start again |
Extras
labmon[tui] |
Textual, which labmon monitor needs |
labmon[netcdf] |
netCDF export. CSV, Parquet and Feather need nothing extra |
labmon[spline] |
SciPy, for the spline calibration mode |
Combine them as labmon[tui,netcdf].
Documentation
Everything is in the repository: the
README for the whole stack, and
docs/ for one page per component —
client setup, export, the monitor panel,
serial sensors, Grafana, deployment.
Licensed GPLv3.
Metadata
Release files for labmon 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| labmon-0.3.0.tar.gz | 126.5 kB | With provenance | Details for labmon-0.3.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| labmon-0.3.0-py3-none-any.whl | Python 3 | none | any | Details for labmon-0.3.0-py3-none-any.whl |
Total release size: 274.2 kB
Release files / labmon-0.3.0.tar.gz
| Download URL | labmon-0.3.0.tar.gz |
|---|---|
| Size | 126.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ef02f9de77172650f50b0d1e96c56f780c4f890bffc173ca847183b2f3f547b
|
|
BLAKE2b-256 checksum How to use checksums |
cdeb2d22ca0d35be9fe3aa1b651d33e51fd9a806b02b72842376c4033032346d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency logRelease files / labmon-0.3.0-py3-none-any.whl
| Download URL | labmon-0.3.0-py3-none-any.whl |
|---|---|
| Size | 147.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19b82605a79150e930f8ac86479b42889e1db6fc882054fb903f04b920b1969f
|
|
BLAKE2b-256 checksum How to use checksums |
ed3d96d3bb31c1b705b5357452a84cd93d9b6ad9236dae9a3b9f29cf4f21d1ae
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Sep 2, 2026.
Transparency logSecurity for labmon 0.3.0
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for labmon-0.3.0.tar.gz
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 Sep 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.