LabDataReader
LabDataReader is a plugin based python framework for reading and converting laboratory device data, including metadata and semantic. **Input formats**: many (legacy) data formats via plugin system. **Output formats**: Pandas, JSON and AnIML (py lib)
Summary
| Latest Version | Unknown |
|---|---|
| License | Unknown |
| CI Status | Failing |
| Stars | 1 |
| Forks | 0 |
| Open Issues | 0 |
| Last Commit | 2026-10-14 |
| Downloads | 0 |
| Last Indexed | 2026-11-23 14:21 |
Installation
nimble install LabDataReader
choosenim install LabDataReader
git clone https://gitlab.com/opensourcelab/scientificdata/labdatareader
OS Compatibility
| Platform | Linux | macOS | Windows | FreeBSD | OpenBSD | NetBSD | Android | iOS | WASM | Embedded |
|---|---|---|---|---|---|---|---|---|---|---|
| LabDataReader | ✓ | ✓ | ✓ | - | - | - | - | - | - | - |
Source
| Repository | https://gitlab.com/opensourcelab/scientificdata/labdatareader |
|---|---|
| Homepage | https://gitlab.com/opensourcelab/scientificdata/labdatareader |
| Registry Source | gitlab |
README
LabDataReader
LabDataReader is a plugin based python framework for reading and converting laboratory device data, including metadata and semantic information. As input formats many widely used (legacy) data formats are supported or can be very easily added through the plugin system. Supported output formats are Pandas Dataframes, JSON and csv. AnIML output is supported via the AnIML_python package.
Features: * standardised output data formats and interfaces * metadata parsing and handling, uniform and flexible metadata class * semantic information in human and machine readable formats * convenient methods for parsing of legacy measurement data
The motivation of the library is to make data reading of lab device files as simple as possible. For that a generic description of data formats has been developed:
LabDataReader destinguishes between - methods: like "HPLC", "Absorbance", "GC", "NMR",... - data formats: these are vendor/measurement program specific output formats, like "hitachi_chromaster", "thermo_skanit6", "bmg_omega" - data sub formats: each data format can have several sub-formats, like "chromatogram_uv_vis", "uv_vis_kinetics", which can be used to further specify different variations of a data format.
By this addressing scheme all supported data formats can be addressed. There are also methods provided to query all supported data formats with their corresponding sub formats.
Furthermore LabDataReader provides semantic description (RDF/turtle) of the imported data formats to relate the data to ontologies.
LabDataReader installation
# --user indicatates to do a local installation into home directory
cd Labdatareader
pip3 install --user .
It is highly recommended to install LabDataReader in a virtual environment
LabDataReader usage
Basic usage:
from Labdatareader.data_reader import DataReader
data_reader = DataReader(method='HPLC',
data_format="hitachi_chromaster.chromatogram_uv_vis",
data_path="path_to_data",
filename_pattern="my_data.dat")
my_dataframe = data_reader.dataframe # Pandas Data frame
Metadata:
Semantics:
LabDataReader jupyter notebook demo
More interactive demos of the LabDataReader library can be found in the jupyter folder.
LabDataReader unittests
# run from root folder containing tests directory:
python3 -m unittest
LabDataReader documentation
For LabDataReader's documentation see the docs directory.