Skip to main content

ourui 1.12.1

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

Developer writes intent. Compiler writes implementation. Host receives primitives.

Style intent props (aspect=, pad_x=, ring=, transition_duration=, brightness=, …) compile to .ourui-* CSS utility classes. 45 utilities across transitions, filters, effects, typography, and layout. 7 new design scales. 225 passthrough properties. 7,983 lines of generated CSS.

ui.Theme = thin brand sheet (+ optional css= escape). Craft depth is the utility catalog.

Install

pip install ourui

From a clone of the repository (editable):

python3 -m venv .venv
source .venv/bin/activate
pip install -e packages/ourui

Quick commands

ourui dump path/to/app.py
ourui emit path/to/app.py
ourui check path/to/app.py
ourui serve path/to/app.py
ourui serve examples/tutorial/06_counter_app.py

See the repository root README and docs/user/ for language docs. Style utilities: docs/user/reference/style-intents.md.

Metadata

Release files for ourui 1.12.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ourui 1.12.1
File Size Uploaded Provenance Actions
ourui-1.12.1.tar.gz 96.6 kB Without provenance Details for ourui-1.12.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ourui 1.12.1
File Interpreter ABI Platform Actions
ourui-1.12.1-py3-none-any.whl Python 3 none any Details for ourui-1.12.1-py3-none-any.whl

Total release size: 204.8 kB

Release files / ourui-1.12.1.tar.gz

Download URL ourui-1.12.1.tar.gz
Size 96.6 kB
Tags Source
SHA-256 checksum
How to use checksums
3ea200d8878dc7d2fab05c60c9c8b008c8c861b241aa4df337c11681f07ee1bd
BLAKE2b-256 checksum
How to use checksums
7935611c0fdb23772d0fae39a7ea7e211c529eaac6f726c09094c6b18f87610a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / ourui-1.12.1-py3-none-any.whl

Download URL ourui-1.12.1-py3-none-any.whl
Size 108.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98e087167c1d0cdc5f3b5aa79693e1a1b05ffe83b115c8afd4feb5f62a9306fc
BLAKE2b-256 checksum
How to use checksums
424743ca8b91eea4c798fd7480ad5d733ad9624a3ac62687d8663f4544636e4a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Security for ourui 1.12.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page