Skip to main content

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

nshmdb-2026.8.1.tar.gz (196.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nshmdb-2026.8.1-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

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

Hashes for nshmdb-2026.8.1.tar.gz
Algorithm Hash digest
SHA256 9911142e285be7599d4ed560d76896f9bbabe4ffaa00ec3d024114174dc06f4b
MD5 c0fcf4f91dd2f10afb196787f8be0fe2
BLAKE2b-256 1e22654cc3a073e423ad21aa21b3d63e1afe1d7a9da9eea4dcf8eaefabccd369

See more details on using hashes here.

Provenance

The following attestation bundles were made for nshmdb-2026.8.1.tar.gz:

Publisher: publish-PyPI.yml on ucgmsim/NSHM2022DB

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for nshmdb-2026.8.1-py3-none-any.whl
Algorithm Hash digest
SHA256 576031e0a06bb2ae160e5e7649cf37366f59e1406c61ad424955b97217a85dd2
MD5 7701c69d210c6dcd9ebe431667f37c53
BLAKE2b-256 47749e89a289325c532c290d7444f78192aa719b0266c147b9d8692101da53b9

See more details on using hashes here.

Provenance

The following attestation bundles were made for nshmdb-2026.8.1-py3-none-any.whl:

Publisher: publish-PyPI.yml on ucgmsim/NSHM2022DB

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2026.9.1

2 files

2026.8.3

2 files

2026.8.2

2 files

This release

2026.8.1 This release

2 files

2025.12.1

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page