Skip to main content
https://badges.gitter.im/flexxui/flexx.svg https://travis-ci.org/flexxui/flexx.svg https://readthedocs.org/projects/flexx/badge/?version=latest

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

Introduction

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.

Example

Click the image below for an interactive example:

https://dl.dropboxusercontent.com/s/x4s7wgv6tpyqsqo/flexx_demo_300.png

There is a demo server at http://demo.flexx.app .

Motivation

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.

Installation

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

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.

License

Flexx makes use of the liberal 2-clause BSD license. See LICENSE for details.

Metadata

Release files for flexx 0.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for flexx 0.8.0
File Size Uploaded
flexx-0.8.0.tar.gz 363.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for flexx 0.8.0
File Interpreter ABI Platform
flexx-0.8.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 696.4 kB

Release files / flexx-0.8.0.tar.gz

Download URL flexx-0.8.0.tar.gz
Size 363.8 kB
Tags Source
SHA-256 checksum
How to use checksums
ee7de225aac13ea1a03c4bc7460dde89b39b8c3ca71d1e024926ef9f02b872dd
BLAKE2b-256 checksum
How to use checksums
4916d018e7a6f52b04b68542eae5670fe3bcfde4ae22c7d46380cee0d3f58126
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release files / flexx-0.8.0-py2.py3-none-any.whl

Download URL flexx-0.8.0-py2.py3-none-any.whl
Size 332.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9a2a68560db47ee1982fe8d90446d23756bdcb5c6f05370e07d92cd40168a18d
BLAKE2b-256 checksum
How to use checksums
b18d7c006a7f723f2392a6e8e4c717fdeda843656389c0b87cb88e4de1b35b2d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.7

Release history Release notifications | RSS feed

0.8.4

2 release files

0.8.3

2 release files

0.8.2

2 release files

0.8.1

2 release files

This release

0.8.0 This release

2 release files

0.7.1

1 release file

0.7.0

2 release files

0.6.2

1 release file

0.6.1

1 release file

0.6.0

1 release file

0.5.0

1 release file

0.4.1

2 release files

0.4

2 release files

0.3.1

2 release files

0.3

3 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page