Skip to main content

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

Project description

ourui 0.1.1

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.1.1.tar.gz (29.3 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.1-py3-none-any.whl (36.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ourui-0.1.1.tar.gz
  • Upload date:
  • Size: 29.3 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.1.tar.gz
Algorithm Hash digest
SHA256 a674f12d943298db90cb951d3a26aa5fce8ae0286ccfb011ed7adbe48f502f19
MD5 3b8bacbca3ef6a59346f64be3ca0225b
BLAKE2b-256 b0e69ca10f8f456183a648800b8b5adfc2d8c730a8b63236cdacf97f355b40ed

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ourui-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 36.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 461b366ec7d2a6edb551cff6c3091a37d9b1bbfe1ac57d73137b7eb395840308
MD5 ca1ef051ee684d994494839bd1e60211
BLAKE2b-256 7e50af91772c5a93b64e34154f6c86cfa49bdb281d92543afb1a45ec0884f03d

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