Skip to main content

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

Project description

ourui 0.3.3

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.4.0.tar.gz (45.1 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.4.0-py3-none-any.whl (53.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for ourui-0.4.0.tar.gz
Algorithm Hash digest
SHA256 5a1b98e325718fa56a0947c9d199a08281b545d55e3120068178f1f7c5350f90
MD5 15354aff458b7227df236ea665a69a42
BLAKE2b-256 e44967d66eb8149eec8fc1d7dc3663bc852d14d6fb4698a39490cbce53cc09ea

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 53.0 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 61e54fe7903db4227f83eff159050ba87ad16c63d372fc1bd6ebfcc05a60665b
MD5 c27b7e9a8676c4a65bb568b424b62987
BLAKE2b-256 356d43b156ff85fe6b4c48eb771c524eb1ade803b5fe536b31e7e27af53d6b76

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