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.3.12.tar.gz (190.8 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.12-py3-none-any.whl (36.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arbok_inspector-1.3.12.tar.gz
  • Upload date:
  • Size: 190.8 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.12.tar.gz
Algorithm Hash digest
SHA256 2db09dd672c10686439cf82657ef2ee75fcb14023f4dc6fea747c62819e922ac
MD5 1f4f7ca741c5a7e96bfd23aff297eb57
BLAKE2b-256 52ca77b108a4f8c4faea3a8d5645a74110f28d45513857b2dd3215b9b4e748f2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for arbok_inspector-1.3.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f41ebf84da0d65e212108c1931d2a91e54ef2cd604bbfcd732b44dba392da3e2
MD5 0155385aea93e40a81aa190c4e843fa0
BLAKE2b-256 2aea2aa1cec381dba69a967abd566ca7782bee72a86ccecee205a90965a4f1e3

See more details on using hashes here.

Provenance

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