Metadata-Version: 2.4
Name: rhylthyme-web
Version: 0.1.0
Summary: Web visualization for Rhylthyme program schedules
License: Apache-2.0
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: flask>=2.0.0
Requires-Dist: pyyaml>=6.0
Requires-Dist: anthropic>=0.18.0
Requires-Dist: requests>=2.28.0
Provides-Extra: importers
Requires-Dist: rhylthyme-importers; extra == "importers"
Provides-Extra: mcp
Requires-Dist: mcp>=1.0.0; extra == "mcp"
Provides-Extra: chat
Requires-Dist: anthropic>=0.18.0; extra == "chat"
Provides-Extra: all
Requires-Dist: mcp>=1.0.0; extra == "all"
Requires-Dist: anthropic>=0.18.0; extra == "all"
Requires-Dist: rhylthyme-importers; extra == "all"
Dynamic: license-file

# Rhylthyme Web Visualizer

Generate interactive HTML DAG visualizations from Rhylthyme program files.

## Installation

```bash
# From the rhylthyme-split directory
pip install -e .              # Install main rhylthyme package
pip install -e rhylthyme-web  # Install web visualizer
```

## Usage

### Web App (with upload support)

Start the web server:

```bash
rhylthyme-web
```

Then open http://localhost:5000 in your browser. You can:
- **Upload** a local .json or .yaml file
- **Paste a URL** to load from https
- **Try examples** with one click

Options:
```
rhylthyme-web --help

  -p, --port PORT   Port to run on (default: 5000)
  --host HOST       Host to bind to (default: 127.0.0.1)
  --debug           Enable debug mode
```

### Command Line - Single File

```bash
# Opens in browser
rhylthyme-visualize program.json

# Save to specific file
rhylthyme-visualize program.json -o output.html --no-browser
```

### Command Line - Batch Generation

```bash
cd rhylthyme-web

# Generate DAGs for all examples
python generate_dags.py

# Generate DAGs for specific files
python generate_dags.py ../rhylthyme-examples/programs/breakfast_schedule.json

# Generate DAGs for a directory
python generate_dags.py ../rhylthyme-examples/programs/ -o my_output/
```

## Output

Each visualization is a self-contained HTML file with:
- Interactive DAG showing task dependencies
- Timeline view with resource usage
- Step details and durations
- Resource constraint indicators
