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

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.3
File Size Uploaded Provenance Actions
pyrockfall-0.1.3.tar.gz 189.3 kB With provenance Details for pyrockfall-0.1.3.tar.gz

Built distribution (wheel)

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

Total release size: 348.2 kB

Release files / pyrockfall-0.1.3.tar.gz

Download URL pyrockfall-0.1.3.tar.gz
Size 189.3 kB
Tags Source
SHA-256 checksum
How to use checksums
a1f8957d0cc81adcc31b6361b70419dde3e7e1f1c9d680d9013c57560eed44eb
BLAKE2b-256 checksum
How to use checksums
9518b1ba3e377bc9860eef7d09f938f8fff38f484fa8a6c2e5cb9c11515ecf0a
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.3-py3-none-any.whl

Download URL pyrockfall-0.1.3-py3-none-any.whl
Size 158.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5c7d225c29a10e2ef147f9e85612fcb70effe27ca0ef3a0dbd155038c80f05ab
BLAKE2b-256 checksum
How to use checksums
e41cc0b914f6f0404b8a42dea34e5334f2e406719b8d1237e713f6673d6b6138
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.3

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