Skip to main content

PyRockfall

Tests

PyRockfall is an open-source Python package for stochastic rockfall simulation. It runs vectorised Monte Carlo rockfall simulations on user-defined or 3D-extracted 2D profiles, as well as directly on 3D models, for rockfall hazard assessment and mitigation design.

Rather than simulating Monte Carlo realisations sequentially, PyRockfall represents the ensemble using NumPy arrays and advances all samples simultaneously through vectorised operations. This enables efficient probabilistic analysis of rockfall trajectories and associated engineering design quantities.

Key Features

  • Vectorised Monte Carlo simulation
    Rockfall samples are propagated simultaneously using vectorised numerical operations rather than sample-by-sample Python loops.

  • 2D rockfall simulation
    Run deterministic or stochastic simulations on user-defined slope profiles.

  • 2D simulation from 3D geometry
    Extract representative 2D sections from 3D rock-face models and use them for rockfall simulation.

  • 3D rockfall simulation
    Simulate rockfall trajectories directly on three-dimensional slope geometries.

  • Spatially varying materials
    Represent slopes containing multiple geological or surface materials with different rock-slope interaction properties.

  • Probabilistic material properties
    Sample uncertain interaction parameters for Monte Carlo analysis.

  • Engineering-oriented outputs
    Evaluate quantities relevant to rockfall hazard assessment and mitigation design, including kinetic energy, impact locations, and run-out distances.

  • Result visualisation
    Analyse simulation outputs and map calculated quantities onto the original slope geometry.

  • Open-source Python implementation
    Designed to support reproducible research, extension of the numerical framework, and integration into other rockfall-analysis workflows.

Installation

Install PyRockfall from PyPI:

pip install pyrockfall

Metadata

Release files for pyrockfall 0.1.0

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

Source distribution (sdist)

Source distribution for pyrockfall 0.1.0
File Size Uploaded Provenance Actions
pyrockfall-0.1.0.tar.gz 184.9 kB With provenance Details for pyrockfall-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pyrockfall 0.1.0
File Interpreter ABI Platform Actions
pyrockfall-0.1.0-py3-none-any.whl Python 3 none any Details for pyrockfall-0.1.0-py3-none-any.whl

Total release size: 341.5 kB

Release files / pyrockfall-0.1.0.tar.gz

Download URL pyrockfall-0.1.0.tar.gz
Size 184.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0ec0e745157fb6816fcb6c2500e20befd01d19a97df11d3f6f1c07a4aea92554
BLAKE2b-256 checksum
How to use checksums
dc64ba00501c33c7244c5a9ac686e2b89e50f62dc03e0e6b3c5460277ba32955
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 Aug 28, 2026.

Transparency log

Release files / pyrockfall-0.1.0-py3-none-any.whl

Download URL pyrockfall-0.1.0-py3-none-any.whl
Size 156.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
dc7ce65150ab07c2bee8a5cb1fee08459cd9ca8beb4725ef6ef5abe85f860dda
BLAKE2b-256 checksum
How to use checksums
5a3698226ae494109cabc46c5a64e20612f9b1b04fc1d309c37b3e23b4ef5ac9
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 Aug 28, 2026.

Transparency log

Security for pyrockfall 0.1.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for pyrockfall-0.1.0.tar.gz

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 Aug 28, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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