Skip to main content

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

Project description

ourui 0.3.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.3.0.tar.gz (32.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.0-py3-none-any.whl (40.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ourui-0.3.0.tar.gz
  • Upload date:
  • Size: 32.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.0.tar.gz
Algorithm Hash digest
SHA256 0da98d67c4664643fed591cc89e1d8e6d39426cca59d03b1fce889386c3b9dd3
MD5 e5fb660d4441af8f3f46b73e06564c6c
BLAKE2b-256 4e43a4f8285997bec2f0e81165d6649ea072d3c9473db7f833bea2664ffa2e19

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 40.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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b40e6fb2755e573e4992d18f33189ee5c70790ae2f7495613dceefd6b31e36af
MD5 d7439611b3c806c2eaf3f9e14e1e1996
BLAKE2b-256 3970fbcd9343070635d38ca45dfcac6fb6e5c51cfa3ecd7c71bd999b5f880d47

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