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.1

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.1
File
pygrt_kit-0.17.1-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
pygrt_kit-0.17.1-py3-none-manylinux2014_x86_64.whl Python 3 none Linux glibc 2.17+ x86-64 Details
pygrt_kit-0.17.1-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details
pygrt_kit-0.17.1-py3-none-macosx_10_9_x86_64.whl Python 3 none macOS 10.9+ x86-64 Details

Total release size: 26.3 MB

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

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

Transparency log

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

Download URL pygrt_kit-0.17.1-py3-none-manylinux2014_x86_64.whl
Size 4.3 MB
Tags Linux glibc 2.17+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b088935543c6d5f6b99f491d20a2252bbf02a968b03dc224be9ca856d5ea70b2
BLAKE2b-256 checksum
How to use checksums
69e209f92b5744259cd93f65c6717a4bfe32fbd69fcdffe92985f838f0cb8979
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 14, 2026.

Transparency log

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

Download URL pygrt_kit-0.17.1-py3-none-macosx_11_0_arm64.whl
Size 3.9 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4ef66e39b00f444ef0295f603c426e5b4a872620f2418bb5072c9beb2d2c359d
BLAKE2b-256 checksum
How to use checksums
42dc0041672bcde2e833247d20d4300300dd71b3f05ef89f4fac07f4ff7f26ca
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 14, 2026.

Transparency log

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

Download URL pygrt_kit-0.17.1-py3-none-macosx_10_9_x86_64.whl
Size 7.6 MB
Tags Python 3 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
159f66226ae8a12bbcbbcc81738adb88b3b377a8db40ae0467f45d1417089862
BLAKE2b-256 checksum
How to use checksums
880322b8cb98dbea4d791c5edcd353bf1745f484c9cfb52a8c5ec380bc7d683b
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 14, 2026.

Transparency log

Release history Release notifications | RSS feed

0.18.0

4 release files

0.17.2

4 release files

This release

0.17.1 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