Metadata-Version: 2.3
Name: toshi-hazard-post
Version: 0.7.1
Summary: Hazard post-processing pipeline as serverless AWS infrastructure.
License: AGPL-3.0
Author: Chris DiCaprio
Author-email: christopher.dicaprio@gmail.com
Requires-Python: >=3.10,<3.13
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Requires-Dist: click (>=8.1.8)
Requires-Dist: numba (<0.61.0)
Requires-Dist: numpy (<2)
Requires-Dist: nzshm-common (>=0.8.4)
Requires-Dist: nzshm-model (>=0.13.5)
Requires-Dist: pandas (>=2.0.3)
Requires-Dist: pyarrow[pandas] (>=15.0)
Requires-Dist: pydantic (>=2.10.6)
Requires-Dist: python-dotenv (>=1.0.1)
Requires-Dist: tomlkit (>=0.13.2)
Requires-Dist: toshi-hazard-store (>=1.1.0)
Requires-Dist: tzdata (>=2025.2,<2026.0)
Description-Content-Type: text/markdown

# toshi-hazard-post


[![pypi](https://img.shields.io/pypi/v/toshi-hazard-post.svg)](https://pypi.org/project/toshi-hazard-post/)
[![python](https://img.shields.io/pypi/pyversions/toshi-hazard-post.svg)](https://pypi.org/project/toshi-hazard-post/)
[![Build Status](https://github.com/gns-science/toshi-hazard-post/actions/workflows/dev.yml/badge.svg)](https://github.com/gns-science/toshi-hazard-post/actions/workflows/dev.yml)
[![codecov](https://codecov.io/gh/gns-science/toshi-hazard-post/branch/main/graphs/badge.svg)](https://codecov.io/github/gns-science/toshi-hazard-post)


Seismic hazard from pre-calculated relizations. This application impliments the hazard calculation method described in [Calculation of National Seismic Hazard Models with Large Logic Trees: Application to the NZ NSHM 2022](https://doi.org/10.1785/0220230226).


* Documentation: <https://gns-science.github.io/toshi-hazard-post>
* GitHub: <https://github.com/gns-science/toshi-hazard-post>
* PyPI: <https://pypi.org/project/toshi-hazard-post/>
* Free software: AGPL-3.0

## Requirements

toshi-hazard-post requires python 3.10 - 3.11. It relies on other GNS-Science NSHM libraries:

- nzshm-model: <https://github.com/GNS-Science/nzshm-model>
- nzshm-common: <https://github.com/GNS-Science/nzshm-common-py>
- toshi-hazard-store: <https://github.com/GNS-Science/toshi-hazard-store>

In addition, it requires a small number of scientific computation packages such as numba, numpy, and pandas. See [installation notes](docs/installation.md) for more details on how to install the application.


## Usage

Getting started
```
thp --help
```

See [usage documentation page](docs/usage.md) for more info.

