Skip to main content

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

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

Uploaded Python 3

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

Hashes for ourui-0.1.0.tar.gz
Algorithm Hash digest
SHA256 75e16f6d3f0fd49a333c1bfc2034cf43d9fe39dd8e2640b63fb3664d3c6b237b
MD5 a81ce057cf76b96f1c386fba980a3082
BLAKE2b-256 7dd16e66ede6719681f568a486a4058875a323017035bc2dc6b8b96bd3c94cc0

See more details on using hashes here.

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

Hashes for ourui-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 388f5586eb7a16f7dfecb25daa1d8eab5ef1811cfe2865313d6f89ea9b8cd344
MD5 68fb7a66c87128b9594b4f78ff447998
BLAKE2b-256 9feea6363c880ecec54906eae95c83ff6ba7daa7c33b0a14da1782612856835e

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