PyGRT: An integrated, efficient C/Python toolkit for theoretical simulation
in layered half-space media
Chinese Document | English Document (no longer maintained)
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
grtcommand-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:
- Email: zhudengda@mail.iggcas.ac.cn
- GitHub Issues: You can also raise an issue directly on GitHub.
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! ⭐
Metadata
Release files for pygrt-kit 0.17.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| pygrt_kit-0.17.2-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| pygrt_kit-0.17.2-py3-none-manylinux2014_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| pygrt_kit-0.17.2-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| pygrt_kit-0.17.2-py3-none-macosx_10_9_x86_64.whl | Python 3 | none | macOS 10.9+ x86-64 | Details |
Total release size: 26.6 MB
Release files / pygrt_kit-0.17.2-py3-none-win_amd64.whl
| Download URL | pygrt_kit-0.17.2-py3-none-win_amd64.whl |
|---|---|
| Size | 10.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
ad7f620e026d0697956e8d8b5b0016fd8cb4349fed45afa65cf5d476399b033d
|
|
BLAKE2b-256 checksum How to use checksums |
720cb8a55e11c9d6c9e2ddac00cb316c32b5f965b5eddd591dd8f8e1da27bf49
|
| 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 17, 2026.
Transparency logRelease files / pygrt_kit-0.17.2-py3-none-manylinux2014_x86_64.whl
| Download URL | pygrt_kit-0.17.2-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 |
689aca79292401fd791dc3d1db5037d78098999eb0b3e03482b75b934c1cb80a
|
|
BLAKE2b-256 checksum How to use checksums |
c004090507ee9c2fb0053825215fc03864f21d140c80aa550c5b42bc06aff67c
|
| 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 17, 2026.
Transparency logRelease files / pygrt_kit-0.17.2-py3-none-macosx_11_0_arm64.whl
| Download URL | pygrt_kit-0.17.2-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 |
fba7c15f0152272a57ba212f6f7c927fa368278d68fdf03d8bf74bc517a5ebb1
|
|
BLAKE2b-256 checksum How to use checksums |
6347e7f6c5880ebabe6591907369ea6413d8e3ed756e6b79c354d4354d31665b
|
| 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 17, 2026.
Transparency logRelease files / pygrt_kit-0.17.2-py3-none-macosx_10_9_x86_64.whl
| Download URL | pygrt_kit-0.17.2-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 |
7f221f633b813466f9b1cfc5bbbe6086f1e94b7c477d30eb2b146b023f0bb4ae
|
|
BLAKE2b-256 checksum How to use checksums |
075e1c6098f9a3858014b3f269dafc177bb2d3f5b0f3d45239bab7e699079b13
|
| 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 17, 2026.
Transparency log