Metadata-Version: 2.4
Name: pyroscape
Version: 0.0.1
Summary: Dynamic wildfire simulation suite and model adaptation layer
Home-page: https://github.com/arkygeek/pyroscape
Author: Jason Jorgenson
Author-email: jjorgenson@gmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: fastapi>=0.111.0
Requires-Dist: uvicorn>=0.30.1
Requires-Dist: pydantic>=2.7.4
Requires-Dist: pydantic-settings>=2.3.3
Requires-Dist: sqlalchemy>=2.0.31
Requires-Dist: argon2-cffi>=23.1.0
Requires-Dist: pymysql>=1.1.1
Requires-Dist: itsdangerous>=2.2.0
Requires-Dist: python-multipart>=0.0.9
Requires-Dist: numpy<2.0,>=1.24
Requires-Dist: pandas>=2.0
Requires-Dist: rasterio>=1.3
Requires-Dist: scipy>=1.10
Requires-Dist: pystac-client<0.9,>=0.8
Requires-Dist: pyproj>=3.0.0
Requires-Dist: shapely>=2.0.0
Requires-Dist: pillow>=10.0.0
Requires-Dist: networkx>=3.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: provides-extra
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

# pyroscape

`pyroscape` is a high-performance Python engine for wildfire logistics, dynamic parameter crosswalk translation (MAD layer), and operational planning simulation.

## Architecture

- **Model Adapter (MAD) Layer**: Performs geospatial raster/tabular data conversions (NetCDF weather files, elevation DEM rasters, vector perimeters, landcover classifications) to Scott & Burgan 40 or Canadian FBP fuel formats with fast, version-controlled raster caching.
- **Heterogeneous Resource Routing**: Dynamic SSSP shortest-path routing (crew hiking/dozer transit friction surfaces) based on elevation gradients, landcover vegetation scaling, PM2.5 dosage limits, and helitack/airspace coordination logic.
- **Decision-Support Tiers**: Robust verification matrices for containment feasibility, LCES escape-route safety checks, and marginal threat-flux containment sweeps.

## Installation

```bash
pip install -r requirements.txt
```

## Running the App

```bash
uvicorn backend.main:app --reload
```

## Running Tests

```bash
PYTHONPATH=. pytest tests/
```
