Other

项目介绍

PaulleDemon/PyUIBuilder 是一个托管在 GitHub 上的开源项目,主要使用 JavaScript 编写,采用 Other 许可证,目前获得 2.6k 个 Star、219 次 Fork。

仓库全名
PaulleDemon/PyUIBuilder
开源许可证
Other
Star 数
2.6k
Fork 数
219
未关闭 Issue
14

README 摘要

PyUIBuilder - Python GUI Builder Build python GUIs like Canva Build Python GUI's with ease of Drag and drop builders. https://github.com/user-attachments/assets/57addb9c-d018-4be9-894d-c7cbce5ff55f Don't like background music? feel free to mute it [!IMPORTANT] Note: The project is now being maintained in a private repo, and is being continuously updated Try PyUIBuilder Try it PyUIBuilder About About PyUiBuilder…

完整内容见 GitHub 原始 README 或本页 。

常见问题

PyUIBuilder 用什么语言开发?

主要使用 JavaScript 编写,采用 Other 许可证,目前有 2.6k 个 Star。

PyUIBuilder 可以免费商用吗?

仓库标注的许可证为 Other,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 PyUIBuilder 的源码?

可以直接克隆仓库:git clone https://github.com/PaulleDemon/PyUIBuilder.git,默认分支为 main;安装与运行步骤见仓库 README。

PyUIBuilder 最近还在维护吗?

仓库最近一次更新为 8月7日,当前有 14 个未关闭 Issue;Star 数为 2.6k,可作为社区活跃度的参考。

简要分析

热度分
3101
价值分
1646
活跃状态
活跃

语言占比

CSS
HTML
JavaScript
Python

贡献者

README

font tester logo

PyUIBuilder - Python GUI Builder

Build python GUIs like Canva

PyUI Builder - Build Python GUIs like Canva | Product Hunt

https://github.com/user-attachments/assets/57addb9c-d018-4be9-894d-c7cbce5ff55f

Don’t like background music? feel free to mute it



Important 重要

Note: The project is now being maintained in a private repo, and is being continuously updated


Try PyUIBuilder

Try it PyUIBuilder

About About PyUiBuilder

PyuiBuilder - Python GUI Builder

Roadmap: You can check whats upcoming on Roadmap

What’s new: You can check what’s new here

Funding development:
I am Paul, a solo-developer, which means I work on this project all by myself from design to coding to maintaing the project.

so, if you’d like to support the development, you can purchase a license with a one time payment, for a limited time, which will give you instant access to all the premium features for life. Thank you for your support! appreciate it very much

Best,
Paul

Note: premium features are being added and maintained in private

Table of contents

Resources

  1. Youtube - PyUibuilder playlist
  2. Creating sign up form Blog
  3. Discord Invite

Docs - Getting started

Read the docs on the Docs page

Example app

demo

Output code generated for tkinter

# This code is generated by PyUIbuilder: https://github.com/PaulleDemon/PyUIBuilder

import tkinter as tk
from tktimepicker import AnalogPicker, AnalogThemes, constants
import tkintermapview

main = tk.Tk()
main.config(bg="#332f2f")
main.title("Main Window")

timepicker = AnalogPicker(parent=main, type=constants.HOURS12)
timepicker_theme = AnalogThemes(timepicker)
timepicker_theme.setNavyBlue()
timepicker.place(x=80, y=145, width=250, height=350)

map_viewer = tkintermapview.TkinterMapView(master=main)
map_viewer.place(x=423, y=181, width=400, height=250)

label = tk.Label(master=main, text="Sample text")
label.config(bg="#E4E2E2", fg="#000")
label.place(x=83, y=69, width=130, height=46)

button = tk.Button(master=main, text="Click me")
button.config(bg="#65ff4a", fg="#0b0909")
button.place(x=457, y=108, width=80, height=40)


main.mainloop() 

Output produced tkinter (linux)

demo

Tkinter is OS dependent, output may vary based on OS.

3 Easy steps.

  1. Select a UI library/framework.
  2. Drag and drop widgets.
  3. Generate and download the code.

Features

While there are a lot of features, here are few you need to know.

  • Framework agnostic - Can outputs code in multiple frameworks.
  • Pre-built UI widgets
  • Plugins to extend 3rd party UI libraries
  • Supports layout managers, such as flex, grid and absolute positioning read docs
  • Generates python Code.
  • Support to upload local assets.
  • Generates requirements.txt file when needed

