Skip to main content

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

Project description

ourui 1.11.0

Python package for the OurUI compiler and runtime.

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

Package goal: Tailwind-depth utilities in Python (aspect=, pad_x=, ring=, …) → HTML/CSS/JS. ui.Theme = thin brand sheet (+ optional css= escape). Style Intent Catalog (ADR-013) L3 shipped — niche C remain.

Dump schema 30 (additive). Theme defaults from theme.py. Thin primitives for emit — craft depth is the utility catalog.

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 check path/to/app.py
ourui serve path/to/app.py
ourui serve examples/tutorial/06_counter_app.py

See the repository root README and docs/user/ for language docs. Style utilities: docs/user/reference/style-intents.md.

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.11.0.tar.gz (93.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-1.11.0-py3-none-any.whl (104.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ourui-1.11.0.tar.gz
  • Upload date:
  • Size: 93.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ourui-1.11.0.tar.gz
Algorithm Hash digest
SHA256 68990730f14bd3eaada888e7ae52ce865de4004ac2d9b2dbf5c2b0f99ec12067
MD5 370e3cc23d750ab71eef54dbaa341575
BLAKE2b-256 2156cf9de4938ae8b921cb13e8fcd7086dfb0fa5a72a67fdb1ab464723fae802

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-1.11.0-py3-none-any.whl
  • Upload date:
  • Size: 104.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for ourui-1.11.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9876b2614308cba2441c3d96abf8b689faf9d65bf4ab5903ddc6f69bb928a366
MD5 5ff3a468510d590bfb9010456afaebf7
BLAKE2b-256 bc8b0552a62691229d0de392fb0799b25a382a0e02d58d147975d9d2da1f3733

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