Skip to main content

Image 2

GitHub code size in bytes GitHub Actions Workflow Status Github Tag GitHub License

PyGRT: An integrated, efficient C/Python toolkit for theoretical simulation
in layered half-space media

Chinese Document  |  English Document (no longer maintained)

Image 1

Features

  • Dynamic and static responses (displacement, strain, stress, rotation, and related quantities)
  • Surface-wave modal analysis (dispersion curves, eigenfunctions, and related quantities)
  • Auxiliary modules (Green's functions, kernels, Lamb problem, Okada solution, and more)
  • CLI and Python API (modular grt command-line tool and Python interface)
  • Actively maintained — see the documentation for modules and tutorials

Quick Install

Pre-built binaries are available for Linux, macOS, and Windows:

pip install pygrt-kit

Then in Python:

import pygrt

PyGRT also provides the grt CLI. Run grt -h to list available modules, and grt <module> -h (e.g., grt greenfn -h) for module-specific usage.

To use the CLI only (without Python), download the pre-built *.tar.gz archive for your platform from GitHub Releases.

(For conda environments, source builds, and troubleshooting, see the installation guide (Chinese)).

Contact

If you have any questions or suggestions, feel free to reach out:

Citation

Since PyGRT has been under continuous maintenance and extension during the peer review, its functions have exceeded the scope described in this paper. For detailed usage of each function, please see the documentation.

Zhu, D., Wang, J., Hao, J., Yao, S., Xu, Y., Xu, T., and Yao, Z. (2025). PyGRT: An Efficient and Integrated Python Package for Computing Synthetic Seismograms in a Layered Half‐Space Model. Seismological Research Letters, 97(3), 2138–2153. doi: 10.1785/0220250057

Zhu, D., Xu, T., Hao, J., and Yao, Z. (2025). A Direct Convergence Method for Computing Synthetic Seismograms for a Layered Half‐Space with Sources and Receivers at Close Depths. Bulletin of the Seismological Society of America, 116(2), 576–588. doi: 10.1785/0120250190

Zhu, D., Xu, T., Hao, J., and Yao, Z. (2026). An Adaptive Strategy for Robust and Efficient Computation of Dispersion Curves in a Layered Half-Space, Bulletin of the Seismological Society of America. doi: doi.org/10.1785/0120260071


⭐ Like this project? Give it a Star! ⭐

Star History Chart

Metadata

Release files for pygrt-kit 0.17.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for pygrt-kit 0.17.0
File
pygrt_kit-0.17.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
pygrt_kit-0.17.0-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
pygrt_kit-0.17.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
pygrt_kit-0.17.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details

Total release size: 26.7 MB

Release files / pygrt_kit-0.17.0-py3-none-win_amd64.whl

Download URL pygrt_kit-0.17.0-py3-none-win_amd64.whl
Size 10.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
34b82b89491dfc49f6dc8d5cf73c7377a73e73b059ce4a9c028fa28acfe12365
BLAKE2b-256 checksum
How to use checksums
a80d53615790022cb27d4a4ce5b6bf11efb17a03598abbe2027011f10835f129
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Release files / pygrt_kit-0.17.0-py3-none-manylinux2014_x86_64.whl

Download URL pygrt_kit-0.17.0-py3-none-manylinux2014_x86_64.whl
Size 4.4 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
e16e14516666ebfb7a85dad6cf7a2e1699af4e100e3e84096b40802c322f899c
BLAKE2b-256 checksum
How to use checksums
4ac6355aeb00c53231344f1c6df3cf6eb1aa18ef430e6ef8b698397756d775fb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Release files / pygrt_kit-0.17.0-py3-none-macosx_11_0_arm64.whl

Download URL pygrt_kit-0.17.0-py3-none-macosx_11_0_arm64.whl
Size 4.0 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
86a124f18ca93a102c72abf69e17e68d1c86e099238b269bf1b6b14da32b8c76
BLAKE2b-256 checksum
How to use checksums
77970cfd895ff180a60f60cee7e83b511c75f39972225a12997a2322d1cefff5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Release files / pygrt_kit-0.17.0-py3-none-macosx_10_9_x86_64.whl

Download URL pygrt_kit-0.17.0-py3-none-macosx_10_9_x86_64.whl
Size 7.7 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
7e76f56f0a7ad858b67d131e5d0717a5709da89937d1387adefe3a9d1bd71754
BLAKE2b-256 checksum
How to use checksums
ee687da4f081f3dde90253a131c23ffe9ea8200960e125b90ccf285f2677a903
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 7, 2026.

Transparency log

Release history Release notifications | RSS feed

0.18.0

4 release files

0.17.2

4 release files

0.17.1

4 release files

This release

0.17.0 This release

4 release files

0.16.1

4 release files

0.15.0

4 release files

0.14.0

4 release files

0.12.0

4 release files

0.11.0

4 release files

0.9.2

4 release files

0.9.1

4 release files

0.9.0

4 release files

0.8.0

4 release files

0.7.0

4 release files

0.6.0

4 release files

0.5.1

4 release files

0.5.0

4 release 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