Skip to main content

Write desktop and web apps in pure Python.

Project description


.. image::

.. image::

.. image::

Want to stay up-to-date about (changes to) Flexx? Subscribe to the `NEWS issue <>`_.


`Flexx <>`_ is a pure Python toolkit for
creating graphical user interfaces (GUI's), that uses web technology
for its rendering. Apps are written purely in Python; The
`PScript <>`_ transpiler generates the
necessary JavaScript on the fly.

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.

The docs are on `Readthedocs <>`_.
the code is on `Github <>`_.


Click the image below for an interactive example:

.. image::

There is a demo server at .


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

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``

Supported browsers

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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
flexx-0.7.1.tar.gz (356.7 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page