Skip to main content

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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

echoui-0.9.0-py3-none-any.whl (51.4 kB view details)

Uploaded Python 3

File details

Details for the file echoui-0.9.0-py3-none-any.whl.

File metadata

  • Download URL: echoui-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 51.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for echoui-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1d52f8b0ae00dd28280bed6f152adb2dd0633d05920912c534893afbed8b1691
MD5 4d9ff424d6bc6a0613493eedd8d85925
BLAKE2b-256 0285a6072e221dad4b6428f7387692aa056699c3c8b17bd05fc7d4fd8ad22747

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page