Аналог delphi на 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.

Python GUI module powered by Delphi’s FireMonkey framework. Supporting Windows, MacOS, Linux, and Android GUI development.

License

Embarcadero/DelphiFMX4Python

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

Readme with screenshots for samples

Git stats

Files

Failed to load latest commit information.

README.md

delphifmx is a natively compiled Python module powered by the Python4Delphi library. It gives Python developers access to the FireMonkey GUI framework and is freely redistributable. Supports Windows, MacOS, Linux, and Android GUI development.

FireMonkey is a GUI framework originally from Embarcadero Delphi for native cross-platform application development. It uses the GPU via DirectX or OpenGL for hardware accelerated rendering. It includes a rich styling system and is user extensible. DelphiFMX for Python does not require Delphi or any experience with Object Pascal.

Be sure to check out the PythonFMXBuilder for deploying your Python scripts on Android and the Delphi for Python Exporter to simplify your UI design.

Download the free eBook and Python styles bundle.

There is an free eBook and styles bundle with 29 custom styles and 50 pages of content.

You can see the June 2022 live stream replay covering PythonFMX and related projects.

  • Win32 x86, Win64 x86, Linux64 x86, Android64, macOS64 and macM1 architectures
  • Python cp3.6, cp3.7, cp3.8, cp3.9, cp3.10 and cp3.11
  • Win x86 and x64 from Python cp3.6 to cp3.11
  • Linux x86_64 from Python cp3.6 to cp3.11
  • macOS x86_64 from Python cp3.6 to cp3.11
  • Win x86 and x64 from Python cp3.6 to cp3.11
  • Linux x86_64 from Python cp3.6 to cp3.11
  • macOS x86_64 from Python cp3.6 to cp3.11
  • Check out DelphiVCL4Python for native Windows GUI in Python.
  • Powered by Embarcadero Delphi and the Python4Delphi library.
  • While this redistributable library is covered by the Embarcadero Freeware License, all the source code for it is covered by the MIT License.
  • Special thanks to PyScripter.
  • Sponsored by Embarcadero.

Embarcadero Embarcadero

About

Python GUI module powered by Delphi’s FireMonkey framework. Supporting Windows, MacOS, Linux, and Android GUI development.

Источник

Есть ли для питона IDE на подобии как Delphi?

Есть ли для питона IDE на подобии как Delphi?
То есть разработка в стиле «Создать окно», перетащить кнопку из визуального редактора, потом двойным кликом создать обработчик. Без прописывания вручную по пол страницы кода только для создания GUI главного окна.

PyQt и Qt Designer не подходит.

Простой 2 комментария

sanya84

Devvver

sanya84, не понравилось то что при разработке нельзя визуально создавать места размещения на форме. Только в пределах контейнеров. Очень не удобно.

longclaps

ps Ваш вопрос мне очень понравился, и я дам на него развёрнутый ответ. Многолетней давности рыночный успех Delphi был обусловлен нехитрым трюком: кривая обучения «программиста» в её начальной фазе была очень пологой, и одолеть её мог любой кретин. Эта лёгкость обеспечивалась именно визуальным редактором форм.
У низкого порога вхождения, разумеется, была своя цена. Рынок наводнили говнокодеры, не отягощённые общей програмистской культурой, а содаваемые ими продукты были безнадёжно одноразовы. Код-лапша, в котором бизнес-логика упихивалась в контролы, был неподдерживаем.
С тех пор прошли эпохи, новые поколения говнокодеров освоили концепцию MVC (вместе с паттернами, хех), но говнокодеры старой закваски всё еще не вымерли. И когда я увидел ваш вопрос, я с ностальгией вспомнил старые времена.
Сейчас на рынке рулят IDE, поощряющие создание поддерживаемого, документированного кода. Жалобы на необходимость прописывания вручную по пол страницы кода только для создания GUI главного окна вызывают лишь снисходительную усмешку: что с него возьмёшь, он — кодер старой школы. А по аватарке не скажешь )

Devvver

Упущу опусы по поводу говнокодинга — каждый живет в своем мире розовых единорогов.
Я лучше языка чем Object Pascal так и не встретил, хотя изучал много — C++, Ассемблер, Модула 2 (сейчас программистов и не вспомнить которые его знали).

Пишу программки для себя, delphi хватало с головой. Но последнее время заинтересовался парсингом, а Delphi в этом плане уже немного устарела, особенно когда это касается ssl, http 2/0 и других новых технологий.
Питон мне кажется в этом плане неплохим, учитываю модули типа BeautifulSoup. Но хочется писать под Windows и не тратить время на написания страниц кода только для создания окна. Я этим в Модула 2 страдать любил, там создание окна на чистом WinAPI могло несколько сот строк кода занимать.

longclaps

Евгений Молдовану, ну не смешно же, в самом деле: главное окно создаётся 1 раз.
Все перечисленные языки можно считать за один: уж паскаль и модула точно, но и C++ отличается лишь синтаксисом, но не парадигмой.
Я знал и любил паскаль — это в прошлом. Говорят, в современных дельфях появились даже лямбды — но нет, к прежнему я не вернусь.
У питона много изъянов — в концептуальных, и в реализации. Но достоинства очень перевешивают.

Источник

An Introduction To DelphiVCL: A Python GUI Builder For Windows

photo of man smiling in front of his laptop

Sometimes your application needs a user interface with professional looks, but what is the best way to make one for Python applications? Try DelphiVCL for Python!

DelphiVCL is a Python module giving Python GUI apps on Windows access to Delphi’s VCL for robust and high-performance native Windows visual widgets. It uses the Python4Delphi library as a bridge between Delphi’s VCL (Visual Component Library) and Python. DelphiVCL is currently available for Windows.

The DelphiVCL Python module makes ‘the whole VCL’ available in Python! No Delphi or Object Pascal experience or knowledge is necessary for you as a Python developer to take full advantage of the Native GUI benefits.

How can we use DelphiVCL?

These are the steps for using the DelphiVCL:

1. Installing DelphiVCL

“Important update on Jan 14, 2022: DelphiVCL release version is finally out on PyPI!”

Watch this comprehensive introduction to Python GUI Development with DelphiVCL library video by Jim McKeeth, for more information:

1 9411561

3. Run a simple form example

In essence, DelphiVCL is a wrapper that helps to create and access Delphi Objects quickly from Python. These wrappers contain container classes to extend and expose your custom events, methods, variables that can be used in Python script.

Here is a Python code sample using DelphiVCL to create a simple Form app with a list , edit , and button :

Источник

Читайте также:  Parse excel with python
Оцените статью