NSHM Database Generation
This repository contains a script and schema to generate a database storing fault geometry and rupture information parsing GeoJSON information from the GNS National Seismic Hazard Model.
Obtain the database
You likely don't need to obtain your own database, as they are published on Dropbox at /QuakeCoRE/Public/NSHM with every version release. Simply download that file and use it with the package:
from nshmdb.nshmdb import NSHMDB
db = NSHMDB('nshmdb_v2026.06.1.db') # or whatever the latest version is.
Generate your own database
After installing this package you simply run
nshmdb 1.0.4 nshmdb.db --api-key API_KEY_HERE
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nshmdb-2026.8.1.tar.gz.
File metadata
- Download URL: nshmdb-2026.8.1.tar.gz
- Upload date:
- Size: 196.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9911142e285be7599d4ed560d76896f9bbabe4ffaa00ec3d024114174dc06f4b
|
|
| MD5 |
c0fcf4f91dd2f10afb196787f8be0fe2
|
|
| BLAKE2b-256 |
1e22654cc3a073e423ad21aa21b3d63e1afe1d7a9da9eea4dcf8eaefabccd369
|
Provenance
The following attestation bundles were made for nshmdb-2026.8.1.tar.gz:
Publisher:
publish-PyPI.yml on ucgmsim/NSHM2022DB
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nshmdb-2026.8.1.tar.gz -
Subject digest:
9911142e285be7599d4ed560d76896f9bbabe4ffaa00ec3d024114174dc06f4b - Sigstore transparency entry: 2329773786
- Sigstore integration time:
-
Permalink:
ucgmsim/NSHM2022DB@1b0225942d0070ace7ffaaed80254b01cc39d4a0 -
Branch / Tag:
refs/tags/v2026.08.1 - Owner: https://github.com/ucgmsim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-PyPI.yml@1b0225942d0070ace7ffaaed80254b01cc39d4a0 -
Trigger Event:
release
-
Statement type:
File details
Details for the file nshmdb-2026.8.1-py3-none-any.whl.
File metadata
- Download URL: nshmdb-2026.8.1-py3-none-any.whl
- Upload date:
- Size: 18.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
576031e0a06bb2ae160e5e7649cf37366f59e1406c61ad424955b97217a85dd2
|
|
| MD5 |
7701c69d210c6dcd9ebe431667f37c53
|
|
| BLAKE2b-256 |
47749e89a289325c532c290d7444f78192aa719b0266c147b9d8692101da53b9
|
Provenance
The following attestation bundles were made for nshmdb-2026.8.1-py3-none-any.whl:
Publisher:
publish-PyPI.yml on ucgmsim/NSHM2022DB
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nshmdb-2026.8.1-py3-none-any.whl -
Subject digest:
576031e0a06bb2ae160e5e7649cf37366f59e1406c61ad424955b97217a85dd2 - Sigstore transparency entry: 2329773923
- Sigstore integration time:
-
Permalink:
ucgmsim/NSHM2022DB@1b0225942d0070ace7ffaaed80254b01cc39d4a0 -
Branch / Tag:
refs/tags/v2026.08.1 - Owner: https://github.com/ucgmsim
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-PyPI.yml@1b0225942d0070ace7ffaaed80254b01cc39d4a0 -
Trigger Event:
release
-
Statement type: