Python-first UI compiler — write intent in Python, emit HTML/CSS/JS
Project description
ourui 0.1.0
Python package for the OurUI compiler and runtime.
Developer writes intent. Compiler writes implementation. Host receives primitives.
Install
From a clone of the repository:
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
- User guide:
docs/user/(from repo root) - Changelog:
CHANGELOG.md - License: MIT (
LICENSE)
Requirements
- Python 3.11+
- No runtime dependencies (stdlib only)
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(29.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
ourui-0.1.0-py3-none-any.whl
(36.1 kB
view details)
File details
Details for the file ourui-0.1.0.tar.gz.
File metadata
- Download URL: ourui-0.1.0.tar.gz
- Upload date:
- Size: 29.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75e16f6d3f0fd49a333c1bfc2034cf43d9fe39dd8e2640b63fb3664d3c6b237b
|
|
| MD5 |
a81ce057cf76b96f1c386fba980a3082
|
|
| BLAKE2b-256 |
7dd16e66ede6719681f568a486a4058875a323017035bc2dc6b8b96bd3c94cc0
|
File details
Details for the file ourui-0.1.0-py3-none-any.whl.
File metadata
- Download URL: ourui-0.1.0-py3-none-any.whl
- Upload date:
- Size: 36.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
388f5586eb7a16f7dfecb25daa1d8eab5ef1811cfe2865313d6f89ea9b8cd344
|
|
| MD5 |
68fb7a66c87128b9594b4f78ff447998
|
|
| BLAKE2b-256 |
9feea6363c880ecec54906eae95c83ff6ba7daa7c33b0a14da1782612856835e
|