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.2.tar.gz (71.1 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.2-py3-none-any.whl (57.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: echoui-0.9.2.tar.gz
  • Upload date:
  • Size: 71.1 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.2.tar.gz
Algorithm Hash digest
SHA256 2eea0099c20fc3655816364fcbff9215b0fd1157b0f9030eac4055c8f74263db
MD5 8eb68e6dc61771c2a8877ef852f6e3cb
BLAKE2b-256 e0c63cdc26601603113ee3577fa5c85cd3eb1bcbc5fb6e30b9fb1806d98bc0b5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: echoui-0.9.2-py3-none-any.whl
  • Upload date:
  • Size: 57.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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ca5bee73c5bc38d71ec9a86add5f03e8b2f8989614030fc5b7c6f95e6cd5a614
MD5 2b4eb854962ac347c64e583ba57f0502
BLAKE2b-256 476ebc7d30d978504ddd9ca540ef3ff6627f431df1fe7a4cb728511c80ab1721

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