Skip to main content

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

Project description

ourui 0.2.2

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.2.2.tar.gz (32.5 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.2.2-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ourui-0.2.2.tar.gz
Algorithm Hash digest
SHA256 e71cf2f5cae6eaf6faa03aed01fc48c02e8a20991485095bd66cc8394465ec55
MD5 80f3fa4b89024a10046a512ee163134a
BLAKE2b-256 2e9d47c8be87a2332ceaf185e568ea76ea7799a6e96e28f15968f3f1c6e6a494

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 40.6 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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37c14b914d598def91f98ef1bbf35b1cc26328ba0b2c8102114b915be7b2f9fb
MD5 e2dfe2e30fbadf5a3858c6e96b60d9fb
BLAKE2b-256 22c9e3875c5704d84979389c792e1c09dd5a1242cf642e8cdf0a4bda251baafa

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