Skip to main content

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

Project description

ourui 0.1.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.1.2.tar.gz (30.2 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.1.2-py3-none-any.whl (37.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ourui-0.1.2.tar.gz
Algorithm Hash digest
SHA256 034f3987582fbb996aba5cc8a131eadaaa7fecff5579c0d67a37a771e370cb30
MD5 3f7463e902d979ab90187c5c432cab23
BLAKE2b-256 b148028d661ffe6d8e32eec88dea44d1755d969aff3e02fbf88a66d5ad771261

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 37.1 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.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 60c7df9b5a100297fd56bb41f221976aa8fbb69a73fa9e7fec98526825403e26
MD5 ca1a1b27e9212629a33240cbdb611c19
BLAKE2b-256 0cb96a369a0a2f8a01f9f683f6e81041a817a52d04381a50d0041f51c4d852de

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