Skip to main content

Python-first UI compiler — write intent in Python, emit HTML/CSS/JS

Project description

ourui 0.4.1

Python package for the OurUI compiler and runtime.

Developer writes intent. Compiler writes implementation. Host receives primitives.

Stable through Phase S6 (dump schema 21): Nav, forms, tokens, layout, motion, Canvas, polish.

Install

pip install ourui

From a clone of the repository (editable):

python3 -m venv .venv
source .venv/bin/activate
pip install -e packages/ourui

Quick commands

ourui dump path/to/app.py
ourui emit path/to/app.py
ourui serve path/to/app.py
ourui serve path/to/app.py --prod
ourui lsp

Demo (from repo root): ourui serve demo/app.pyhttp://127.0.0.1:8765/

Documentation

Requirements

  • Python 3.11+
  • No runtime dependencies (stdlib only)

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

ourui-0.4.1.tar.gz (47.0 kB view details)

Uploaded Source

Built Distribution

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

ourui-0.4.1-py3-none-any.whl (55.0 kB view details)

Uploaded Python 3

File details

Details for the file ourui-0.4.1.tar.gz.

File metadata

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

File hashes

Hashes for ourui-0.4.1.tar.gz
Algorithm Hash digest
SHA256 ecb44ee26e2cc1e151af56b444f20ac5b682071824ba1ca0df563850e98f001b
MD5 faeb312dad4cd5f1730a80909311cbaa
BLAKE2b-256 840f625c00fbe887672499501fe2cbce09bc2ff8b3d5fbbc61b0a9a2e7d50b7e

See more details on using hashes here.

File details

Details for the file ourui-0.4.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for ourui-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e64f4deb8559964cc2ff7257c41ecfa197ae2f93bbe6d4e6befacf352e6d4ffc
MD5 264be766735e861c6f9e69f005b10309
BLAKE2b-256 fc1062e1955d68a9d1af998e9d09eb49e21ed04586a4021c5e48c71b9715014b

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