Giter Site home page Giter Site logo

GUI about whole-foods-deliverance HOT 4 OPEN

mark-thompson avatar mark-thompson commented on August 29, 2024
GUI

from whole-foods-deliverance.

Comments (4)

eoprede avatar eoprede commented on August 29, 2024

There's a project called Gooey that should be an easy way to pass arguments via GUI. I should have some time this weekend to give it a shot

from whole-foods-deliverance.

mark-thompson avatar mark-thompson commented on August 29, 2024

@eoprede Neat find - seems like a very convenient tool to convert the argparse things into a decent looking dialog box.
Not sure how well it solves the config options (specifying slot times, for example) and control flow issues though.
I'm thinking Flask may make sense here, or something more 'traditional' like tkinter

from whole-foods-deliverance.

eoprede avatar eoprede commented on August 29, 2024

@mark-thompson My preliminary thoughts - if user runs script with no args, check whether Gooey is installed and if yes - launch Gooey. If no Gooey or args provided - go to CLI version.
Cli version takes config values from file, Gooey version has some additional options. Those options can include listboxes for time selection (here's an example of how they look - chriskiehl/Gooey#228 ), preferred credit card, etc. Then just pass those values to the rest of the script or fall back to what's configured in the file.

from whole-foods-deliverance.

eoprede avatar eoprede commented on August 29, 2024

With that said though, users still would have to make sure python is installed, run pip commands, activate venv (or maybe not bother with it and just install all the libraries) - I almost want to say that if they are willing to put up with all that for the convenience of automatically ordering food, then they might as well edit config files...

from whole-foods-deliverance.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.