Metadata-Version: 2.4
Name: kryten-bingo
Version: 0.1.1
Summary: Kryten bingo game service - manages bingo games and card tracking
License: MIT
License-File: LICENSE
Keywords: cytube,moderation,chat,nats,microservices
Author: Kryten Robot Team
Requires-Python: >=3.10,<4.0
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Dist: kryten-py (>=0.6.0,<0.7.0)
Project-URL: Documentation, https://github.com/grobertson/kryten-bingo/blob/main/README.md
Project-URL: Homepage, https://github.com/grobertson/kryten-bingo
Project-URL: Repository, https://github.com/grobertson/kryten-bingo
Description-Content-Type: text/markdown

"# Kryten Bingo

Kryten bingo game service - manages bingo games and card tracking for CyTube.

## Features

- Real-time chat message monitoring
- User tracking and management
- Event-driven architecture using NATS
- Extensible moderation rules

## Installation

### Prerequisites

- Python 3.10 or higher
- Poetry
- NATS server running
- kryten-py library

### Setup

1. Install dependencies:
```bash
poetry install
```

2. Copy the example configuration:
```bash
cp config.example.json config.json
```

3. Edit `config.json` with your settings:
```json
{
  "nats_url": "nats://localhost:4222",
  "nats_subject_prefix": "cytube",
  "service_name": "kryten-bingo"
}
```

## Usage

### Running the Service

Using Poetry:
```bash
poetry run kryten-bingo --config config.json
```

Using the startup script (PowerShell):
```powershell
.\start-bingo.ps1
```

Using the startup script (Bash):
```bash
./start-bingo.sh
```

### Command Line Options

- `--config PATH`: Path to configuration file (default: `/etc/kryten/bingo/config.json`)
- `--log-level LEVEL`: Set logging level (DEBUG, INFO, WARNING, ERROR)

## Event Handling

The service currently listens for:

- **chatMsg**: Chat messages for bingo commands

## Development

### Running Tests

```bash
poetry run pytest
```

### Linting

```bash
poetry run ruff check .
```

### Formatting

```bash
poetry run black .
```

## License

MIT License - see LICENSE file for details
" 

