Skip to main content

Browser based QCoDeS database inspector

Project description

arbok_inspector 🐍

arbok_inspector is an browser based inspection and visualization utility for QCoDeS measurement databases. It provides a lightweight GUI and CLI to browse runs and visualize data.

Features 🔎

The most commonly used used tool to visualize QCoDeS databases is plottr. Plottr is a great tool to get started, but struggles with increasing abounts of data.

This is how arbok_inspector streamlines your data inspection:

  • Fast browsing of measurement runs and their metadata
  • Written with nicegui acting as a tailwind wrapper
  • Browser based approach ensures cross system compatibily
  • Selected runs are opened in a new tab and run on a separate thread
    • this avoids blocking the entire application when loading big datasets
  • plotting backend is plotly which natively returns html
    • plotly plot customization is declarative and can therefore be tweaked in a simple json editor without implementing each customization by hand
  • runs are only loaded on demand
    • startup time in plottr can be several minutes for large databases
    • SQL queries load only the given days upon database selection, only loads respective runs once day is selected

Installation 📲

From pypi install using pip in your environment:

pip install arbok-inspector

Even better if you are using uv, a uv.lock file is included! Launch from CLI:

arbok-inspector

Project layout

  • main.py — app entrypoint and startup logic
  • state.py — application state & database handling
  • pages/ — NiceGUI pages (database browser, run view, greeter, ...)
  • widgets/ — reusable UI widgets (grid builders, selectors, dialogs)
  • analysis/ — analysis and data-prep utilities
  • classes/ — small domain objects used across the app
  • helpers/ — formatting and utility helpers

Development & testing 🛠️

Clone this git repository and navigate into it. Use an editable install for local development to pick up changes immediately

pip install -e .

To launch the app in editable mode launch from dev.py file:

arbok-inspector-dev

Note, this will likely not work on Windows! Try python -m dev while being in the arbok_inspector directory.

Contributing & help 🙌

Contributions, bug reports, and small feature requests are welcome. If you want to add a visualization or a new page, use pages/ and widgets/ for examples of how UI components are composed. When opening a PR, please keep changes focused and include a short description of how to exercise the change locally.

License

See the LICENSE file in the project root for license details.

Notes & tips

  • For exact runtime dependencies check pyproject.toml — prefer using that manifest (and a virtual environment) for reproducible installs.
  • If you want me to add a short walkthrough for common tasks (open a run, plot data, export CSV), tell me which task you'd like first and I can add a step-by-step example here. 📘

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

arbok_inspector-1.3.4.tar.gz (177.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

arbok_inspector-1.3.4-py3-none-any.whl (32.8 kB view details)

Uploaded Python 3

File details

Details for the file arbok_inspector-1.3.4.tar.gz.

File metadata

  • Download URL: arbok_inspector-1.3.4.tar.gz
  • Upload date:
  • Size: 177.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for arbok_inspector-1.3.4.tar.gz
Algorithm Hash digest
SHA256 b0933b135d2023924c40957cacb0ddbcef7aba166125d08bb2e83383619d3179
MD5 269b60cf1f90cd24c678f58644a5d086
BLAKE2b-256 a133d68871be24e2679d9478321446a1ac0beb071def1966f298560c037e033e

See more details on using hashes here.

Provenance

The following attestation bundles were made for arbok_inspector-1.3.4.tar.gz:

Publisher: pypi_release_auto_and_manual.yml on andncl/arbok_inspector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file arbok_inspector-1.3.4-py3-none-any.whl.

File metadata

File hashes

Hashes for arbok_inspector-1.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 26584fe625e3163a1ae2a1f9c39c0320a1e850bff227db41d89557db39849914
MD5 5e5c290b1de21c37ffaad12e4f8f5f92
BLAKE2b-256 9dcf08ae7dc35b2d4c0ef9b669107ec9e84ee2f1c8119c55abd8bb68a2dbfc21

See more details on using hashes here.

Provenance

The following attestation bundles were made for arbok_inspector-1.3.4-py3-none-any.whl:

Publisher: pypi_release_auto_and_manual.yml on andncl/arbok_inspector

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page