Supported Frameworks/Libraries

  • Tkinter
  • CustomTkinter
  • Kivy (work in progress)
  • PySide (work in progress)

Roadmap

Here are some of the upcoming features.

  • Support for Event Handlers
  • Pyqt/PySide Support
  • Downloadable Electron app and more.

To learn more/ see upcoming features visit roadmap

To stay in loop, subscribe to the free newsletter

License - Fund the development

Help fund development of this and upcoming projects by purchasing a one-time license.

Purchasing License will give you discounted price and provide you access to more advance features, early access and more.

The discount’s will be available for limited time only on pre-orders.

Type Free Premium - Hobbyist / Per user Premium - Commercial / Per user
Support open-source development 👍️ 😎 🚀
Priority support - (prioritize your feature requests, issues) community support ✅ ✅
Lifetime license (one-time purchase) 👍️ ✅ ✅
Early access to upcoming features ❌ ✅ ✅
Downloadable Electron App (upcoming) ❌ ✅ ✅
Premium widgets(tabbed widget, scroll widget etc) ❌ ✅ ✅
Run Preview live(upcoming) ❌ ✅ ✅
Save and Load UI files ❌ ✅ ✅
Load 3rd party plugins locally ❌ ✅ ✅
Dark theme ❌ ✅ ✅
Commercial Use ❌ ❌ ✅
Support for PyQt/PySide frameworks (upcoming) ❌ ❌ ✅
More upcoming features and support ❓️ ✅ ✅
Price - $129 $29 (save 77.52% for limited time on pre-order) 180 $49 (Save 72.78% for a limited time on pre-orders)
order now! Get license Get license

Newsletter

Join the free newsletter to know about upcoming updates, learn how I built this tool and more about open-source.

Join free newsletter

Keep yourself updated

To keep up with the latest developments considering starting ⭐️ this repo

Tested on

Depending on whether your Browser supports native HTML drag and drop, it may work differently. I haven’t tested on Safari, since I don’t have a Macbook, feel free to let me know if it works.

  • Chrome
  • Edge
  • FireFox
  • Safari (Not tested on safari)

FAQ

  1. Why do I need a GUI builder?

    A. GUI builders assist you quickly create GUI without learning too much about GUI frameworks. It can also help you quickly prototype and see things visually.

  2. Do I need to purchase a license to use this?

    A. Webbased editor will remain free to use. To support open-source development, If you want a downloadable exe for local development and additional features, you’ll need to purchase license based on your needs (hobbiest / commercial)

  3. How does this compare to other UI builders?

    A.

    • Most GUI builders out there are framework specific, this UI Builder tool is framework independent.

    • This outputs code in Python, not in XML or other formats which can be hard to debug. So its easier to modify even after downloading the code.

    • Support for 3rd party UI libraries. Many GUI builders don’t come with support for 3rd party libraries.

  4. Why doesn’t the theme of the GUI builder match the theme of Tkinter?

    A. Tkinter is a OS-dependent library, so it would render differently on different OS. Having a common UI the the GUI builder makes it simpler for development.

    If you want a live preview before generating the code you can get a premium license and you’ll be notified when that feature releases.

License Information

To support development of this project, license differ depending on the usecase.

Web-based Editor
  • All code generated by the builder tools are licensed under MIT and can be used commercially
Electron App - Hobbyist License

This is meant for students and hobbyist

  • All code generated by the builder tools are free to use for non-commercial purposes. If you are using this for a startup or your business you’ll need to get a business license.
Electron App - Commercial License

This is meant for business usecases, you can use the code even for commercial use.

  • All code generated by the builder tools are free to use for commercial and non-commercial purposes. If you are using this for a startup or your business you’ll need to get a commercial license.

Contributing

To run it locally you’ll need to add .env-cmdrc.json with the following in it. This file should be in the root directory

{
    "development":{
        "REACT_APP_ANALYTICS_SCRIPT_ID": ""
    },

    "production":{
        "REACT_APP_ANALYTICS_SCRIPT_ID": ""

    }
}

For contributing read here

Some of my other open-source

Author

  • Paul
  • Github: PaulleDemon

评论

暂无评论