Skip to main content

Universal Python-first UI framework — one Screen-Stage-Sprite paradigm compiles to Web, desktop, mobile, TUI, and GUI, with a universal escape layer guaranteeing capability parity with any framework.

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 Distribution

echoui-0.9.3.tar.gz (97.7 kB view details)

Uploaded Source

Built Distribution

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

echoui-0.9.3-py3-none-any.whl (78.2 kB view details)

Uploaded Python 3

File details

Details for the file echoui-0.9.3.tar.gz.

File metadata

  • Download URL: echoui-0.9.3.tar.gz
  • Upload date:
  • Size: 97.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for echoui-0.9.3.tar.gz
Algorithm Hash digest
SHA256 adbe044b9967b221f91773bcac0a959a95862830ef8f50702d71826d34c06e5c
MD5 1aa34d978461e10f09ee6e66838fc852
BLAKE2b-256 393de0d0f6a86c197bddf039c5d8c48dd77ed46acc0aea222b57b868636f958c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: echoui-0.9.3-py3-none-any.whl
  • Upload date:
  • Size: 78.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 50e784dd4e813baf9c04ddfbffa6ea9c4a3bc6bb850ae58c772404545cc74bfe
MD5 301b8dfd7843311e4f82d98ce87a530e
BLAKE2b-256 c4981803fd8d1871537c3477bb4550634bec5f4ba00dd645c314e0885c7d8d00

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