Skip to main content

PyRockfall logo

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

See the documentation for full installation instructions, worked examples, and the manual.

Metadata

Release files for pyrockfall 0.1.4

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.4
File Size Uploaded Provenance Actions
pyrockfall-0.1.4.tar.gz 189.6 kB With provenance Details for pyrockfall-0.1.4.tar.gz

Built distribution (wheel)

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

Total release size: 348.8 kB

Release files / pyrockfall-0.1.4.tar.gz

Download URL pyrockfall-0.1.4.tar.gz
Size 189.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6f02c1508f5932344e8d20e6870d9f3d600540a37fa5161cb69719d28a08ac6a
BLAKE2b-256 checksum
How to use checksums
eb8b0aaf621794bce239a4524f34e514ad654094ebe555d9530bcd3785c8c9a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 9, 2026.

Transparency log

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

Download URL pyrockfall-0.1.4-py3-none-any.whl
Size 159.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6fb3f55a56de0169bcec1d1f7c139cb791b21ea4d2fd922e95d6ed0de6011727
BLAKE2b-256 checksum
How to use checksums
3feabbeb98e5d433b0ca11679bdcbaa5bba5c654461f8fca86001949a123c9f7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 9, 2026.

Transparency log

Security for pyrockfall 0.1.4

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.4.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 Nov 9, 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