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.14.tar.gz (192.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.3.14-py3-none-any.whl (37.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: arbok_inspector-1.3.14.tar.gz
  • Upload date:
  • Size: 192.1 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.14.tar.gz
Algorithm Hash digest
SHA256 fa994555d18739f17b9aa136a89c9ed2c0bb64a0b8442c6ba22ab4e139b75add
MD5 55c7ea8004a7212129d13a41d5f2f4ab
BLAKE2b-256 ab175acfeac707c5d21bc3e284a2932cc56ec88264f2e0f6bb4c78ee7151eba1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for arbok_inspector-1.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 057964fc010a6cf469de3a5ac076f4341f8c3d5e375d8bd986f1c900732311eb
MD5 71ca0606fd6acc7b9a75152b0d63a47a
BLAKE2b-256 e522f79dbdfe74c2c112bdcfb64aa4f257f804234c9cdd4ed4f4a7dd0c56ffb4

See more details on using hashes here.

Provenance

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