Skip to main content

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

Project description

ourui 0.3.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.3.2.tar.gz (34.8 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.2-py3-none-any.whl (42.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ourui-0.3.2.tar.gz
  • Upload date:
  • Size: 34.8 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.2.tar.gz
Algorithm Hash digest
SHA256 29e5629f4b0cf1dca5e2b1191a8b2ebfe6da753a7c71e0db6ab095242f489a38
MD5 71a24316ef55e1f0fb51305de6af3ddd
BLAKE2b-256 39e4f48b62301d01e2b6c9d4c0c5731940f449c9d50b4a83ff52baa09b7999bb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 42.9 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 87ce73825b923f1e3054f5db6e0e1cfff8343ff69c8ad4bb2c2a647ce6752ead
MD5 9cd29ecfc164f85e796c84ccd6d1d82d
BLAKE2b-256 d7b6af10336d23edbc916996e7c426f23eb58709190b7257f65ad7f370f61745

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