PySimpleGUI 6.3__py3-none-any.whl → 6.4__py3-none-any.whl

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.
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: pysimplegui
3
- Version: 6.3
3
+ Version: 6.4
4
4
  Summary: Python GUIs for Humans. Launched in 2018. NEW LGPL3 Version 6 released in 2026.
5
5
  Home-page: https://github.com/PySimpleGUI/PySimpleGUI
6
6
  Author: PySimpleGUI
@@ -28,6 +28,17 @@ Classifier: Topic :: Software Development :: User Interfaces
28
28
  Requires-Python: >=3.6
29
29
  Description-Content-Type: text/markdown
30
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
31
42
 
32
43
 
33
44
  <p align="center">
@@ -36,15 +47,6 @@ License-File: LICENSE.txt
36
47
  </p>
37
48
 
38
49
 
39
- # FREE Udemy Course
40
-
41
- The Udemy course makes $10's a month, usually less. I've decided to give away the course for a while. This coupon is good for the next 30 days.
42
-
43
- https://www.udemy.com/course/pysimplegui/?couponCode=033334A16163C571B739
44
-
45
- Or use code: 033334A16163C571B739
46
-
47
-
48
50
  # Open Source Once Again...
49
51
 
50
52
  Hey, it's Mike....![](https://PySimpleGUI.net/images/emojis/wave_56.png?raw=true&v=1)
@@ -117,6 +119,23 @@ PySimpleGUI has been a once-in-a-lifetime experience. It’s been amazing to see
117
119
 
118
120
  ---------------------------------
119
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
+
120
139
 
121
140
  # What is PySimpleGUI?
122
141
 
@@ -175,94 +194,67 @@ PySimpleGUI has always been developed more like a proprietary product than an op
175
194
  # What's new...
176
195
 
177
196
 
178
- ## Features & Fixes in version 6.2
179
-
180
- * Fixed bug in Window.settings_save
181
- * Added ability to "print" an image inline in a Multiline element
182
- * The ability to upgrade to the latest Maint Release is once again built into PSG. You can use the Home Window or the command line command`psgupgrade`. You can see the release notes and install a new version.
183
- * Fix for bug #5750. Graph events was going into an infinite loop when write_event_value events
184
- were received. Fix was to clear the realtime button flag. Potential for regression problems
185
- should be minimal since only the Graph element conditional was changed.
186
- * Added Enhancement #6671. Added parameter select select_node_keys to Tree.update. Enables nodes
187
- in the tree to be programmatically selected as if the user selected them.
188
- * Fixed Multiline echo_stdout_stderr feature/parameter. Was not correctly echoing out to sys.stdout, stderr.
189
- Edited docstring to document the correct behavior. It will only echo if you've rerouted stdout or stderr to the element.
190
- It will not do the reroute for you.
191
- * Fix for Issue #6686 - Calendar chooser button clearing fields that should only be cleared when window.read returns.
192
- Used the newly added element_that_generated_event variable from the Graph element fix above (already came in handy).
193
- * Display the Maint Release version number in the Home Window. Moved the install button
194
- * Added ability to specify timers using string "H:M:S" when calling Window.start_timer.
195
- * Enhancement - support for horizontal scroll only for scrollable column element
196
- * Fixed Multiline echo_stdout_stderr feature/parameter. Was not correctly echoing out to sys.stdout, stderr. Edited docstring to document the correct behavior. It will only echo if you've rerouted stdout or stderr to the element. It will not do the reroute for you.
197
- * Fix for Issue #6686 - Calendar chooser button clearing fields that should only be cleared when window.read returns. Used the newly added element_that_generated_event variable from the Graph element fix above (already came in handy).
198
- * Added ability to specify timers using string "H:M:S" when calling Window.start_timer.
199
- * Enhancement - ability to set the Frame border color. Added border_color and border_width_no_relief parms to the Frame element
200
- * Frame border color to default to the text element color if no color is set
201
-
202
- The documentation has been updated. The call ref section matches the version 6.2 release.
197
+ ## Features & Fixes in version 6.4
203
198
 
204
- ## Drag and Drop!
199
+ **New**
205
200
 
206
- Hard to believe, but drag and drop is working on PySimpleGUI.
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
207
212
 
213
+ **Fixes**
208
214
 
209
- 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.
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
210
225
 
211
226
 
