Being pure Python and cross platform, it should work anywhere where
there's Python and a browser. To run apps in desktop-mode, we recommend having Firefox
Flexx has a modular design, consisting of a few subpackages, which can also be used by themselves:
Flexx alternatives and similar packages
Based on the "GUI" category
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest. Visit our partner's website for more details.
Do you think we are missing an alternative of Flexx or a related project?
Want to stay up-to-date about (changes to) Flexx? Subscribe to the NEWS issue.
You can use Flexx to create (cross platform) desktop applications, web applications, and export an app to a standalone HTML document. It also works in the Jupyter notebook.
Click the image below for an interactive example:
There is a demo server at http://demo.flexx.app .
The primary motivation for Flexx is the undeniable fact that the web (i.e. browser technology) has become an increasingly popular method for delivering applications to users, also for (interactive) scientific content.
The purpose of Flexx is to provide a single application framework to create desktop applications, web apps, and (hopefully soon) mobile apps. By making use of browser technology, the library itself can be relatively small and pure Python, making it widely available and easy to use.
Flexx requires Python 3.5+ and also works on pypy. Further, it depends on:
- the Tornado library (pure Python).
- the PScript library (a pure Python flexxui project).
- the Webruntime library (a pure Python flexxui project).
- the Dialite library (a pure Python flexxui project).
To install the latest release (and dependencies), use either of these commands:
pip install flexx
conda install flexx -c conda-forge
Or get the bleeding edge with:
pip install https://github.com/flexxui/flexx/archive/master.zip
Flexx aims to support all modern browsers, including Firefox, Chrome and Edge. Internet Explorer version 10 and up should work, but some things may be flaky.
For running desktop apps, it is needed to have Firefox or NW.js installed.
Flexx makes use of the liberal 2-clause BSD license. See LICENSE for details.
*Note that all licence references and agreements mentioned in the Flexx README section above are relevant to that project's source code only.