---
name: json2ciw
description: >
  A python package to convert JSON file to working Ciw DES models. Use when writing Python code that uses the json2ciw package.
license: MIT
compatibility: Requires Python >=3.11.
---

# json2ciw

A python package to convert JSON file to working Ciw DES models

## Installation

```bash
pip install json2ciw
```

## API overview

### Classes

Core classes

- `CiwConverter`

### Functions

Public functions

- `multiple_replications`: Run multiple replications of a Ciw simulation and collect performance metrics
- `summarise_results`: Aggregate replication results and transpose so metrics are rows
- `tidy_to_wide_format`: Return replication results in wide format:
- `create_user_filtered_hist`: Create a Plotly histogram with a dropdown that lets the user
- `render_simulation_app`: Main function to render the simulation UI and execute the model

## Resources

- [llms.txt](llms.txt) — Indexed API reference for LLMs
- [llms-full.txt](llms-full.txt) — Comprehensive documentation for LLMs
