Skip to main content

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

Project description

ourui 0.3.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.3.1.tar.gz (33.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-0.3.1-py3-none-any.whl (41.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ourui-0.3.1.tar.gz
  • Upload date:
  • Size: 33.6 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.1.tar.gz
Algorithm Hash digest
SHA256 110dd40521a001e1ee7126ddb44ca7d46e3af7dd0048f192e65d9e486d7f26cb
MD5 186eb8b5e9f74f2ed639ce8c6ca98487
BLAKE2b-256 3db24dcec1dc6020511df329b0a19f9a4d12b0ce450d4162df3486953cbe8742

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 41.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e67f1cf0be8903dc2b92ed3691acadef19a74833b133d9eac49ab6f40bf60ecf
MD5 a3aa5d3a57618532f3128f148d325fde
BLAKE2b-256 aab7ce383ba6e50e9e775fa9a96e9742866f7bd355891619efd643f3038c0738

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