ConfigArgParse
Gooey
ConfigArgParse | Gooey | |
---|---|---|
3 | 60 | |
701 | 20,377 | |
- | - | |
5.6 | 0.0 | |
13 days ago | 2 months ago | |
Python | Python | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ConfigArgParse
-
PEP 671 Syntax for late bound function default values
The nice thing is there are modules that do all those things and roll them up into one, for you. Such as ConfigArgParse, for example.
-
How to manage configurations like a boss in modern python
Once I found configargparse this problem was solved for me.
-
Gooey: Turn (almost) any Python command line program into a GUI application
You can check out ConfigArgParse[0]. It allows you to use command line arguments, environment variables and config files to control the behavior of your scripts. I'm not sure if you can use it with gooey or not.
[0] https://github.com/bw2/ConfigArgParse
Gooey
-
Gooey: My take on a Rusty GUI framework
The name conflicts with a similar python module that allows one to turn any Python console program into a GUI with one line.
https://github.com/chriskiehl/Gooey
- FLaNK Stack Weekly 11 Dec 2023
- Turn (almost) any Python command line program into a full GUI application with one line
-
Gooey: Turn almost any Python command line program into a full GUI application
Hey! Cool project! I have a question: why do you dump out sys.argv to a local file in the CWD? [0] tmp.txt is hardly a unique name… or am I missing something and this never triggers?
[0] https://github.com/chriskiehl/Gooey/blob/be4b11b8f27f500e732...
-
PysimpleGUI
This might be of interest to you:
> Gooey - Turn (almost) any Python 3 Console Program into a GUI application with one line
https://github.com/chriskiehl/Gooey
-
Python GUIs
I love gooey: https://github.com/chriskiehl/Gooey
It allows me to quickly slap a GUI on an existing script that accepts command-line-arguments. In the end, I get the best of both world: Discoverability from the GUI, automation through the script, and automatic feature parity between the two.
Downside: Control over the GUI layout is basic, and only "standard" GUI features work, but I never felt limited when using it.
-
Launch HN: Onu (YC W23) – Turn scripts into internal tools in minutes
similar for local/individual usage:
https://github.com/chriskiehl/Gooey - take a python-CLI, make a TK-windows
and then probably even simple dashboarding like streamlit.
-
This package will "GUI-fy" your functions!
Like Gooey?
-
Question about 'chaining' Python scripts
As for how I'd handle it, I would probably combine both into one command-line program, with all filepaths using pathlib and letting argparse handle the options. That way you could optionally generate a GUI with gooey with little extra effort, although this would also add a dependency.
What are some alternatives?
python-dotenv - Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.
Python Fire - Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object.
GooeyVideo - A small collection of FFMPEG tools which I use while working on Gooey
Tkinter-Designer - An easy and fast way to create a Python GUI 🐍
click - Python composable command line interface toolkit
typer - Typer, build great CLIs. Easy to code. Based on Python type hints.
asciimatics - A cross platform package to do curses-like operations, plus higher level APIs and widgets to create text UIs and ASCII art animations
PySimpleGUI - Python GUIs for Humans! PySimpleGUI is the top-rated Python application development environment. Launched in 2018 and actively developed, maintained, and supported in 2024. Transforms tkinter, Qt, WxPython, and Remi into a simple, intuitive, and fun experience for both hobbyists and expert users.
python-prompt-toolkit - Library for building powerful interactive command line applications in Python
docopt - This project is no longer maintained. Please see https://github.com/jazzband/docopt-ng
colorama - Simple cross-platform colored terminal text in Python
cement - Application Framework for Python