Metadata-Version: 2.3
Name: uup-builder
Version: 0.1.4
Summary: Python Module for building an iso from uup dump files.
Keywords: windows,iso,uup,winbuilder
Author: Cairnstew
Author-email: Cairnstew <sean.cairnsst@gmail.com>
License: MIT
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Operating System :: OS Independent
Requires-Dist: requests>=2.32.5
Requires-Dist: uup-dump-api-py>=0.1.5
Requires-Dist: pytest>=8.0.0 ; extra == 'dev'
Requires-Dist: pytest-cov>=5.0.0 ; extra == 'dev'
Requires-Dist: rich>=13.0.0 ; extra == 'pretty'
Requires-Python: >=3.10
Project-URL: Homepage, https://github.com/Cairnstew/uup-builder-py
Project-URL: Repository, https://github.com/Cairnstew/uup-builder-py
Project-URL: Issues, https://github.com/Cairnstew/uup-builder-py/issues
Provides-Extra: dev
Provides-Extra: pretty
Description-Content-Type: text/markdown

# uup-builder

A Python package for creating and customizing Windows ISO files using the [Unified Update Platform (UUP)](https://learn.microsoft.com/en-us/windows/deployment/update/windows-update-overview).

## Overview

`uup-builder` provides a programmatic interface to download Windows update packages from Microsoft's Unified Update Platform and convert them into bootable ISO files. It allows you to select specific Windows editions, languages, and components, giving you full control over the resulting image.

## Features

- Download Windows packages directly from Microsoft's UUP servers
- Build customized Windows ISO files
- Select target Windows edition and language
- Scriptable and automatable via Python API
- CI/CD ready with GitHub Actions support

## Requirements

- Python 3.10+
- [`uv`](https://github.com/astral-sh/uv) (recommended for dependency management)

## Installation

### With pip

```bash
pip install uup-builder
```

### From source

```bash
git clone https://github.com/Cairnstew/uup-builder.git
cd uup-builder
pip install -e .
```

### With uv

```bash
uv sync
```

### With Nix

A `flake.nix` is provided for reproducible development environments:

```bash
nix develop
```

## Usage

> ⚠️ **Note:** Fill in usage examples based on the package's public API.

```python
from uup_builder import ...  # update with actual import

# Example: build a Windows 11 ISO
builder = ...
builder.build(edition="pro", lang="en-us", output="windows11.iso")
```

## Development

### Setup

```bash
git clone https://github.com/Cairnstew/uup-builder.git
cd uup-builder
uv sync
```

### Running tests

```bash
pytest
```

## Project Structure

```
uup-builder/
├── src/                  # Package source code
├── .github/workflows/    # CI/CD pipelines
├── pyproject.toml        # Project metadata and dependencies
├── pytest.ini            # Test configuration
├── flake.nix             # Nix development shell
└── uv.lock               # Locked dependencies
```

## License

This project is licensed under the [MIT License](LICENSE).

## Disclaimer

This project is not affiliated with or endorsed by Microsoft Corporation. Windows is a trademark of Microsoft Corporation. Use of UUP download functionality is subject to Microsoft's terms of service.