Comments (6)
+1
This would be a fantastic way to immediately increase the usefulness without having to extend the Gooey decorator.
from gooey.
A nice solution would be the generation of an 'end-user friendly' config file, in JSON for example, easy to modify for simple change, like widgets used and view layout, then the GUI source code is generated from this file.
For 90%++ of tweaks peoples will want => edit the JSON file
For the rest => edit the python source file generated
from gooey.
A nice solution would be the generation of an 'end-user friendly' config file, in JSON for example
That's actually exactly what I'm working on in the GaaS branch :)
from gooey.
The main Gooey
decorator now accepts a param called dump_build_config
. This will output all of the json used to power Gooey.
Alternatively, there's also a method in the gooey
package to do the same
$ python -m gooey --create-build-config path/to/a/python/file.py
I'm closing this issue as I think json
is a better fit for what Gooey is than raw python code. If you need something beyond the interface that Gooey provides, then I'd wager the handful of GridSizers
and TextCtrls
that would make up a Gooey source dump wouldn't really help all that much in the grand scheme of things. Plus! JSON makes it easy to roll friendly interfaces for non-python programs.
from gooey.
For the record: This comment incorrectly attributed a quote by @LudoVio to me.
(It isn't a problem, but I was confused about my contribution to this thread, and want to prevent myself from being confused again by leaving this note.)
from gooey.
@Julian-O Doh! Sorry!
from gooey.
Related Issues (20)
- program_name missed while launching gooeyparser
- Gooey 1.0.8.1 Validation Not Working HOT 2
- Question: Can a script decorated with gooey be invoked without gooey? HOT 1
- Gooey outputs characters after completion "[0m" HOT 3
- `increment` field in `Slider` widget not working HOT 3
- Problem with "colored" library for richtext-control HOT 4
- Is there a way to retain global state upon "Edit" (i.e going back to the first screen and running script again)
- DecimalField: "Field is required" message despite entering a number HOT 4
- Python 3.12 release on pypi (and preferrably also on conda-forge)
- Tabbed output tab title is not rendered properly on tabs other than first
- ModuleNotFoundError: No module named 'rewx' HOT 1
- Mutually exclusive option groups behave strangely when given default values
- args cases
- Gooey freezing and not showing simple print statements HOT 1
- Click CLI support HOT 2
- Script name gets mangled when installed as a console script on Windows HOT 4
- Gooey Crashes - Segmentation Fault on MacOS when exiting HOT 2
- the second MultiFileChooser get only one file HOT 1
- Project abandoned by originator? HOT 3
- I am very pleased to recommend a library for adding pop ups
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gooey.