Skip to main content

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

Project description

ourui 1.0.0

Python-first UI compiler. Dump schema 25 (Frozen for 1.0.x).

Stable through Phase S6 plus Phase T–W: Form/Dialog/Toast, List/Table/status, diagnostics/ourui check, Trusted Publishing recipe.

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-1.0.0.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

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

ourui-1.0.0-py3-none-any.whl (59.9 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ourui-1.0.0.tar.gz
Algorithm Hash digest
SHA256 97329a62ba353e6dfba51d6ddfdd93a7ee03d1a860ce617226fa5589138c83ac
MD5 5f469c94c996fd716bcc98f07828f60f
BLAKE2b-256 16c4571b19ebdf3f3b5f6b16c5129f3cf3672810e3103c9a2dfd5d08f319528b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for ourui-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8c0c47cf301904bf4ffd2bc254443cbc33c0130f5c96cabd7543c60b7c027cba
MD5 e971203186aef97b03c2d4cf70b2b3af
BLAKE2b-256 69c08d676ec6339594defa7ad26f303fece19a1467bf6f1165949e35bd839631

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