212
- [`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.
213
-
214
- Version 6.0.1 was released to PyPI. It's working on Windows. Version 6.0.2 on GitHub has the fixes that were needed for Linux (so far... there could be more to come). The Mac is still an unknown.
215
-
216
- ## New repo - PSGMicroPython
217
-
218
- Created a new repo and added code for interfacing to a MicroPython-based microcontroller. It works with Raspberry Pi Pico and ESP32. It may work with other boards too. Not meant to be robust or significant. It's just some code I threw together that could maybe be useful to someone else... or not...
219
- ![](https://PySimpleGUI.net/images/emojis/guess_28.png?raw=true&v=1)
220
-
221
-
222
- ------
227
+ ## Drag and Drop!
223
228
 
224
- ## PSGWeb
229
+ Hard to believe, but drag and drop is working on PySimpleGUI.
225
230
 
226
- * PSGWeb - PySimpleGUI running in a browser window
227
- * Works with most demo programs
228
- * To try it, go to any PySimpleGUI application on GitHub, add `psgweb.us` onto the front of the url, press enter
229
- * https://github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Demo_All_Elements.py becomes https://psgweb.us/github.com/PySimpleGUI/PySimpleGUI/blob/master/DemoPrograms/Demo_All_Elements.py
230
- * There are no plans to release or expand this prototype. It was created as part of the larger PSG 5 effort, but not released.
231
231
 
232
- Here's that Demo Program running in browser:
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
233
 
234
- <img width="1087" height="1184" alt="Image" src="https://github.com/user-attachments/assets/63b68e32-4a9d-4399-b8a4-00503dbcc111" />
235
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
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.
237
238
 
238
239
  ----
239
240
 
240
241
 
242
+ ## AI
241
243
 
242
- ## AI....
243
-
244
- ![](https://PySimpleGUI.net/images/emojis/weary_56.png?raw=true&v=1)
245
-
246
- Seems most projects have something to say about AI usage now. This is my **opinion** and how I've decided to use AI. It's what's right for me. It might not be right for you or anyone else.
247
-
248
- I use LLMs to search and summarize documentation, lookup errors, do research, get knowledge, analyze data, and prototype. I don't use LLMs to write PySimpleGUI code. My reason is very simple.
249
-
250
- ### **I like to write code.**
251
-
252
- I fell in love with programming 50 years ago. Writing software is my happy place. It's an "I **get to** write software" thing.
253
- AI can generate lots of things. The feeling I get writing software is not one of the things AI can generate. I'm not in a hurry and can take time to enjoy the process.
254
-
255
- I've heard several software engineers talk about the addictive pull that they feel when using LLMs to write code. One side effect in particular I want to avoid... lack of engagement with the product being developed. When LLMs are used to write large amounts of code, some engineers have reported they don't feel as committed, don't a sense of ownership, and lack the passion they normally feel for projects they've devloped in the past. That doesn't sound like fun to me,
244
+ ![](https://PySimpleGUI.net/images/emojis/weary_56.png?raw=true&v=1)
256
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.
257
247
 
248
+ I now use Claude to help write code, PySimpleGUI core code included. Changes Claude made are marked "Claude:" in the changelog.
258
249
 
259
250
  ### PySimpleGUI in the AI era
260
251
 
261
- A common question in software today is whether a library is still relevant. I think for PySimpleGUI the answer is yes. People discover and install PySimpleGUI every day. Doesn't matter **how many** people use it. More than one is good enough. It's a thrill that other programmers want to use what I create.
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.
262
255
 
263
- I use PySimpleGUI regularly. I can’t imagine building a Windows app without it. I’ve recently been working on a 6502 breadboard computer. I built a bus analyzer using a couple of Raspberry Pi Picos and a PySimpleGUI app to control everything from Windows. Coding up a windows application to be the front-end to my tools is very easy for me to do using PySimpleGUI.
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.
264
257
 
265
- That’s reason enough for me to keep working to clean up the ecosystem and keep it running.
266
258
 
267
259
  ---------------------------
268
260
 
@@ -0,0 +1,9 @@
1
+ PySimpleGUI/PySimpleGUI.py,sha256=cK1zZMxCZU9IN-obNO41DdEjhF4mV0J5nhDyVJOWZNc,1816881
2
+ PySimpleGUI/__init__.py,sha256=0KCzZoBDYTbc33Ftc4syE0aSW0Jv3CSrUnshN1F-dOM,68
3
+ PySimpleGUI/__main__.py,sha256=jlmedyhCT08nn6x7cQhI-CZx-bGrlEQYniuf1HuNnak,70
4
+ pysimplegui-6.4.dist-info/licenses/LICENSE.txt,sha256=-DHn7tV3SBaHqbwLSAJOXkC29lX83gc-3pZLUL5dVdk,7815
5
+ pysimplegui-6.4.dist-info/METADATA,sha256=2uGSmyIMAyIVhUn0ZAn0g3tD7lAo7Me_ZzxHJJMFSjU,15615
6
+ pysimplegui-6.4.dist-info/WHEEL,sha256=YVMoNqKzERt-wjUZwJ33xBGAwnFl-4cqbYkTtWa4itE,91
7
+ pysimplegui-6.4.dist-info/entry_points.txt,sha256=rQWo37N4AhLQnynkj-bU8pDvGpyQsuYt5ojQ5cAh8W4,348
8
+ pysimplegui-6.4.dist-info/top_level.txt,sha256=9sLHIbBIAFdT1n02rvUvrGhAsmIAkTfTG-gY5sk4bpc,12
9
+ pysimplegui-6.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: setuptools (84.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,9 +0,0 @@
1
- PySimpleGUI/PySimpleGUI.py,sha256=KuaED4QDiOfcd4ragzUL0PLSw_rXtIX2VWC8ZK7xU7U,1806016
2
- PySimpleGUI/__init__.py,sha256=0KCzZoBDYTbc33Ftc4syE0aSW0Jv3CSrUnshN1F-dOM,68
3
- PySimpleGUI/__main__.py,sha256=jlmedyhCT08nn6x7cQhI-CZx-bGrlEQYniuf1HuNnak,70
4
- pysimplegui-6.3.dist-info/LICENSE.txt,sha256=-DHn7tV3SBaHqbwLSAJOXkC29lX83gc-3pZLUL5dVdk,7815
5
- pysimplegui-6.3.dist-info/METADATA,sha256=7iQguLEHNV1T36MoCirCfz3Lc1E4n6deWWqLn4eP7mU,17252
6
- pysimplegui-6.3.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
7
- pysimplegui-6.3.dist-info/entry_points.txt,sha256=rQWo37N4AhLQnynkj-bU8pDvGpyQsuYt5ojQ5cAh8W4,348
8
- pysimplegui-6.3.dist-info/top_level.txt,sha256=9sLHIbBIAFdT1n02rvUvrGhAsmIAkTfTG-gY5sk4bpc,12
9
- pysimplegui-6.3.dist-info/RECORD,,