corr_vars_widget
A collection of AnyWidgets for the corr_vars package.
Widgets
ObsWidget
Displays a polars.DataFrame in a Quak Widget with additional infos about the shape and the observation level.
ObsmWidget
Displays a list of polars.DataFrame in Quak Widgets within collapsible accordions with additional infos about the shape of the respective polars.DataFrame.
JsonWidget
Displays a searchable JSON viewer (filtering the keys of the first level). The JSON object is displayed in a collapsible view.
JsonmWidget
Displays a dict of JSON objects in collapsible accordions. A shared search bar filters the first-level keys across all JSON views.
TimeseriesWidget
Displays per-ID clinical timeseries over a shared, synchronized time axis, backed by DuckDB. It combines three lane types in one view: interval lanes (Gantt-style bars), event lanes (point-in-time dots), and value charts (line/area). Pick an ID with the searchable combobox, pan/zoom via the overview strip, and toggle labels from the settings popover. Provide a color_col (any CSS color or shadcn CSS variable) to colour rows explicitly.
A fluent Timeseries builder is available as the primary API:
(
Timeseries(id_col="stay_id", start_col="start", end_col="end", value_col="value")
.interval("Device", devices)
.event("Sedation", sedation)
.value("PaO₂", pao2)
)
Development
Development requires uv and
pnpm.
uv venv
uv pip install -e . --group dev
pnpm dev # start a development server
uv run jupyter lab notebooks/example.ipynb
Metadata
Release files for corr-vars-widget 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| corr_vars_widget-0.0.10.tar.gz | 2.0 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| corr_vars_widget-0.0.10-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.1 MB
Release files / corr_vars_widget-0.0.10.tar.gz
| Download URL | corr_vars_widget-0.0.10.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ff9bd94169043bb592a26425dc9d3b8767e244924946c95eb22fc36345cea07
|
|
BLAKE2b-256 checksum How to use checksums |
926a8215d5fab2bff9e9fcf3869609bbcb9ca4f11c1768f63af3a203e9190611
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|
Release files / corr_vars_widget-0.0.10-py3-none-any.whl
| Download URL | corr_vars_widget-0.0.10-py3-none-any.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0da105b26cfe870dc047f6768884ec2f6074ac88a4ac02d26debd5977a3b5146
|
|
BLAKE2b-256 checksum How to use checksums |
f38cbbe8a1f6e66e1ddf9ce76eee196980f89d0274cf8f11e10be1cf0bd7efdd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.19
|