mbari-org / pbp

Process ocean audio data archives to daily analysis products of hybrid millidecade spectra using PyPAM.
https://docs.mbari.org/pbp
10 stars 2 forks source link

PBP User Interface #18

Open danellecline opened 1 month ago

danellecline commented 1 month ago

This is a feature request to add a UI to simplify use.

John R. has put together a rough mockup PBP_MenuMockup.pdf

My vote would be to use something like Flask for this development. This pure Python approach is simple and fast to debug/ develop. Users should still be able to use pbp with the

pip install mbari-pbp

Then, a user interface could have be called through something like:

pbp-ui
carueda commented 1 month ago

Thanks @danellecline for capturing this ticket. I saw @ryjombari's GUI mockup in slack.

Agree, makes a lot of sense to have a python based mechanism.

Quick reactions triggered by your mentioning Flask:

EDIT: "native" in the sense of not being via typical web browser (python based would be perfectly fine).

Actually, when I saw John's message on slack I thought about the possibility of a web based approach, you know, at that point due to the potential of leveraging our Vue experience there ... except (I also thought) a web based app might not be the desirable mechanism.

Let's of course continue the discussion to determine a good strategy.

FWIW There are tools out there that allow to convert a web based app into a native one. For example, I've got some promising results enabling a Vue webapp as a native application using Tauri. In fact, technically speaking, I can say it's been very successful already. But I haven't yet looked into other important aspects like signing and notarizing. So far, this exercise has been only exploratory–there's no requirement for this in any project (at least at the moment).