Metadata-Version: 2.4
Name: ourui
Version: 0.3.3
Summary: Python-first UI compiler — write intent in Python, emit HTML/CSS/JS
Author: OurUI contributors
License: MIT License
        
        Copyright (c) 2026 OurUI contributors
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/sukirman1901/OurUI
Project-URL: Documentation, https://github.com/sukirman1901/OurUI/tree/main/docs/user
Project-URL: Changelog, https://github.com/sukirman1901/OurUI/blob/main/CHANGELOG.md
Project-URL: Repository, https://github.com/sukirman1901/OurUI
Project-URL: Issues, https://github.com/sukirman1901/OurUI/issues
Keywords: ui,compiler,python,html,ourui
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Code Generators
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# ourui 0.3.3

Python package for the **OurUI** compiler and runtime.

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

## Install

```bash
pip install ourui
```

From a clone of the repository (editable):

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

Build distributable artifacts (wheel + sdist):

```bash
pip install build
python -m build packages/ourui
# artifacts under packages/ourui/dist/
```

## Quick commands

```bash
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):

- [User guide](https://github.com/sukirman1901/OurUI/tree/main/docs/user)
- [Changelog](https://github.com/sukirman1901/OurUI/blob/main/CHANGELOG.md)
- [License (MIT)](https://github.com/sukirman1901/OurUI/blob/main/LICENSE)
- [Repository](https://github.com/sukirman1901/OurUI)

## Requirements

- Python 3.11+
- No runtime dependencies (stdlib only)
