Gui builders для python

Saved searches

Use saved searches to filter your results more quickly

You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session.

Simply an application that can help you to quickly build other applications. A GUI Builder with code generation capabilities for Python Tkinter. Collaborations are highly welcome 🙂

License

the-pythonist/python-gui-maker

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Sign In Required

Please sign in to use Codespaces.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching GitHub Desktop

If nothing happens, download GitHub Desktop and try again.

Launching Xcode

If nothing happens, download Xcode and try again.

Launching Visual Studio Code

Your codespace will open once ready.

There was a problem preparing your codespace, please try again.

Latest commit

Git stats

Files

Failed to load latest commit information.

README.md

A GUI Builder with code generation capabilities for Python Tkinter. It allows you to create your widgets (drag, drop and resize) right on the GUI window. Nothing like canvas usage. Experience the real deal. This software does a lot already, but can do a lot more. Thus, collaborations are highly welcome 🙂

PS: I am still looking for a suitable name for this project. Suggestions are most welcome.

An over seven-thousand-five-hundred (7500) lines of python code that does something AWESOME 😄 . Find out 👇

This software system only supports the tk widgets in the Tkinter framework. The system could be improved by providing support for the ttk widgets

Читайте также:  Python nested with as

This software allows you build GUIs for your python application faster. It takes off the enormous time spent deliberating on what color to use, where to place your widget, what styling to use, etc. With this software, you are able to care less of the visual feedback you give users of your application.

If you probably need drag/drop and widget resizing features for your code, you can view my cool tkinter_dndr project here:

