PySimpleGUI saga (long, not overly unflattering to the developer considering)
Eve :kitty_nb: :paw: @EveHasWords@toot.cat
Content warning: PySimpleGUI saga (long, not overly unflattering to the developer considering)
If you want to build a cross-platform, GUI application in Python, all of your options are bad. You can take "in Python" out of that sentence and it would still be true, just a question of degree. Unfortunately.
Python comes with tkinter ("Python interface to Tcl/Tk") which was forged in the bowls of Mordor by Borg who had assimilated off-market Sith. As docs.python.org says "Both Tk and tkinter are available on most Unix platforms, including macOS, as well as on Windows systems."
I have made GUIs in tkinter but, because I don't hate myself, I and everyone else with some GD sense wanted something else.
For a while, that looked like PySimpleGUI. Because it was a wrapper for tkinter, it had tkinter's sole advantage (it works basically everywhere Python does) plus two of its own advantages. 1. It's not a nightmare to learn or use (unless you step off the garden path). 2. The documentation was not a Greek Tragedy of the kind where everyone dies, the gods sweep up the mess, and even the Chorus is left wondering WTF is going on. And, while it was fragile and limited, it genuinely worked well enough across all the platforms that tkinter supported.
Those who evaluated the code realized it was a house of cards. Those who talked to the developer about their concerns realized the developer, Mike, ... had maturity issues at least as a developer. Whether it was because of Mike's unwillingness to address code standards / methodology issues or because of his unwillingness to give up enough control for others to contribute (I sincerely don't know which), Mike ended up being the sole meaningful contributor to the project.
From GitHub:
PySimpleGUI has always been developed more like a proprietary product than an open source project. Pull requests aren't accepted.
Mike ran into the same issue that plagues many open source maintainers: lots of people relying on their code but there's not enough funding to make maintaining it a viable, full time job. Mike tried several methods to get funding ... and then rug pulled the app, making it commercial and removing several of the more recent open licensed revisions of the software. Both making it closed source and removing previously open versions were shitty moves and should not have been done. One was shittier than the other but neither were what functionally caused the biggest issue for me. Hobbyists weren't supposed to have to pay but there were problems with that. I couldn't be sure that code I shared with others wouldn't have them getting prompted to pay Mike for a license.
The community looked to fork PySimpleGUI. People took a look at the code and said "Hell no. That would take way too much work to fix so it could be maintainable." One person did anyway but that project appears to be abandoned.
Mike wasn't able to get the funding he'd hoped from making PySimpleGUI commercial so he open sourced it again.
He lost a lot of ill will by rugpulling open source software (and by nuking already-released open source code). People who weren't put off by that were put off by the quality of the code they discovered when they considered forking it.
Now it's open source again and, as far as I know, the other issues with code quality, BDFL, funding for Mike etc. are still there.
So what should you do today if you want to develop cross platform, GUI software? Pray that someone decides to come up with a better solution than having the GUI run in a browser.