Universal Python-first UI framework — one Screen-Stage-Sprite paradigm compiles to Web, desktop, mobile, TUI, and GUI.
Project description
EchoUI — Universal Python-first UI framework
One Screen–Stage–Sprite paradigm compiles to Web, desktop, mobile, TUI, and GUI.
Version: 0.9.0 · License: MIT · Docs: docs/api/INDEX.md
Quick Start
pip install -e ".[web,dev]"
Create main.py:
from echoui import App, Screen, Store, col, text, button
class CounterStore(Store):
count: int = 0
store = CounterStore()
class Counter(Screen):
def build(self):
return col(
text(lambda: f"Count: {store.count}"),
button("+1", on_click=lambda: setattr(store, "count", store.count + 1)),
)
app = App(screens=[Counter], initial="Counter")
Build and run:
echoui build --target web
echoui dev --target web --port 7999
Open http://127.0.0.1:7999 — click +1 and the count increments.
CLI
| Command | Description |
|---|---|
echoui new [name] |
Scaffold a counter project |
echoui dev --target web |
Dev server with hot reload |
echoui build --target web|static|tui|desktop|gui |
Compile for target |
echoui check |
Validate project |
echoui version |
Print version |
Quality Gate
ruff check .
mypy echoui
pytest -q
python achecker.py
python -m build
twine check dist/*
Testing
pytest -q
License
MIT — see LICENSE.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file echoui-0.9.1.tar.gz.
File metadata
- Download URL: echoui-0.9.1.tar.gz
- Upload date:
- Size: 63.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
706c648255a93e1d6d609fe1a7bb74be313aada365c9b16ef9246e9d78715f00
|
|
| MD5 |
2aa32d32f74a1ced6a6551c8d5777717
|
|
| BLAKE2b-256 |
31605ec634c66d5b5ddad975237376ad6a3081fb9b761ca42071a964b08e998e
|
File details
Details for the file echoui-0.9.1-py3-none-any.whl.
File metadata
- Download URL: echoui-0.9.1-py3-none-any.whl
- Upload date:
- Size: 51.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b18fc06cb40e8d27ff64eebf657afb91ef67f5ce152a719b0bcc55382db1a437
|
|
| MD5 |
f5dc3e01860ede4f3ba32dfdc812bffb
|
|
| BLAKE2b-256 |
96ae4a63e15b92d68ee6c708990bc1ceb1c418c9fa5ca768cff18060f3d1b66b
|