gdcc / python-dvuploader

✈️ - Python package for parallel direct upload to Dataverse
MIT License
4 stars 0 forks source link

Graphical User Interface (GUI) for Python DVUploader #3

Open pdurbin opened 10 months ago

pdurbin commented 10 months ago

Crazy idea: add a GUI.

I don't know technology should be used. Over at https://github.com/jggautier/dataverse-scripts (note the screenshots) @jggautier used tkinter: https://docs.python.org/3/library/tkinter.html

p.s. I made the same feature request for the original Java DVUploader here:

JR-1991 commented 10 months ago

I like this idea a lot! Would it make sense to have it bundled into an installable application (maybe based on electron) or browser-based using i.e. dash?

Tkinter is also an option, but imo it's a bit dated and I am not sure how easy it is to add progress bars etc.

pdurbin commented 10 months ago

From what I understand, the cool kids are using Tauri ( https://github.com/tauri-apps/tauri ) instead of Electron these days.

I hadn't heard of dash. I assume it's this: https://pypi.org/project/dash/

We could have MULTIPLE UIs! May the best UI win! 😜

JR-1991 commented 10 months ago

Oh, thats nice 🤩 I haven't heard of Tauri so far, but it looks very promising!

I've added a CLI binary in #4 since Tauri offers to attach non-JS apps as binaries. Other than that, it supports React, and that should be feasible to develop on top of it.

Dash on the other hand can also be added, but it requires a Python installation. In case we do not want users to deal with Python installation and dependencies, I think going with Tauri seems more promising. What are your thoughts?