Flexx is a pure Python toolkit for creating graphical user interfaces (GUI’s), that uses web technology for its rendering. You can use Flexx to create desktop applications, web applications, and (if designed well) export an app to a standalone HTML document. It also works in the Jupyter notebook.
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 installed.
Flexx has a modular design, consisting of a few subpackages, which can also be used by themselves:
ui - the widgets
app - the event loop and server
react - reactive programming (how information flows through your program)
pyscript - Python to JavaScript transpiler
webruntime - to launch a runtime
Example and demo server
Click the image below for an interactive example:
There is an Amazon instance running some demos on http://52.21.93.28:8000/ (it might not always be on).
Current status
Flexx is still very much a work in progress. Please don’t go use it just yet for anything serious. The public API can change without notice. However, we’re interested in feedback, so we invite you to play with it!
Requirements
Flexx requires Python 2.7 or Python 3.2+ and also works on pypy. Further, it needs the tornado library (pure Python).
Getting started
Clone the repo and add it to your PYTHONPATH, or python setup.py install, or pip install flexx.
Run the examples.
Read the docs.
Metadata
Release files for flexx 0.3.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| flexx-0.3.1.zip | 418.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flexx-0.3.1-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 836.5 kB
Release files / flexx-0.3.1.zip
| Download URL | flexx-0.3.1.zip |
|---|---|
| Size | 418.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aa8aefca3aec283cf555a2b59aa619fdd1b595b62a881cee35e3f36794185f04
|
|
BLAKE2b-256 checksum How to use checksums |
b71990a76c3ff02ecf81cb66bcfee94c4cfc419f69df7036d5fd16fac1f4e22e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / flexx-0.3.1-py2.py3-none-any.whl
| Download URL | flexx-0.3.1-py2.py3-none-any.whl |
|---|---|
| Size | 418.2 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
3a1a0c4c8a74bf4047a3d7838d3273025e2efcc99bfdba2a24e940deb03a89bf
|
|
BLAKE2b-256 checksum How to use checksums |
e8f35c4e085efadef277ffbcf662b1d59f97ac4f27ce056f12a561f402303373
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |