Name | PySimpleGUI4 JSON |
Version |
4.80.2
JSON |
| download |
home_page | None |
Summary | The free-forever and simple Python GUI framework |
upload_time | 2025-08-17 06:27:29 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3 |
license | None |
keywords |
gui
pysimplegui
ui
tkinter
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
<p align="center">
<img src="https://raw.githubusercontent.com/PySimpleGUI/PySimpleGUI/master/images/for_readme/Logo%20with%20text%20for%20GitHub%20Top.png" alt="User Interfaces for Humans">
</p>
This repository provides a functional, pre-license version of the **PySimpleGUI** library for developers who need a free and unrestricted solution. The official PySimpleGUI library has recently transitioned to a paid license model, leaving many developers unable to access or use the library. This backup allows you to continue using the legacy version without any license requirements.
---
## What is PySimpleGUI4?
**PySimpleGUI** is a Python library that simplifies the process of creating graphical user interfaces (GUIs). It abstracts away the complexity of underlying frameworks like Tkinter, Qt, WxPython, and Remi, offering a beginner-friendly, high-level API. With PySimpleGUI, you can build interactive desktop applications, file explorers, progress trackers, and more with minimal code.
## Key Features of PySimpleGUI:
- **Beginner-Friendly**: Intuitive syntax, ideal for developers new to GUIs.
- **Rich Component Library**: Buttons, text inputs, sliders, progress bars, tables, and more.
- **Cross-Platform**: Runs seamlessly on Windows, macOS, and Linux.
- **Dynamic Updates**: Allows real-time updates to GUI elements during execution.
- **Integration Ready**: Supports Matplotlib, OpenCV, and other libraries for advanced functionality.
---
## install
~~~bash
pip install PySimpleGUI4
~~~
## How To Use PySimpleGUI4
~~~python
import PySimpleGUI4 as sg
~~~
## What is PySimpleGUI4 Used For?
PySimpleGUI4 is widely used in:
- **Educational Projects**: Helping beginners learn GUI development.
- **Data Visualization**: Embedding interactive charts and graphs.
- **Automation Tools**: Creating simple automation utilities with user interfaces.
- **Prototyping**: Quickly designing and testing application interfaces.
- **Lightweight Desktop Apps**: Developing small-scale tools with a minimal footprint.
---
## Why Use PySimpleGUI4?
On **[specific date of license change]**, the creator of PySimpleGUI announced a transition to a paid license model. As part of this change:
1. **A license key is now required** to use any version installed via `pip`.
2. **Older, free versions of PySimpleGUI have been removed** from the PyPI repository, preventing developers from simply downgrading to a previous version.
3. Developers who rely on PySimpleGUI for personal projects, open-source software, or educational purposes are now locked out unless they pay for a license.
This repository offers a solution by providing a backup of the last free and functional version of PySimpleGUI.
---
### **6. Verify the Installation**
You can verify that the legacy version is installed correctly by running a simple PySimpleGUI script:
```python
import PySimpleGUI4 as sg
from pyguievent import PySimpleEvent
app = PySimpleEvent()
def make_main_window() -> sg.Window:
task_list = [
sg.Frame(
"Tasks",
[
[sg.Input(key="lot", tooltip="此输入框输入后使用回车事件触发")],
[sg.Text(key="lot_txt")],
],
size=(400, 200),
)
]
status_bar = [sg.StatusBar("版本:"), sg.StatusBar("状态:")]
layout = [task_list, status_bar]
# 3.建窗口
return sg.Window("测试程式窗口", layout, return_keyboard_events=True)
@app.bind_event("lot")
def on_lot(window: sg.Window, values: dict):
lot = values["lot"]
window["lot_txt"].update(lot)
def main():
main_window = make_main_window()
app.run_event(main_window)
if __name__ == "__main__":
main()
```
Run the script to ensure that the GUI appears and functions as expected.
Raw data
{
"_id": null,
"home_page": null,
"name": "PySimpleGUI4",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "GUI, PySimpleGui, UI, tkinter",
"author": null,
"author_email": "yunluo <sp91@qq.com>",
"download_url": "https://files.pythonhosted.org/packages/6e/83/84019989f31a416315016e9fd4db2ba88f3eb99a4790a3933c2c0b55aa58/pysimplegui4-4.80.2.tar.gz",
"platform": null,
"description": "<p align=\"center\">\n <img src=\"https://raw.githubusercontent.com/PySimpleGUI/PySimpleGUI/master/images/for_readme/Logo%20with%20text%20for%20GitHub%20Top.png\" alt=\"User Interfaces for Humans\">\n</p>\nThis repository provides a functional, pre-license version of the **PySimpleGUI** library for developers who need a free and unrestricted solution. The official PySimpleGUI library has recently transitioned to a paid license model, leaving many developers unable to access or use the library. This backup allows you to continue using the legacy version without any license requirements.\n\n---\n\n## What is PySimpleGUI4?\n\n**PySimpleGUI** is a Python library that simplifies the process of creating graphical user interfaces (GUIs). It abstracts away the complexity of underlying frameworks like Tkinter, Qt, WxPython, and Remi, offering a beginner-friendly, high-level API. With PySimpleGUI, you can build interactive desktop applications, file explorers, progress trackers, and more with minimal code.\n\n\n## Key Features of PySimpleGUI:\n- **Beginner-Friendly**: Intuitive syntax, ideal for developers new to GUIs.\n- **Rich Component Library**: Buttons, text inputs, sliders, progress bars, tables, and more.\n- **Cross-Platform**: Runs seamlessly on Windows, macOS, and Linux.\n- **Dynamic Updates**: Allows real-time updates to GUI elements during execution.\n- **Integration Ready**: Supports Matplotlib, OpenCV, and other libraries for advanced functionality.\n\n---\n\n## install\n~~~bash\npip install PySimpleGUI4\n~~~\n## How To Use PySimpleGUI4\n~~~python\nimport PySimpleGUI4 as sg\n~~~\n\n## What is PySimpleGUI4 Used For?\n\nPySimpleGUI4 is widely used in:\n- **Educational Projects**: Helping beginners learn GUI development.\n- **Data Visualization**: Embedding interactive charts and graphs.\n- **Automation Tools**: Creating simple automation utilities with user interfaces.\n- **Prototyping**: Quickly designing and testing application interfaces.\n- **Lightweight Desktop Apps**: Developing small-scale tools with a minimal footprint.\n\n---\n\n## Why Use PySimpleGUI4?\n\nOn **[specific date of license change]**, the creator of PySimpleGUI announced a transition to a paid license model. As part of this change:\n1. **A license key is now required** to use any version installed via `pip`.\n2. **Older, free versions of PySimpleGUI have been removed** from the PyPI repository, preventing developers from simply downgrading to a previous version.\n3. Developers who rely on PySimpleGUI for personal projects, open-source software, or educational purposes are now locked out unless they pay for a license.\n\nThis repository offers a solution by providing a backup of the last free and functional version of PySimpleGUI.\n\n---\n\n\n### **6. Verify the Installation**\n\nYou can verify that the legacy version is installed correctly by running a simple PySimpleGUI script:\n\n```python\nimport PySimpleGUI4 as sg\nfrom pyguievent import PySimpleEvent\n\napp = PySimpleEvent()\n\n\ndef make_main_window() -> sg.Window:\n task_list = [\n sg.Frame(\n \"Tasks\",\n [\n [sg.Input(key=\"lot\", tooltip=\"\u6b64\u8f93\u5165\u6846\u8f93\u5165\u540e\u4f7f\u7528\u56de\u8f66\u4e8b\u4ef6\u89e6\u53d1\")],\n [sg.Text(key=\"lot_txt\")],\n ],\n size=(400, 200),\n )\n ]\n\n status_bar = [sg.StatusBar(\"\u7248\u672c:\"), sg.StatusBar(\"\u72b6\u6001:\")]\n\n layout = [task_list, status_bar]\n\n # 3.\u5efa\u7a97\u53e3\n return sg.Window(\"\u6d4b\u8bd5\u7a0b\u5f0f\u7a97\u53e3\", layout, return_keyboard_events=True)\n\n\n@app.bind_event(\"lot\")\ndef on_lot(window: sg.Window, values: dict):\n lot = values[\"lot\"]\n window[\"lot_txt\"].update(lot)\n\n\ndef main():\n main_window = make_main_window()\n app.run_event(main_window)\n\n\nif __name__ == \"__main__\":\n main()\n```\n\nRun the script to ensure that the GUI appears and functions as expected.\n",
"bugtrack_url": null,
"license": null,
"summary": "The free-forever and simple Python GUI framework",
"version": "4.80.2",
"project_urls": {
"Source": "https://github.com/yunluo/PySimpleGUI4"
},
"split_keywords": [
"gui",
" pysimplegui",
" ui",
" tkinter"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "4a7bd23f36b4de9a359284037c890945deccde58992c078b84d2bdc77732a684",
"md5": "eeba3ced8063118dea3ac754fec38445",
"sha256": "20b5df0bce09eab889584c6ebd08762985e7002beb1031d96e3acd8301c27356"
},
"downloads": -1,
"filename": "pysimplegui4-4.80.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "eeba3ced8063118dea3ac754fec38445",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 681308,
"upload_time": "2025-08-17T06:27:27",
"upload_time_iso_8601": "2025-08-17T06:27:27.698606Z",
"url": "https://files.pythonhosted.org/packages/4a/7b/d23f36b4de9a359284037c890945deccde58992c078b84d2bdc77732a684/pysimplegui4-4.80.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "6e8384019989f31a416315016e9fd4db2ba88f3eb99a4790a3933c2c0b55aa58",
"md5": "716b7e169662849d3db55ecd4c1ef4b2",
"sha256": "d78ad11e50821bf7b1cf3a7fe569f00fa225ba6a21b3125de38cf21a2cd38b14"
},
"downloads": -1,
"filename": "pysimplegui4-4.80.2.tar.gz",
"has_sig": false,
"md5_digest": "716b7e169662849d3db55ecd4c1ef4b2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 680326,
"upload_time": "2025-08-17T06:27:29",
"upload_time_iso_8601": "2025-08-17T06:27:29.437755Z",
"url": "https://files.pythonhosted.org/packages/6e/83/84019989f31a416315016e9fd4db2ba88f3eb99a4790a3933c2c0b55aa58/pysimplegui4-4.80.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-08-17 06:27:29",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "yunluo",
"github_project": "PySimpleGUI4",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pysimplegui4"
}