Installation¶
Requirements¶
- Python 3.9 or newer
- pip 21+
Basic Install¶
This installs FluxUI with all core components and the development server.
Optional Extras¶
Charts¶
Adds Plotly integration and the ui.Chart component:
Public Sharing¶
Enables app.run(share=True) to create a temporary public tunnel URL (powered by localtunnel):
Everything¶
Development Install¶
If you are contributing to FluxUI or want to run the test suite:
The dev extra pulls in pytest, pytest-asyncio, watchfiles, mypy, and ruff.
Verify the Install¶
You should see:
Usage: fluxui [OPTIONS] COMMAND [ARGS]...
FluxUI — reactive Python web UI framework
Options:
--help Show this message and exit.
Commands:
export-docker Generate Dockerfile + docker-compose.yml.
new Scaffold a new FluxUI project.
run Start the FluxUI development server.
Scaffold a New Project¶
The fastest way to start:
This creates:
my_app/
├── app.py # your FluxUI app
├── pyproject.toml # project metadata
├── .gitignore
└── README.md
The generated app.py is a working counter demo you can immediately run and edit.