Metadata-Version: 2.4
Name: paretorium
Version: 0.1.0
Summary: Author and run modular systems engineering trade studies
License-Expression: MIT
License-File: LICENSE
Requires-Dist: openpyxl>=3.1,<4 ; extra == 'excel'
Requires-Dist: paretorium[visualization] ; extra == 'notebook'
Requires-Dist: ipython>=8,<10 ; extra == 'notebook'
Requires-Dist: scipy>=1.16.3,<2 ; extra == 'propulsion'
Requires-Dist: altair>=5,<7 ; extra == 'visualization'
Requires-Dist: contourpy>=1.3,<2 ; extra == 'visualization'
Requires-Dist: numpy>=2,<3 ; extra == 'visualization'
Requires-Dist: pypdf>=6,<7 ; extra == 'visualization'
Requires-Dist: reportlab>=4.4,<5 ; extra == 'visualization'
Requires-Dist: scipy>=1.16.3,<2 ; extra == 'visualization'
Requires-Dist: vl-convert-python>=1.8,<2 ; extra == 'visualization'
Requires-Python: >=3.13
Project-URL: Documentation, https://paretorium.stoppani.name/
Project-URL: Source, https://github.com/GaretJax/paretorium
Provides-Extra: excel
Provides-Extra: notebook
Provides-Extra: propulsion
Provides-Extra: visualization
Description-Content-Type: text/markdown

# Paretorium

A Python framework for defining and evaluating your own architecture trade studies. You supply the choices, parameters, model equations, scenarios, and decision criteria; the framework assembles compatible concepts, resolves model dependencies, propagates uncertainty, and compares the results.

## Documentation

Browse the [Paretorium documentation](https://paretorium.stoppani.name/),
or start with the [workshop tutorial](docs/example.md) or the
[Colab tutorial](docs/colab.md) in this repository. See
[local build and deployment instructions](docs-deployment.md) to preview
the site.

## Add a study

Copy [the workshop backup example](studies/example_backup.py) to `studies/my_study.py` and replace its input definitions and equations. Your module can live anywhere Python can import it. It only needs to expose a `Study` object; there is no registry to edit.

```bash
uv sync --locked
uv run --locked python -m paretorium studies.example_backup --check
uv run --locked python -m paretorium studies.example_backup \
  --samples 100 --seed 42 --summary-only --out runs/example-backup.json
```

Replace `studies.example_backup` with `studies.my_study` to run your own. The same API works from Python: import your `study` and call `study.run(samples=100, seed=42)`.

See the [study authoring guide](docs/authoring.md) for the interfaces, units, assumptions, and output semantics. The core is independent of PEARL, Google, and the course workbooks, and has no third-party runtime dependencies on Python 3.13+.

## Export tabular results

Use `--format csv --out runs/backup-csv` for a CSV bundle. JSON remains
the default. The optional `excel` extra writes Excel workbooks from
architectural-importance results. See the
[export guide](docs/evaluation.md#export-a-run-as-csv).

## Visualize a study

The optional visualization package includes composable Altair layers,
tradespaces and tables, a parameter atlas, and interactive HTML and PDF
report publishers. Generate the workshop or synthetic satellite review:

```bash
uv run --locked --extra visualization python -m studies.visualize_backup
uv run --locked --extra visualization python -m studies.visualize_satellite
```

Reports go under `runs/workshop-visualization/` and `runs/satellite-review/`.
Start with [Create your first tradespace](docs/visualization-tutorial.md),
or see [How visualization is organized](docs/visualization-concepts.md)
to choose a view.

## Work in a notebook

Install with `uv sync --locked --extra notebook` and use
`paretorium.visualization.display_notebook` to show charts, sortable tables,
atlases, or whole reports in an output cell. Follow the
[Colab speed–power tutorial](docs/colab.md) to build a small study step by step.

## License and releases

Paretorium is distributed under the [MIT License](LICENSE). See the
[release guide](publishing.md) for the PyPI Trusted Publishing setup.

## Tests

```bash
uv run --locked python -m unittest discover -s tests -p test_framework.py -v
uv run --locked --all-extras python -m unittest discover -s tests -v
```
