Skip to main content

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

Project description

ourui 0.3.3

Python package for the OurUI compiler and runtime.

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

Install

pip install ourui

From a clone of the repository (editable):

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

Build distributable artifacts (wheel + sdist):

pip install build
python -m build packages/ourui
# artifacts under packages/ourui/dist/

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

Documentation

Links below open on GitHub (PyPI cannot host the docs tree inside the wheel):

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.3.3.tar.gz (36.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.3.3-py3-none-any.whl (44.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ourui-0.3.3.tar.gz
  • Upload date:
  • Size: 36.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.3.3.tar.gz
Algorithm Hash digest
SHA256 2aaeda2f210abab3f001768f9cb92dd05785eb4076bfffe23aeead9f346ea46a
MD5 8da5eab80834811cfa90efdb4568cc87
BLAKE2b-256 74d7cbecfee8488246449d1597f14ca70811c6d68dedc3272eaf9f3f34b30c4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.3.3-py3-none-any.whl
  • Upload date:
  • Size: 44.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.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1c9ee1d9b10974e0214ed533b6fb84641ef27e70b4cddc54dced8bf13df6b25c
MD5 567798a705595470f4b6393ebc1f7ffd
BLAKE2b-256 ed8e67a3b9d440e197e9e23f67a686d68260516662df201ba0dc7e6f57adfde0

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