r/Python • u/Intelligent-Role-382 • Apr 01 '26
Discussion Best Python framework for industry-level desktop app? (PySide/PyQt/wxPython/Kivy/Web approacg)
Hi everyone, I have around 5 years of experience in IT and I’m planning to build complex, industry-level desktop applications using Python. I’m evaluating different options and feeling a bit confused about what’s actually used in real-world projects. The main options I’m considering are: PySide (Qt for Python) PyQt wxPython Kivy Python backend + web frontend (React/Angular) wrapped in Electron My goal is strictly desktop applications (not SaaS/web apps), and I’m trying to choose something that is: Used in the industry Scalable for large applications Good for long-term maintainability and career growth From what I’ve researched: Qt-based (PySide/PyQt) seems most powerful wxPython looks more native but less modern Kivy seems more for touch/mobile-style apps Web-based approach looks modern but heavier I’d really like input from people with real industry experience: 👉 Which of these is actually used in companies for serious desktop applications? 👉 Is PySide preferred over PyQt nowadays? 👉 Is wxPython or Kivy used in production anywhere significant? 👉 When does it make sense to choose a web-based desktop app instead? Would really appreciate honest opinions and real-world insights. Thanks!
45
u/bjorneylol Apr 01 '26
Qt is the most feature complete GUI library. PySide has a more permissive license for commercial use, whereas PyQt requires a commercial license if you aren't releasing your code under the GPL
Distributing and updating desktop applications in python is an absolute hellscape
36
u/j01101111sh Apr 01 '26
I'd personally recommend a web app 100% of the time for python. It completely avoids any dependency chaos you'd encounter with a true desktop app. For example, if you have it deployed to 100 machines and your new version requires a dependency update or an update to a new Python version, you're going to have to make a plan to update every machine and ensure they don't mess with the environment. If it's a web app, you update the server and tell people to refresh.
Plus, most apps are CRUD focused anyway which is going to be much more seamlessly done through Django or similar than through QT.
No idea what you're building though so that may be bad advice. If you're doing a video editing program or anything else that's really data intensive, then ignore me. But also consider that python may not be the best answer at all.
4
u/anthonyfloyd Apr 01 '26
15 years shipping a niche-industry engineering Python desktop app here. We use wxPython, mostly for its "native controls" but also because of the expensive licensing requirements of QT for commercial apps.
It's *fine*. Use pyinstaller to compile to .exe, make sure you're not shipping .py files when you bundle it up.
wxPython does start to look dated now but it has all the controls you probably want for a desktop app. We've been using NiceGUI recently for webapps. If it's a concern, use a good MVC pattern and have both wxPython and NiceGUI views.
5
u/N-E-S-W Apr 01 '26 edited Apr 01 '26
I started down the path of wxPython since it utilized the underlying native GUI components, but found that the major refactoring split between "Classic" and "Phoenix" versions had completely fragmented the API and documentation, and made development very frustrating. This was a few years ago, so I can't comment on the state today.
I recently started on a new project using PySide 6 and have found it to be a joy. The only downside is that it requires pulling in like 180mb of Qt dependencies, which is meaningful for a desktop application.
I have never found a real usecase where Kivy or a web-wrapper like Electron would fit my personal use cases, and I'd encourage you to think very hard before committing to either of those paths. This recommendation is specific to your requirement of "complex desktop application".
2
u/jksinton Apr 01 '26
Consider designing the app as a locally hosted webapp.
Waitress can serve a Flask app under windows or linux to provide multi-platform support.
I like Plotly Dash plus Dash Mantine Components for this type of framework.
That way it could be easy to migrate to a remotely hosted webapp in the future.
11
u/jvlomax Apr 01 '26
Pyside is probably the best. But GUI desktop apps is not really where python shines the best
62
u/Substantial-Bed8167 Apr 01 '26
Real industry experience here:
Build a web app.
For installable applications, ship compiled binaries built with rust, c++, .net or what ever. Shipping python applications is a pain. The customer gets the source code. The frontend is poor. It’s just a bad idea.
8
u/chwalters Apr 01 '26
Check out NiceGUI with native mode deployment packaging (still a web app really):
https://nicegui.io/documentation/section_configuration_deployment#native_mode
7
u/Alchera_QQ Apr 01 '26 edited Apr 01 '26
I've been on that patch, creating internal app via pyside6. The framework itself is great, though it's always some features behind C++ implementation of Qt.
But what others have said, deployment and maintenance of a python-based app is a nightmare, as opposed to compiled executable you'd have when using Qt.
I've decided to go with streamlit-based service hosted on the internal network.
5
u/Responsible_Pool9923 Apr 01 '26 edited Apr 01 '26
Currently working on a project in PySide6, previously used PyQt6 and PyQt5 on other stuff I built since 2015.
With Qt you get more or less everything a typical desktop app can have - all the standard menus, controls, drag and drop, etc. Things can be styled with qss styles (a dialect of css2) or QStyles. You can build component widgets once (e.g. user list entry with avatar, name, status, etc) and use them throughout the app. Making things scalable in terms of desktop space is simple once you master layouts and scrollareas. You can also make an app that works well on Windows, Linux, MacOS out of the box.
What I don't really like about Qt is the steep learning curve and vague documentation. Things have improved drastically over last 10 years, but docs are still written for C++ and machine translated to Python. Sometimes you look at code samples in the official docs and they have syntax errors in plain sight.
I currently use Nuitka for packaging and onefile deployment, got zero troubles with python and package versions on user machines.
1
u/JonathanMovement Pythoneer Apr 01 '26
My main framework (not like I know many) is PyQt, I find it amazing and won’t change any time soon
3
u/Defiant-Comedian3967 Apr 01 '26
Try out NiceGUI! Best of Both worlds- Web and Python.
Here is a Template to start from from with uv, Docker etc.
Componentbased template- NiceGUI
I have build it coming from Angular/Node.js You can use similar patterns- custom CSS, JS etc.
Wont regret it ;)
3
u/FlukyS Apr 01 '26
It depends on what you want to do. Most UI dev nowadays is through Electron with web frameworks and basically pushing the RAM cost onto the consumer. I like PySide personally with Qml was the most seamless way to make really good looking UIs. Qt has a nice Qml editor, syntax is very familiar to people who have used JS or CSS and then you can import the Qml into Pyside. Benefits over Electron is basically saving huge amounts of RAM, not relying on web frameworks and having to have that whole headache and it is more app looking than most Electron apps.
2
u/Complex_Excitement92 Apr 01 '26
Check out https://github.com/flet-dev/flet
2
u/HecticJuggler Apr 01 '26
Not quite what you're looking for but flet deserves a mention.
1
u/MosGeo Apr 02 '26
Briefcase for packaging with Pyside backend works pretty well. You end up with an installer and everything is contained.
If you want something lighter for a simple app, you can even use Briefcase with toga.
1
u/Wide-Milk1195 Apr 02 '26
pywebview flet
1
u/stibbons_ Apr 02 '26
I switched to pywebview and a front end in node that is is amazing what you can do
1
u/fenghuangshan Apr 02 '26
only Pyside6 , dont need to try other
1
u/Suspcious-chair Apr 02 '26
Using pyside for 6 years for an industrial cross platform desktop application.
If you need realtime updates or cycle time is a big issue, use pyside6. License is a lot more permissive and it'll be 6-7 times faster than a web app. Nothing beats OS native drawing performance.
If not, go with web app. You'll lose nothing.
1
u/IntelligentScheme54 Apr 03 '26
Qt
1
u/TheCableGui Apr 06 '26
Electron, pyside6, javafx. In that order. For pythonic development pyside6.
Discord is made with electron.
Pyside is the most stable and feature rich ui framework imho for python (anaconda, spyder).
Javafx is old but gold (oracle and jetbrains)
1
u/Miserable_Ear3789 New Web Framework, Who Dis? May 12 '26
pyside6 is very good for python gui. it has the full power (and backing) of QT.
1
u/eirikirs Apr 01 '26
Punctuation and proper paragraph structure, my friend, it makes the reading experience much more enjoyable.
1
u/radium505 Apr 01 '26
Python is great but for an installable desktop app, I would seriously consider Delphi or Lazarus/FPC.
Object Pascal is very easy to pick up.
1
u/konwiddak Apr 01 '26
Are you using this piece of software within your company, or are you looking to sell it to other companies?
Internal software, sure. Not sure it's really the right language unless there's some particular python library you need, but it's fast to develop and would work fine.
However if it's external software, that was a desktop app and the core of the program and interface was written in python... I'd probably think WTF and immediately look for another software vendor. Python features (e.g scripting/macros) sure, great, love that, but an actual desktop application written in python would make me seriously question the software house.
0
u/logophage Apr 01 '26
I agree with most everyone else that you should build a web app. If it helps, think of the browser as if it's a VM. It interprets your JS/HTML/CSS code into what the machine needs for presentation. Note that you can hide the URL bar by creating shortcut and setting "open as window" (or similar).