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 full-wave solutions (Green's functions, synthetic displacements, strain, stress, rotation, and dynamic Coulomb stress)
  • Surface-wave modal solutions (dispersion curves, eigenfunctions, and surface-wave synthesis)
  • Static solutions (static Green's functions, synthetic displacements, and Coulomb stress)
  • Multiple source types (explosion, single-force, double-couple, tensile, moment-tensor, and finite-fault sources)
  • Auxiliary modules (kernels, Lamb problem, Okada solution, and format conversions)
  • 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.18.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.18.0
File
pygrt_kit-0.18.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
pygrt_kit-0.18.0-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
pygrt_kit-0.18.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
pygrt_kit-0.18.0-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details

Total release size: 27.2 MB

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

Download URL pygrt_kit-0.18.0-py3-none-win_amd64.whl
Size 10.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
14bdaaaff5ce79abbed62469911de97b03eb30a882ff03500d3ce3aee7a86b66
BLAKE2b-256 checksum
How to use checksums
7f2a4d5e23b86bb089b32e31eabb91121086b428ab0d2edf2c56d0296064c1c7
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 Oct 14, 2026.

Transparency log

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

Download URL pygrt_kit-0.18.0-py3-none-manylinux2014_x86_64.whl
Size 4.6 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
35eb59b1fe8946c8221c95e6376f5e45ed62bcc5378367f8f936ebd5c8fc7623
BLAKE2b-256 checksum
How to use checksums
9a1861d2c5070d49a4dedab5527e4df68fce852f35c4c4f3aa52557add3c402a
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 Oct 14, 2026.

Transparency log

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

Download URL pygrt_kit-0.18.0-py3-none-macosx_11_0_arm64.whl
Size 4.2 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
c58b8ddbb6a797c64c115fdacc6f164baca29f3cd2549cc025b9905ad1f0b0f5
BLAKE2b-256 checksum
How to use checksums
00188eb84eddeeff732d1c804aa4537e48435f660877404dbe8d65b2902e2bd4
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 Oct 14, 2026.

Transparency log

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

Download URL pygrt_kit-0.18.0-py3-none-macosx_10_9_x86_64.whl
Size 7.9 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
c742a4e70ec26507ef2550a6534570a642593309668b033b743949ee915977d3
BLAKE2b-256 checksum
How to use checksums
bfe3fa3114021692df80dc291fb92d86458dffcf368dbb1bd163d53a3e732123
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 Oct 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.18.0 This release

4 release files

0.17.2

4 release files

0.17.1

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