—— POINTS TO NOTE (well yeah, points 😆 ) ——

  • This software supports only the python programming language.
  • It is cross-platform: can work on Windows, Linux and MAC-OS with native support (I guess).
    • However, I only provide an executable for Windows.
    • If you want an executable for Linux and MAC-OS, you will need to build that from the source code. You can use the py-installer package (https://pypi.org/project/pyinstaller/)

    —— USE CASE DIAGRAM FOR gui-maker ——

    —— TUTORIAL ON HOW TO USE THIS SYSTEM (gui-maker) ——

    • This is currently unchecked. I plan to do a video for this. Please raise an issue if you are currently viewing this and you do not see a video.

    —— PARTS (or MODULES) OF THE GUI MAKER ——

    gui-maker Main Interface — This is a view of the default interface you get when you launched the gui-maker software

    gui-maker Main Interface with Attribute Editor — This is a view of the main interface along with the Attribute Editor. The attribute editor contains all the attributes that can be defined to configured your widget.

    gui-maker Textbox-Code-Generator — This part of the system contains the outputs of the code for your widgets. You can copy the code.

    gui-maker Window Setup Dialog — This part of the system allows you configure some properties for your GUI window.

    gui-maker Font Styler — This part of the system allows you configure and customize the font for your widgets.

    —— SAMPLE GUIs DESIGNED BY gui-maker ——

    Find here, snapshots of two applications that had their GUIs design by gui-maker

    About

    Simply an application that can help you to quickly build other applications. A GUI Builder with code generation capabilities for Python Tkinter. Collaborations are highly welcome 🙂

    Источник

    13 GUI-библиотек Python

    Перевод статьи markdrozdov “13 Python GUI Libraries”.

    Python

    Python это высокоуровневый язык программирования, он используется как язык общего назначения. Этот язык был создан Гвидо ван Россумом и впервые выпущен в 1991 году. Философия проектирования Python фокусируется на читаемости кода. Для этой цели в языке используется значительное количество пробелов.

    Python предоставляет конструкции, позволяющие программировать к в малых, так и в больших масштабах. У этого языка очень большая стандартная библиотека. Он относится к языка с динамической типизацией. Также в нем есть автоматическое управление памятью.

    Python поддерживает множество парадигм программирования, включая:

    Графический интерфейс пользователя (GUI)

    GUI это человеко-компьютерный интерфейс. Другими словами, это способ, с помощью которого люди могут взаимодействовать с компьютерами.

    Он использует окна, значки, меню. Манипулировать GUI можно как с помощью мышки, так и с помощью клавиатуры.

    GUI-библиотека

    GUI-библиотека содержит виджеты. Виджеты это наборы графических элементов управления.

    При создании GUI программы обычно используется каскадный способ. Графические элементы управления добавляются поверх друг друга.

    Python GUI

    Когда вы пишете приложение с помощью Python, вам для этого понадобится использовать GUI.

    Существует много вариантов Python GUI. Есть больше 30 кросс-платформенных фреймворков для программирования GUI на Python. 13 из них перечислены и кратко охарактеризованы ниже. (Возможно, вам будут интересны и другие библиотеки Python, о которых мы писали ранее).

    1. Tkinter

    Tkinter это набор инструментов, который может формировать GUI с помощью Python. Он позволяет вам запускать сценарии на Python в GUI-формате. Ссылка ведет на страницу с руководством по Tkinter.

    2. Flexx

    Многие GUI-библиотеки Python основаны на библиотеках, написанных на других языках, таких как C ++. Например, wxWidgets и libavg. Flexx создана на Python. Для отображения GUI использует веб-технологию.

    3. CEF Python

    Этот фреймворк нацелен на Windows, MAC OS и Linux. Основан на Google Chromium. Основное внимание в нем уделяется облегчению использования встроенного браузера в сторонних приложениях.

    4. Dabo

    Цель этого фреймворка – WxPython. Это трехуровневый фреймворк для разработки кросс-платформенных приложений.

    5. Kivy

    Kivy основан на OpenGL ES 2. У него есть собственный multi-touch для каждой отдельной платформы. Это событийно-ориентированный фреймворк, который прекрасно подходит для разработки игр.

    6. Pyforms

    Pyforms это фреймворк Python 2.7/3.x для разных окружений, используемый для разработки GUI приложения. В нем поощряется повторное использование кода.

    7. PyGObject

    С помощью PyGObject вы можете писать на Python приложения для проекта GNOME. Также можно писать приложения на Python, использующие GTK+.

    8. PyQt

    Qt это кросс-платформенный фреймворк. Он написан на С++. Это очень полная библиотека, включающая много инструментов и API. Широко используется во многих отраслях. Охватывает множество платформ.

    9. PySide

    Обёртка для Qt. PySide и PyQt отличаются тем, что последний является коммерчески доступным.

    10. PyGUI

    PyGUI предназначен для платформ Unix, Macintosh и Windows. Фокус этого MVC-фреймворка заключается в том, чтобы вписываться в экосистему Python с максимальной легкостью.

    11. libavg

    Это сторонняя библиотека, написанная на С++. Обладает следующими особенностями:

    • показ элементов в форме переменных Python;
    • система управления событиями;
    • таймеры;
    • поддержка логов.

    12. PyGTK | PyGObject

    «GTK+», широко используемая в Linux, является «GTK + «обёртка из» PyGTK». По сравнению с Kivy и PyQt, PyGTK очень легок для платформ Unix, Macintosh, Windows.

    Этот MVC-фреймворк разработан Грегом Эвингом из университета Кентербери (Новая Зеландия). Его главный фокус – как можно более простая адаптация к экосистеме Python.

    13. wxPython

    Обертка кросс-платформенного GUI для Python на основе wxWidgets. Написана на С++.

    Заключение

    Приведенный выше список GUI-фреймворков покрывает большую часть нужд разработчика. Выбор зависит от ваших потребностей.

    Источник

    Welcome to Pygubu!

    Pygubu is a RAD tool to enable quick and easy development of user interfaces for the Python’s tkinter module.

    The user interfaces designed are saved as XML files, and, by using the pygubu builder, these can be loaded by applications dynamically as needed.

    Installation

    The latest version of pygubu requires Python >= 3.6

    You can install pygubu using pip:

    Usage

    Since version 0.10 the project was splitted in two main modules:

    • The pygubu core (this project), that load and build user interfaces defined in xml.
    • The interface editorpygubu-designer, that helps you create the xml definition graphically.

    Start creating your tkinter application xml UI definition using the pygubu-designer editor.

    The following is a UI definition example called helloworld.ui:

                World App                            26      World !          Then, you should create your application script as shown below (helloworld.py):
         Note that instead of helloworld.ui , you should insert the filename (or full path) of your UI definition:
    Note also that instead of 'mainwindow', you should have the name of your main_widget (the parent of all widgets) in the following line:
    Visit the pygubu wiki for more documentation.

    The following are some good tkinter (and tk) references:

    You can also see the examples directory or watch this introductory video tutorial.

    History

    Источник

Оцените статью