Metadata-Version: 2.4
Name: lol-replay-recorder
Version: 0.1.0
Summary: A Python library to record League of Legends replays
Project-URL: Homepage, https://github.com/wooto/lol-replay-recorder-py
Project-URL: Issues, https://github.com/wooto/lol-replay-recorder-py/issues
Project-URL: Source, https://github.com/wooto/lol-replay-recorder-py
Author: wooto
License: MIT
Keywords: league of legends,lol,recording,replay,riot games
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS
Classifier: Operating System :: Microsoft :: Windows
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Python: >=3.10
Requires-Dist: httpx>=0.27.0
Requires-Dist: pyautogui>=0.9.54
Requires-Dist: pygetwindow>=0.0.9
Requires-Dist: pywin32>=306; platform_system == 'Windows'
Requires-Dist: pyyaml>=6.0
Description-Content-Type: text/markdown

# LoL Replay Recorder

A Python library for recording League of Legends replays programmatically.

[![PyPI version](https://badge.fury.io/py/lol-replay-recorder.svg)](https://badge.fury.io/py/lol-replay-recorder)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Features

- **League Client API Integration**: Authenticate with the League Client (LCU API)
- **Replay Control**: Programmatic control of replay playback and recording
- **Window Automation**: Automated camera control and UI interaction during replays

## Requirements

- Python >= 3.10
- League of Legends client installed
- Supported OS: Windows, macOS, Linux

## Installation

```bash
pip install lol-replay-recorder
```

## Quick Start

```python
import asyncio
from lol_replay_recorder import LeagueReplayClient

async def record_replay():
    # Initialize replay client
    client = LeagueReplayClient()
    await client.init()
    await client.load()

    # Control replay playback
    await client.play()
    await asyncio.sleep(5)
    await client.pause()

    # Clean up
    await client.exit()

# Run the async function
asyncio.run(record_replay())
```

## Development

This project uses [uv](https://github.com/astral-sh/uv) for dependency management.

```bash
# Install dependencies
uv sync

# Run tests
uv run pytest

# Run only unit tests
uv run pytest -m unit

# Run type checking
uv run mypy src/

# Run linting
uv run ruff check src/
```

## License

MIT
