Skip to main content

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

Project description

ourui 0.2.0

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.0.tar.gz (30.7 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.0-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ourui-0.2.0.tar.gz
  • Upload date:
  • Size: 30.7 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.0.tar.gz
Algorithm Hash digest
SHA256 44555bd4e1b7c8417a45aa973eef49f882ea54c73ed5df6a649f12a7223c0984
MD5 722aff1c4f98e63a63dcd7fd4ef863c0
BLAKE2b-256 6fab88a8a01f0aa35d68a383b73741439ba58bd77df6e3f1630315bcaba11ade

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 38.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ad2c2e22002b51dd186cad35d1f02e52e77f10f7517147b58b3af017a3d267cf
MD5 03a583726ae1f1b01b9035b6415cd83f
BLAKE2b-256 03ae7e6af7fdda610db914cb3681fc96a9379901cef5f2d302ebbddb788790f2

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