Skip to main content

Create desktop applications with Flask/Django/FastAPI/web.py!

Project description

py-quick-webgui

python使用webui制作桌面应用

需要python>=3.6

支持 django flask fastapi webpy 等web框架 支持 vue框架 支持 webview 项目设计改进的初衷是用来方便开发在服务器和客户都可以运行的web应用

参考 flaskwebgui

示例

  • django-desktop 代码编辑器示例
  • fastapi-desktop 代码编辑器示例
  • fastapi-desktop-stray 增加了系统托盘图标
  • fastapi-vue-desktop 带vue的代码编辑器示例
  • fastapi-webview-desktop 增加了webview支持
  • flask-desktop md 编辑器示例
  • tauripy-fastapi-desktop-stray(recommend) tauri 集成(推荐使用该模板开发)
  • webpy-desktop 最小运行程序示例

打包

打包命令

package.bat

package.sh

打包说明

res 文件内是目录

res.zip包含真正执行文件main.exe 资源目录 static ,被打包到 package.exe

xx.exe 启动时候先释放 res目录,找到main.exe 执行

包裹文件就负责释放执行文件和资源

项目编译

# 构建
uv build


# 测试安装1
pip install dist/pyquickwebgui-0.1.0-py3-none-any.whl


# 测试安装2
pip install -e

# 安装 twine
pip install twine

# 上传到 PyPI

python -m twine upload dist/*

更新日志

  • 2025-05-01 V 0.0.6

    • 修改成uv 编译
  • 2025-05-01 V 0.0.5

    • 增加 sphinx 生成文档
  • 2025-05-01 V 0.0.4

    • 增加:tauri支持
  • 2025-04-12 V 0.0.3

    • 增加:系统托盘图标功能
    • 优化:vue 支持
  • 2024-08-01 V 0.0.2

    • 增加:webview 支持
    • 增加:webpy 支持

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyquickwebgui-0.1.0.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyquickwebgui-0.1.0-py3-none-any.whl (20.8 kB view details)

Uploaded Python 3

File details

Details for the file pyquickwebgui-0.1.0.tar.gz.

File metadata

  • Download URL: pyquickwebgui-0.1.0.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for pyquickwebgui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 375de996cb3e03cd89e2a99342fe0205de1d5cb95e23bc3a642c8d3b9263fb7b
MD5 7f7f0800a7601216d1e2da6f875aab93
BLAKE2b-256 75ec2bb7bf82fba5c926138f233a1a5f83fa714694367986bd13a98a938be375

See more details on using hashes here.

File details

Details for the file pyquickwebgui-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pyquickwebgui-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.8.10

File hashes

Hashes for pyquickwebgui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c5ff6ce311f9f3124a7e7be9f914592bfdccc88f7cdaa1e5fc88410681177e0
MD5 18177a2db5d14ea5334969b3254f2a1b
BLAKE2b-256 c734503ecf7fb8343cb974563677662d06813ac1803e971785031067b61a7f3e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page