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.1.tar.gz (16.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.1-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyquickwebgui-0.1.1.tar.gz
  • Upload date:
  • Size: 16.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.1.tar.gz
Algorithm Hash digest
SHA256 4551d48038117888e9bba47db6ef046edf8db92c153aa68948f2524b2a04aa1a
MD5 280a082c11fa1cbd97a43aaf654dd459
BLAKE2b-256 ead1aa4a196fb5fbba5314fa97436ffb9c160a9095438fa7cf3bfc6c671fbad4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyquickwebgui-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 22.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6441f15dbaabea14b3da61bd82971c2d98fa189fb920641804f15ccac47f2802
MD5 79452f9dabd7c1a37302e14e734d4d7e
BLAKE2b-256 f9725bfd38a77a8d8dc0f47a0c66c5b50f6f78a38123b5a9a583d3456d2003bc

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