Nzshm-model

Latest version: v0.13.6

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 6

0.13.6

- get_by_extra method on BranchRegistry to cope with errant hazard jobs (ref T3BlbnF1YWtlSGF6YXJkVGFzazo2OTMxODkz)

0.13.5

Added
- str representation of HazardConfig objects

Changed
- OpenquakeConfig.is_complete() works for disaggregation configurations
- OpenquakeConfig.set_parameter() coerces value to str
- moved scripts and resources packages to be under nzshm_model package

0.13.4

Added
- from_dict method to HazardConfig and OpenquakeConfig classes
- factory method for obtaining HazardConfig type
- z1.0 and z2.5 calculation function ported from openquake

Changed
- hazard config for model versions stored as file

Removed
- OpenQuake dependency

0.13.3

Added
- read and write OpenquakeConfig objects as JSON files

0.13.2

Changed
- improved type hints

Changed
- moved version 1 source logic tree definitions out of package directory and into resources

0.13.1

Added
- cli command to convert SourceLogicTree v1 module files to v2 json files

Changed
- add branch_id when converting from SourceLogicTree v1 to v2

Page 1 of 6

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.