mastodon.world is one of the many independent Mastodon servers you can use to participate in the fediverse.
Generic Mastodon server for anyone to use.

Server stats:

9.1K
active users

#PySimpleGUI

0 posts0 participants0 posts today
Replied in thread

@glyph @mcc I have been developing in Python over 20 years but have always been leery of UI work due to the complexity of Tkinter and GTK APIs. Last year I surveyed the options for RAD GUI tools and landed on #PySimpleGUI. Over a few months I was able to iteratively develop and enhance a SQL query tool of modest complexity and found joy in accomplishing the task. No longer intimidated I am now exploring other options such as #Streamlit and #Textual

Есть библиотека, PySimpleGUI, на питоне, с целью "сделать простую утилитку для быстрого делания гуя кодом на основе уже имеющихся фреймворков (tkinter, PyQT, ещё какой-то)".

Сегодня узнал, что они решили 1) стать платными для корпораций и вообще лицензироваться, 2) постирали историю коммитов, и 3) что в 2024 Q2 версия 4 (бесплатная) будет "sunsetted". Люди уже форкнули её (лицензия позволяет вроде), но осадочек(

Пишу, т.к. мне понравился их подход к построению интерфейсов, но какое-то негодование ощущается.

UPD: news.ycombinator.com/item?id=3

news.ycombinator.comPySimpleGUI 4 will be sunsetted in Q2 2024 | Hacker News

🌘 PySimpleGUI/PySimpleGUI: PySimpleGUI於2018年推出,2023年仍然積極開發和支持
➤ PySimpleGUI於2018年推出,至2023年仍然積極開發和支持
github.com/PySimpleGUI/PySimpl
PySimpleGUI於2018年推出,至今仍在積極開發和支持。它可簡單創建複雜窗口,支持tkinter、Qt、WxPython、Remi(瀏覽器內)。使用完整的小工具集輕鬆創建GUI應用程式,並支援多窗口應用程式。該專案支援3.4至3.11版本,擁有325個以上的示範程式和速成手冊,並擁有豐富的文檔。
+ 這是一個有用的工具,對於GUI應用程式開發者來說肯定很方便。
+ 看起來很不錯,我會去試試看。
#PySimpleGUI #介面設計

GitHubGitHub - PySimpleGUI/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 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, ...

I'm enjoying improving my naive folder/image browser in #Python
github.com/villares/sketch-a-d

Every time I explore #GUI making without a proper GUI library/framework, drawing directly on a window with #py5, I get something useful very quickly with lot's of control, but on the other hand, the code starts getting "complicated" quickly.

#PySimpleGUI is awesome for small forms/panels and, as the name implies, simple GUIs. I quickly got blocked by it for this use case. Maybe one day I'll learn #PyQt and "make the jump" to proper GUI building. But the initial complexity is daunting. I'm probably ignoring/overlooking the initial complexity of py5 too, because I'm so used to it and the subjacent #Processing way of doing things!

From time to time I think about working on a #Python #ImageBrowser (that can show me metadada I have added to some of my images with the source code of the sketch that generated each).

I've seen quite a few #tkinter and #PySimpleGUI examples, but they all look at a single folder, I'd like something that could *show multiple folders at once* (ideally with the option to collapse sub-folders). PyQt is to daunting for me.

Would you know of any project I could study?

TODO: Find a way of injecting my #Python #py5 sketch source code into the metadata of SVG files they might generate (similar to what I do with the PNGs), and maybe also find a workflow for source in the metadata of GIF outputs.

THEN TODO: Update my image viewer that displays code from the metadata to read those new sketch image formats. github.com/villares/sketch-a-d

MORE TODO: Improve the image viewer to have a nice grid view (maybe this will be hard if I keep using #PySimpleGUI, but I'm too tired to learn Qt or any other GUI library...)

GitHubsketch-a-day/image_meta_viewer.py at main · villares/sketch-a-dayOne visual idea a day. Contribute to villares/sketch-a-day development by creating an account on GitHub.

There is a #PySimpleGUI example that shows us how to make an image viewer/browser with very few lines of #Python. I have adapted the example to show PNG metadata, because I find it very useful in my #CreativeCoding practice to be able to generate snapshots that include the source code in the image: github.com/villares/sketch-a-d

Now I'd like to make a new version that can show thumbnails from a bunch of nested folders... let's see it could be a weekend project...

GitHubsketch-a-day/image_meta_viewer.py at main · villares/sketch-a-dayOne visual idea a day. Contribute to villares/sketch-a-day development by creating an account on GitHub.