@mkennedy @ddsmit @brianokken @pythonbytes and there is a #PySimpleGUI fork called #FreeSimpleGUI https://github.com/spyoungtech/FreeSimpleGui
@mkennedy @ddsmit @brianokken @pythonbytes and there is a #PySimpleGUI fork called #FreeSimpleGUI https://github.com/spyoungtech/FreeSimpleGui
C'est quoi ce binz, #PySimpleGUI est payant à présent ?
Quelqu'un sait comment l'utiliser sans se créer un compte ?
@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". Люди уже форкнули её (лицензия позволяет вроде), но осадочек(
Пишу, т.к. мне понравился их подход к построению интерфейсов, но какое-то негодование ощущается.
@ebits21 #PySimpleGUI #python #opensource
Another bites the dust.
Moves like this are a bit... strange? It was on github. There are 1.8k forks, with intact LGPL. What is happening here? Is their dev work worth 99$/year ? Not saying people don't deserve to get paid for their work. I'm just not seeing the business case for this.
PySimpleGUI/PySimpleGUI: PySimpleGUI於2018年推出,2023年仍然積極開發和支持
➤ PySimpleGUI於2018年推出,至2023年仍然積極開發和支持
✤ https://github.com/PySimpleGUI/PySimpleGUI
PySimpleGUI於2018年推出,至今仍在積極開發和支持。它可簡單創建複雜窗口,支持tkinter、Qt、WxPython、Remi(瀏覽器內)。使用完整的小工具集輕鬆創建GUI應用程式,並支援多窗口應用程式。該專案支援3.4至3.11版本,擁有325個以上的示範程式和速成手冊,並擁有豐富的文檔。
+ 這是一個有用的工具,對於GUI應用程式開發者來說肯定很方便。
+ 看起來很不錯,我會去試試看。
#PySimpleGUI #介面設計
I'm enjoying improving my naive folder/image browser in #Python
https://github.com/villares/sketch-a-day/blob/main/admin_scripts/folder_browser.py
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!
Today I improved my #Python script to convert #png files in a folder to #gif, using a graphic interface with #PySimpleGUI (I have a CLI version too I have recently converted from #Pillow to #imageio) and during class I made a png to #mp4 version!
png -> mp4 (GUI) https://github.com/villares/sketch-a-day/blob/main/admin_scripts/pngs_to_mp4_gui.py
png -> gif (GUI)
https://github.com/villares/sketch-a-day/blob/main/admin_scripts/pngs_to_gif_gui.py
png -> gif (CLI) https://github.com/villares/sketch-a-day/blob/main/admin_scripts/pngs_to_gif.py
if you want a silly (not optimized at all) #PNG(s) to #GIF script:
CLI https://github.com/villares/sketch-a-day/blob/main/admin_scripts/pngs_to_gif.py
GUI (depends on #PySimpleGUI) https://github.com/villares/sketch-a-day/blob/main/admin_scripts/pngs_to_gif_gui.py
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. https://github.com/villares/sketch-a-day/blob/main/admin_scripts/image_meta_viewer.py
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...)
#SVG to #png using #svglib and #reportlab so that I can show SVG in a #PySimpleGUI interface!
https://gist.github.com/villares/c5d097b8a8c6178284ae0a6adfd3e7e5#file-svg_psg_svglib_reportlab-py
Have you tried showing #SVG with #PySimpleGUI? I managed something with #Python #cairosvg: https://gist.github.com/villares/c5d097b8a8c6178284ae0a6adfd3e7e5
Tomorrow or maybe during the week I should read this tutorial mixing #Python #PyAudio and #PySimpleGUI ... https://k3no.medium.com/integrating-pyaudio-pysimplegui-5fa342b1e113
@jbigham @clatulip yeah, I see your point. Looks like their message is "interfaces are hard and you are just getting started"
As I mostly teach creative coding I like to show how to build some rudimentary GUI elements...
Also, I must try showing #PySimpleGUI in class some day...
@tshirtman #Kivy is amazing! I hope I can do something with Kivy at some point.
For very small stuff I'm using #PySimpleGUI :)
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: https://github.com/villares/sketch-a-day/blob/main/admin_scripts/image_meta_viewer.py
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...
I built an #alarmclock! Which is ironic cause I hate waking up It's a project I've been working on for quite some time and I used it to learn building #GUI apps in #python. It's built on #pySimpleGui and has tons of themes and fonts built in. I've built a custom #Raspberrypi image for it or you can self build with the included #ansible script. Custom song support, custom snooze, voice functionality, 12 hour or military time, alarm saving. You name it! Check it out!
A #PySimpleGUI example using #Python #OpenCV for an "ASCII camera capture" I tweaked a bit: code at https://gist.github.com/villares/76313507fca73ffed72ec08220e78278#file-ascii_camera-py-L13