PySimpleGUI 6.0__tar.gz → 6.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,352 @@
1
+ Metadata-Version: 2.4
2
+ Name: pysimplegui
3
+ Version: 6.4
4
+ Summary: Python GUIs for Humans. Launched in 2018. NEW LGPL3 Version 6 released in 2026.
5
+ Home-page: https://github.com/PySimpleGUI/PySimpleGUI
6
+ Author: PySimpleGUI
7
+ Author-email: PySimpleGUI@PySimpleGUI.org
8
+ License: GNU Lesser General Public License v3 (LGPLv3)
9
+ Keywords: GUI UI tkinter Qt WxPython Remi wrapper simple easy beginner novice student graphics progressbar progressmeter
10
+ Classifier: Development Status :: 5 - Production/Stable
11
+ Classifier: License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Operating System :: OS Independent
14
+ Classifier: Framework :: PySimpleGUI
15
+ Classifier: Programming Language :: Python :: 3
16
+ Classifier: Programming Language :: Python :: 3.6
17
+ Classifier: Programming Language :: Python :: 3.7
18
+ Classifier: Programming Language :: Python :: 3.8
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Programming Language :: Python :: 3.14
25
+ Classifier: Programming Language :: Python :: 3.15
26
+ Classifier: Topic :: Multimedia :: Graphics
27
+ Classifier: Topic :: Software Development :: User Interfaces
28
+ Requires-Python: >=3.6
29
+ Description-Content-Type: text/markdown
30
+ License-File: LICENSE.txt
31
+ Dynamic: author
32
+ Dynamic: author-email
33
+ Dynamic: classifier
34
+ Dynamic: description
35
+ Dynamic: description-content-type
36
+ Dynamic: home-page
37
+ Dynamic: keywords
38
+ Dynamic: license
39
+ Dynamic: license-file
40
+ Dynamic: requires-python
41
+ Dynamic: summary
42
+
43
+
44
+ <p align="center">
45
+ <img height="250" src="https://pysimplegui.net/images/logos/Logo_Full_Transparent_Cropped.png">
46
+
47
+ </p>
48
+
49
+
50
+ # Open Source Once Again...
51
+
52
+ Hey, it's Mike....![](https://PySimpleGUI.net/images/emojis/wave_56.png?raw=true&v=1)
53
+
54
+
55
+ We gave commercialization a try. It was an incredible experience, but it didn’t generate the resources needed to sustain PySimpleGUI at the level we had hoped. In February 2025, we announced that PySimpleSoft would be shutting down, with support continuing through the end of 2025.
56
+
57
+ That process is now complete. The next question was what to do with the code, documentation, and repositories. I always planned to keep the repos available for reference—so the decision came down to the software itself.
58
+
59
+ See the **History** section below for a summary of the PySimpleGUI history.
60
+
61
+
62
+ # PySimpleGUI 6
63
+
64
+ <div>
65
+ <img src="https://pysimplegui.net/images/logos/psg6_logo_plain.png" height="80" alt="Alt text">
66
+ </div>
67
+
68
+
69
+ I’ve released the PySimpleGUI 5 code as open source. After removing licensing and security components, it’s now available under the LGPL3 license on GitHub and PyPI.
70
+
71
+ ## Installing from PyPI
72
+
73
+ To install the latest version (v6):
74
+
75
+ ```bash
76
+ python -m pip install PySimpleGUI
77
+ ```
78
+
79
+
80
+ If you need the older version (4.60.5.1):
81
+
82
+
83
+ ```bash
84
+ python -m pip install PySimpleGUI==4.60.5.1
85
+ ```
86
+
87
+ ## Installing from Github
88
+
89
+ The GitHub repo has the most up-to-date code. You can install directly without cloning:
90
+
91
+
92
+ ```bash
93
+ python -m pip install --upgrade https://github.com/PySimpleGUI/PySimpleGUI/zipball/master
94
+ ```
95
+
96
+ To install a specific release that's here on GitHub, change `master` to the release number. To install version 6.1:
97
+
98
+ ```bash
99
+ python -m pip install --upgrade https://github.com/PySimpleGUI/PySimpleGUI/zipball/6.1
100
+ ```
101
+
102
+
103
+ Or clone/download the repo and install locally:
104
+
105
+ ```bash
106
+ python -m pip install .
107
+ ```
108
+
109
+
110
+ ## Longer Term Outlook
111
+
112
+ I’m honestly not sure what the long-term future looks like—but if the past 8 years are any indication, I’m not great at predicting it.
113
+
114
+ For now, I’m here, having fun writing code, and happy to help.
115
+
116
+ ## Thank you
117
+
118
+ PySimpleGUI has been a once-in-a-lifetime experience. It’s been amazing to see what people have built and to be a small part of it. Thanks to everyone who supported the project over the years.
119
+
120
+ ---------------------------------
121
+
122
+ # The PySimpleGUI Playground
123
+
124
+ <p align="center"><img src="https://raw.githubusercontent.com/PySimpleGUI/psgplayground/main/screenshots/playground.png" width="800" alt="The Toybox - the Playground's program browser"></p>
125
+
126
+ The [PySimpleGUI Playground](https://github.com/PySimpleGUI/psgplayground) is a collection of the programs I run on my own PCs every day - desktop widgets, tools, things I use to work on PySimpleGUI itself, and a set of piano practice programs for a MIDI keyboard. I wrote them with Claude over the past 10 weeks. Each one is a single file you can run, read and take apart.
127
+
128
+ One pip command installs all of them, along with the Toybox, a program that shows you what's there and runs it:
129
+
130
+ ```bash
131
+ python -m pip install --upgrade https://github.com/PySimpleGUI/psgplayground/zipball/main
132
+ psgplayground
133
+ ```
134
+
135
+ The repo also has a [prompts](https://github.com/PySimpleGUI/psgplayground/tree/main/prompts) folder - one page per trick (the frameless window, draggable panes, drag-to-reorder, dropping a file) with a prompt you can paste into any AI chatbot to get the same thing in your own program.
136
+
137
+ ---------------------------------
138
+
139
+
140
+ # What is PySimpleGUI?
141
+
142
+ PySimpleGUI is a wrapper for tkinter (and other GUI libraries) that transforms the GUI SDK into a simpler, more compact architecture while still providing detailed customization. No prior GUI programming experience needed.
143
+
144
+ This is an entire interactive application.
145
+
146
+ ```python
147
+ import PySimpleGUI as sg
148
+
149
+ # Define the window's contents
150
+ layout = [[sg.Text("What's your name?")],
151
+ [sg.Input(key='-INPUT-')],
152
+ [sg.Text(size=(40,1), key='-OUTPUT-')],
153
+ [sg.Button('Ok'), sg.Button('Quit')]]
154
+
155
+ # Create the window
156
+ window = sg.Window('Window Title', layout)
157
+
158
+ # Display and interact with the Window using an Event Loop
159
+ while True:
160
+ event, values = window.read()
161
+ # See if user wants to quit or window was closed
162
+ if event == sg.WINDOW_CLOSED or event == 'Quit':
163
+ break
164
+ # Output a message to the window
165
+ window['-OUTPUT-'].update('Hello ' + values['-INPUT-'] + "! Thanks for trying PySimpleGUI")
166
+
167
+ # Finish up by removing from the screen
168
+ window.close()
169
+ ```
170
+
171
+ This is the window that's created.
172
+
173
+ ![win1](https://raw.githubusercontent.com/PySimpleGUI/PySimpleGUI/master/images/for_readme/Example2-1.jpg)
174
+
175
+ Here's the same window after some user interaction.
176
+
177
+ ![win2](https://raw.githubusercontent.com/PySimpleGUI/PySimpleGUI/master/images/for_readme/Example2-2.jpg)
178
+
179
+ ## Documentation - want to learn more?
180
+
181
+
182
+ You'll find **extensive** documentation at:
183
+
184
+ https://Docs.PySimpleGUI.com
185
+
186
+ ## Contributing
187
+
188
+ PySimpleGUI has always been developed more like a proprietary product than an open source project. Pull requests aren't accepted.
189
+
190
+
191
+ -----
192
+
193
+
194
+ # What's new...
195
+
196
+
197
+ ## Features & Fixes in version 6.4
198
+
199
+ **New**
200
+
201
+ * `resizable` can be a tuple to allow resizing in one direction only, e.g. `resizable=(False, True)` for vertical only
202
+ * Pane element - new `sash_width` and `sash_cursor` parameters
203
+ * Each PySimpleGUI program now gets its own taskbar identity on Windows, so the right icon shows when several are running
204
+ * Windows with a custom titlebar get a taskbar icon, including after minimize / restore
205
+ * `popup_error_with_traceback` shows the full traceback in a Multiline so the whole error can be copied
206
+ * `set_options(tooltip_text_color=, tooltip_background_color=)` to color tooltips application-wide
207
+ * `set_options(set_tooltip_to_element_key=True)` - debugging aid that shows each element's key as its tooltip
208
+ * `set_options` ignores options it doesn't recognize instead of crashing
209
+ * `Window.frame_extents()` and `Window.current_frame_location()`
210
+ * `fname()` debugging aid - `print(f'[{fname()}] starting')` prints the name of the function it's in
211
+ * Ctrl+C in a program using `read_all_windows` exits cleanly
212
+
213
+ **Fixes**
214
+
215
+ * `Button.update(image_data=...)` crashed on a button that didn't have an image
216
+ * `Input.update` with `COLOR_SYSTEM_DEFAULT`
217
+ * Mouse wheel stopped scrolling a scrollable Column when the pointer was over an element inside it
218
+ * `auto_save_location` crashed reading a location of `[None, None]` (#6904) and crept down by the titlebar height on Linux
219
+ * Window creation reworked for Linux and Wayland (#3507)
220
+ * `disable_minimize=True` crashed on Linux
221
+ * Right-click menus didn't close when clicking away on Linux (#6664)
222
+ * Windows: hiding or changing the menubar with `Menu.update` left a blank strip at the bottom of the window
223
+ * PyCharm "Edit" opened at the wrong line (file now comes before `--line`)
224
+ * Many color checks reworked so bad colors no longer crash element creation
225
+
226
+
227
+ ## Drag and Drop!
228
+
229
+ Hard to believe, but drag and drop is working on PySimpleGUI.
230
+
231
+
232
+ Drag and Drop support has been a wish for many years. We finally may have found a way to do it such that the PySimpleGUI code is not changed. All code is in the user code-space.
233
+
234
+
235
+ [`psgdnd`](https://github.com/PySimpleGUI/psgdnd) is a new package posted on GitHub that adds drag and drop to PySimpleGUI. You can pip install it and try drag and drop for yourself. More information and examples can be found in that repo.
236
+
237
+ Version 6.1 is on PyPI (`python -m pip install --upgrade psgdnd`). It works on Windows and Linux. The Mac is still an unknown.
238
+
239
+ ----
240
+
241
+
242
+ ## AI
243
+
244
+ ![](https://PySimpleGUI.net/images/emojis/weary_56.png?raw=true&v=1)
245
+
246
+ It's been an exhausting process coming to terms with the changes in software over the past 4 years. After spending a few months seeing for myself what it can do, and what I can do with it, I've concluded that I can do a better job developing software with AI than without. It can also be fun and a learning experience too.
247
+
248
+ I now use Claude to help write code, PySimpleGUI core code included. Changes Claude made are marked "Claude:" in the changelog.
249
+
250
+ ### PySimpleGUI in the AI era
251
+
252
+ A common question today is whether a GUI library still matters when an AI can write the code. I think PySimpleGUI may matter more now than before.
253
+
254
+ The idea came from Claude: a PySimpleGUI program is short and always follows the same pattern - a layout, a window, an event loop. The same window written directly in tkinter takes more lines and more decisions, and that's more for an AI to get wrong. Short code is also easier for a person to read and check.
255
+
256
+ That's a hypothesis, not a result. Claude also proposed a test that has an AI write the same programs both ways and compares how often they work. I'm planning to run it and post what I find. Details may change. I'm certainly aware that these LLMs are particularlyi skilled at making users feel right, smart, on the right track, when that may not match up with reality.
257
+
258
+
259
+ ---------------------------
260
+
261
+ # History
262
+
263
+ ## Open Source v4 → Commercial v5 → Open Source v6
264
+
265
+ PySimpleGUI’s journey has included plenty of ups and downs, good decisions and bad ones, a few surprises, and a lot of fun along the way.
266
+
267
+ Hi, it’s Mike. I thought it might be useful to share the story from my perspective.
268
+
269
+ PySimpleGUI began in 2018 as throwaway code. I needed a GUI for a media player prototype and had no experience building GUIs or working with object-oriented GUI frameworks. My goal was simple: wrap Tkinter in a way that felt more linear and straightforward so I could get something working quickly.
270
+
271
+ There was no bigger plan. But as I used it, it started to feel genuinely useful, so I shared it.
272
+
273
+ My background is in Silicon Valley startups—building products, shipping software, and later managing teams. I had no experience with Python or open source at the time. So when I put PySimpleGUI on GitHub, I approached it the way I knew how: like a startup. It became a full-time, self-funded effort rather than a traditional open source project.
274
+
275
+ ## Timeline
276
+
277
+ - July 2018 – Version 1
278
+ - June 2019 – Version 4
279
+ - January 2020 – Funding becomes a major concern; commercialization mentioned
280
+ - November 2020 – Udemy course announced; a public plea for help added
281
+ - December 2021 – Course released
282
+ - February 2024 – Version 5 (commercial launch)
283
+ - April 2026 – Version 6
284
+
285
+ There’s an [Announcements Issue](https://github.com/PySimpleGUI/PySimpleGUI/issues/142) on GitHub that I’ve used like a running blog. It has grown to over 1,700 entries documenting the project in detail. To make reading it easier, a snapshot is posted in the documnation under the tab [Announcements 2018-2024](https://docs.pysimplegui.com/githubannouncements/).
286
+
287
+ ## Funding Reality
288
+
289
+ Working full-time on an open source project creates immediate and ongoing financial pressure.
290
+
291
+ I explored the common options:
292
+
293
+ - Sponsorships and donations (GitHub Sponsors, Buy Me a Coffee). At peak, this brought in about \$150 per month.
294
+ - Education. We built an 11.5-hour Udemy course with 61 lessons. It performed well initially, reaching around \$2,000 per month for a short time, but eventually dropped below \$100.
295
+
296
+ Neither path was enough to sustain the project long term.
297
+
298
+ ## Commercialization
299
+
300
+ Moving to a commercial model wasn’t a sudden decision. It had been discussed openly for years in the README and announcements.
301
+
302
+ By early 2024, after exhausting other options, Version 5 launched as a paid product. Even then, the goal was to keep things accessible, not to put up barriers.
303
+
304
+ ## How Did It Go?
305
+
306
+ If the metric is financial sustainability, it didn’t go well.
307
+
308
+ If the metric is experience, learning, and relationships, it was absolutely worth it.
309
+
310
+ We didn’t lose most users after commercialization. Many companies continued using PySimpleGUI. The challenge was getting them to purchase licenses.
311
+
312
+ ## The Hobbyist License
313
+
314
+ We made a deliberate choice: hobbyists and students could use PySimpleGUI for free, while companies were expected to pay.
315
+
316
+ It felt like the right balance.
317
+
318
+ In practice, the vast majority of users identified as hobbyists. Tens of thousands of corporate users registered under the free tier. It wasn’t unusual to see large companies with hundreds of users and only a handful of paid licenses.
319
+
320
+ I don’t regret the decision to offer a free option.
321
+
322
+ ## A Culture of Free
323
+
324
+ My personal takeaway is that there’s a strong cultural expectation that Python tools & libraries should be free.
325
+
326
+ The issue didn’t seem to be price or dissatisfaction. People kept using PySimpleGUI—they just didn’t feel obligated to pay for it. Even clear licensing terms didn’t consistently change that behavior.
327
+
328
+ That’s my interpretation, based on what I saw. Others may see it differently.
329
+
330
+ ## Having Fun
331
+
332
+ Startups fail more often than they succeed. This one didn’t achieve financial sustainability, and that’s part of the process.
333
+
334
+ From the beginning, one of the stated goals of PySimpleGUI was: have fun.
335
+
336
+ That part has held true. Writing code, building things, seeing what others create, and working with people along the way—that’s the part I’ve enjoyed the most.
337
+
338
+ Business, on the other hand, has never been the fun part for me.
339
+
340
+ ## Thank You
341
+
342
+ Thank you to everyone who has supported the project over the years.
343
+
344
+ I don’t know exactly what comes next, but I’ve enjoyed the journey and I'm looking forward to whatever is ahead.
345
+
346
+ -------
347
+
348
+ ## License & Copyright
349
+
350
+ Copyright 2018-2026 PySimpleGUI. All rights reserved.
351
+
352
+ Licensed under LGPL3.