Experiment Utilities (exputils)
Experiment Utilities (exputils) contains various tools for the management of scientific experiments and their experimental data. It is especially designed to handle experimental repetitions, including to run different repetitions, to effectively store and load data for them, and to visualize their results.
Main features:
- Easy definition of default configurations using nested python dictionaries.
- Setup of experimental configuration parameters using an ODF file (Libreoffice alternative of MS Excel).
- Running experiments and their repetitions in parallel.
- Logging of experimental data (numpy, json) with tensorboard support.
- Loading and filtering of experimental data.
- Interactive Jupyter widgets to load, select and plot data as line, box and bar plots.
You can find the documentation online: https://chrisreinke.github.io/exputils/
Requirements
Developed and tested on Python 3.11 on Linux (Ubuntu 24) but is compatible also with older Python versions >= 3.8.
Note: Jupter notebook is used for visualization. Due to some constraints (https://github.com/quantopian/qgrid/issues/372) only an older version of Jupyter can be used:
- notebook <= 6.5.6
- ipywidgets >= 7.5.1,<= 7.6.5
Installation
1) Exputils Package
Two options are available, either via pip or directly from the source code.
PIP (recommended)
pip install experiment-utilities
From Source
Clone the repository via git and install via pip:
git clone https://github.com/ChrisReinke/exputils.git .
pip install ./exputils
2) Jupiter Notebook
For using the exputils GUIs for loading and plotting of data in Jupyter Notebook, the qgrid widget must be activated. (Note: The GUI is currently only working for Jupyter notebooks <= 6.5.) Activate qgrid with:
jupyter contrib nbextension install --user
jupyter nbextension enable --py --sys-prefix widgetsnbextension
jupyter nbextension enable --py --sys-prefix qgrid
It is recommended to use the Jupyter Notebooks Extensions to allow folding of code and headlines. This makes the notebooks more readable. Activate the extensions with:
jupyter nbextension enable codefolding/main
jupyter nbextension enable collapsible_headings/main
Documentation
The documentation can be found online at https://chrisreinke.github.io/exputils/.
To generate the documentation MkDocs needs to be installed which can be done via the docs option:
pip install experiment-utilities[docs]
Then run:
mkdocs serve
Development
If you wish to further develop the exputils, then it is useful to install it in editable mode and to run its unittests. Download and install the source code via:
git clone https://github.com/ChrisReinke/exputils.git .
pip install -e ./exputils[test]
To run the tests call:
pytest
Metadata
Release files for experiment-utilities 0.3.9
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 |
|---|---|---|---|---|
| experiment_utilities-0.3.9.tar.gz | 111.6 kB | Without provenance | Details for experiment_utilities-0.3.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| experiment_utilities-0.3.9-py3-none-any.whl | Python 3 | none | any | Details for experiment_utilities-0.3.9-py3-none-any.whl |
Total release size: 233.1 kB
Release files / experiment_utilities-0.3.9.tar.gz
| Download URL | experiment_utilities-0.3.9.tar.gz |
|---|---|
| Size | 111.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a15448386a8dec9d54266c6b2b8fe973cface17cedd929a352edb68e3c592e31
|
|
BLAKE2b-256 checksum How to use checksums |
acaed480e7da723fa6bff07108fc0eab19fb067b75d00d7bc5eacffc13b01de1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|
Release files / experiment_utilities-0.3.9-py3-none-any.whl
| Download URL | experiment_utilities-0.3.9-py3-none-any.whl |
|---|---|
| Size | 121.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ac5f7a189c51bb95a474761555ac1240e2f96d03c003de8850105c5546f0096
|
|
BLAKE2b-256 checksum How to use checksums |
9d6550fef66d476ba5fad91eb6415897f44e92f9c49771a011b61e459a59222e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.10
|
Security for experiment-utilities 0.3.9
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A 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.