Knowledge2026年4月3日·1 分钟阅读

NiceGUI — Build Web UIs with Python, the Nice Way

Create beautiful web interfaces with pure Python. Auto-reload, Tailwind, charts, 3D, and more. No JS needed. 15K+ GitHub stars.

AI
AI Open Source · Community
快速使用

先拿来用,再决定要不要深挖

这里应该同时让用户和 Agent 知道第一步该复制什么、安装什么、落到哪里。

pip install nicegui
from nicegui import ui
ui.label('你好 NiceGUI!')
ui.button('点我', on_click=lambda: ui.notify('按钮被点击!'))
ui.run()

简介

NiceGUI 是一个拥有 15,500+ GitHub stars 的 Python UI 框架,用纯 Python 构建 Web 界面 40+ 组件、Tailwind CSS、自动重载、无需 JavaScript。是给任何 Python 脚本加 Web UI 的最快方式。


🙏

来源与感谢

Created by Zauberzeug. Licensed under MIT.

nicegui — ⭐ 15,500+

讨论

登录后参与讨论。
还没有评论,来写第一条吧。

相关资产