Description
Flexx is a pure Python toolkit for building graphical user interfaces that are rendered with web technology. You write your app in Python, and the PScript transpiler produces the JavaScript it needs. With Flexx you can build cross-platform desktop applications, web applications, and standalone HTML documents, and it also runs in a Jupyter notebook. The motivation is that browser technology has become a common way to deliver applications, including interactive scientific content, so one Python framework can cover desktop and web. The project warns that because Python can run both on the server and in the browser, it is easy to mix them in a way that is hard to maintain, so the developer must keep the Python and PScript code clearly separated. Flexx requires Python 3.5 or later, works with PyPy, and depends on the Tornado, PScript, Webruntime and Dialite libraries. It supports modern browsers, and desktop apps need Firefox or NW.js. It is released under the BSD 2-clause license, and the docs are on Read the Docs.…
Highlights
- Desktop and web apps in pure Python
- Export an app to a standalone HTML file
- Works in Jupyter notebooks
- Python to JavaScript with PScript
- BSD 2-clause license
Ratings & Reviews
No ratings yet
Be the first to rate Flexx.
People also visit
Flexx FAQ
What is Flexx?
A pure Python toolkit for building GUIs that are rendered with web technology, for desktop and web apps.
Do I need to write JavaScript?
No. The README says apps are written purely in Python and PScript generates the JavaScript on the fly.
Which Python versions does it need?
Python 3.5 or later, and it also works on PyPy, according to the README.
What do I need to run desktop apps?
Firefox or NW.js installed, according to the README.
Is it free?
Yes. It is released under the BSD 2-clause license and the code is on GitHub.
Where are the docs?
On Read the Docs, as the README says.
What are the best Flexx alternatives?
Popular alternatives to Flexx include Slint, Fast Dash and Mogwai. See all Flexx alternatives


