Skip to main content

Browser based QCoDeS database inspector

Project description

arbok-inspector 🐍🔎

PyPI Python License

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.

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.4.0.tar.gz (213.1 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.4.0-py3-none-any.whl (48.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for arbok_inspector-1.4.0.tar.gz
Algorithm Hash digest
SHA256 fba62ea9c631d5484a6d5b10a0ae446b7d7bd2a1f7e24bb8e4f39e86da7b613a
MD5 e1c72de7c9c63438de6e996b31f3408d
BLAKE2b-256 db75b91eca8c3361e2239cfadbd8319dde504308436f8a79786cd373d9738561

See more details on using hashes here.

Provenance

The following attestation bundles were made for arbok_inspector-1.4.0.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.4.0-py3-none-any.whl.

File metadata

  • Download URL: arbok_inspector-1.4.0-py3-none-any.whl
  • Upload date:
  • Size: 48.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for arbok_inspector-1.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfdb99e2705107f15892e4e314479f0029081d48046852aa9e62763fe54b14f3
MD5 4980c8bb487ca453185d96aca13473af
BLAKE2b-256 86cd0ddb64a1bccd66ee3a336b7bf660e8b6356e7c4cd155ef604fec77adeb82

See more details on using hashes here.

Provenance

The following attestation bundles were made for arbok_inspector-1.4.0-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