Skip to main content

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

Project description

ourui 0.2.1

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.1.tar.gz (31.9 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.1-py3-none-any.whl (40.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ourui-0.2.1.tar.gz
  • Upload date:
  • Size: 31.9 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.1.tar.gz
Algorithm Hash digest
SHA256 84e09e1d49bb2a11973eef704fd59cf8b92cf2c1474290696505cfadd95b2d5c
MD5 77e1767545e9820cb15b3e6b8a9db52a
BLAKE2b-256 ab86ef49c89597f7cb3b7ac13ac1930a4de8c067d1a76fb5f9292bdce447192d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 40.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.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 39085d4b9504308aa70d8c9ad11b175a1b368839db90d8914186626030fb405a
MD5 3f872e77c6e118e40d71d8f1ed0bd25d
BLAKE2b-256 2f231148cead87453a98e7654edd1434b0c44371bafdcf24c20f37b40789c558

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