[Enhancement] Want to use PySimpleGUI in pyscript application.

未關閉
#6,587 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
5/5
預估耗時
一週以上
新手友好度
20/100
Issue 類型
功能
描述清晰度
需要釐清
活躍度
停滯
技術堆疊
python

研究方向

先閱讀有關純 Python PySide2 wheel,以及其與 PyScript 和 PySimpleGUIQt 搭配使用之預期用途的請求。該 issue 沒有提供可供檢查的 repository 檔案、測試或進入點;要完成此任務,必須定義 PySide2 封裝是否在範圍內,並建立一種驗證 PyScript 瀏覽器使用方式的方法。

由索引模型根據 Issue 內容生成。

描述

enhancement
Type of Issue (Enhancement, Error, Bug, Question)

Enhancement request
Need a pure python wheel for PySide2

Operating System

Kubuntu 20.04

PySimpleGUI Port (tkinter, Qt, Wx, Web)

PySimpleGUIQt


Versions

Version information can be obtained by calling sg.main_get_debug_data()
Or you can print each version shown in ()

Python version (sg.sys.version)

3.8.10

PySimpleGUI Version (sg.__version__)

PySimpleGUIQt 0.35.0

GUI Version (tkinter (sg.tclversion_detailed), PySide2, WxPython, Remi)

pyside2-5.15.2.1


Your Experience In Months or Years (optional)

Years Python programming experience
20
Years Programming experience overall
30
Have used another Python GUI Framework? (tkinter, Qt, etc) (yes/no is fine)
yes
Anything else you think would be helpful?
no


Troubleshooting

These items may solve your problem. Please check those you've done by changing - [ ] to - [X]

  • [x ] Searched main docs for your problem www.PySimpleGUI.org
  • Looked for Demo Programs that are similar to your goal. It is recommend you use the Demo Browser! Demos.PySimpleGUI.org
  • [x ] None of your GUI code was generated by an AI algorithm like GPT
  • [x ] If not tkinter - looked for Demo Programs for specific port
  • For non tkinter - Looked at readme for your specific port if not PySimpleGUI (Qt, WX, Remi)
  • Run your program outside of your debugger (from a command line)
  • Searched through Issues (open and closed) to see if already reported Issues.PySimpleGUI.org
  • Have upgraded to the latest release of PySimpleGUI on PyPI (lastest official version)
  • Tried using the PySimpleGUI.py file on GitHub. Your problem may have already been fixed but not released
Detailed Description

I would like to use PySimpleGUIQt in a 'pyscript' application. PyScript attempts to use PySimpleGui but fails because there is no pure python wheel for PySide2. I think that the addition of PySimpleGUIQt would be a great enhancement for PyScript. I suspect that Mike would agree; hence the effort to develop PySimpleGUIWeb. PyScript indicates that I could build a wheel for PySide2 which could be used. I don't know how to do that. QUESTION: Would you(psg) have any interest in generating a pure python wheel for PySide2 if it would mean that the psg code could be used with PyScript? Think about psg running in the browser with out a server.

Code To Duplicate

A short program that isolates and demonstrates the problem (Do not paste your massive program, but instead 10-20 lines that clearly show the problem)

This pre-formatted code block is all set for you to paste in your bit of code:


# Paste your code here


Screenshot, Sketch, or Drawing

Watcha Makin?

If you care to share something about your project, it would be awesome to hear what you're building.

主要語言
Python
星號
13.8k
分支
1.8k
PR 合併指標
30 天內沒有已合併 PR

貢獻指南

開啟貢獻指南

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

PySimpleGUI/PySimpleGUI 的其他 Issue

查看 PySimpleGUI/PySimpleGUI 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。