misken / hillmaker

Occupancy analysis by time of day and day of week, with Python
MIT License
6 stars 4 forks source link

GUI Feature #39

Open jwnorm opened 2 years ago

jwnorm commented 2 years ago

GUI Feature

Adds a new file gui.py, which contains the function get_user_input. This is combined with a gooey decorator in order to add a GUI to the make_hills function. This does not replace the CLI, but instead offers an alternative for users who may be more comfortable clicking than typing.

There are a few open items I would like to have resolved at some point:

misken commented 2 years ago

I'm going to pull your gui branch into a new jwnorm-gui branch on my end and play around with it. One thing I realized is that this will be a great interoperability test/challenge as I'm using Ubuntu and you are using Windows. This is a bridge that had to be crossed at some point, and this is a great test case.

jwnorm commented 2 years ago

Did not even think of that, great idea.

One issue I can think off the bat is that I explicitly target hillmaker.exe in my gui.py file (you can find it in the Gooey decorator near the top of the script). Would the script file that is generated via a pip install in a Linux environment be .sh format?