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.13.tar.gz (191.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.13-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arbok_inspector-1.3.13.tar.gz
  • Upload date:
  • Size: 191.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.13.tar.gz
Algorithm Hash digest
SHA256 cfc8a0c93c92a16c4fb9fca58d5aaf02ca694b8d14a80646bfa20b0331d701d2
MD5 8d25ac1c272866b20acb81604ea4abe4
BLAKE2b-256 64b8de9db2447e4b86a1a6c68090070da7c922a31b7441371197e819809a15cd

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for arbok_inspector-1.3.13-py3-none-any.whl
Algorithm Hash digest
SHA256 afacfc6873d2ee1b0304843a56576ea8137ecbf85cde8cb313e56d8e237ae9b7
MD5 980a7485ef0e1a0b2ef34cac5c354edf
BLAKE2b-256 2b661d902ab8b6cebd1144d942df0644dbec31f6618f8a77f68a9f396f688fe1

See more details on using hashes here.

Provenance

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